Indeed, Merry Christmas to all!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Well, we're all human.
On Sat, 4 Jan 2003, Michael J. Pawlowsky wrote:
>
> When doing a function seach at www.php.net I just got:
>
> Parse error: parse error in /local/Web/sites/phpweb/search.php on line 233
>
> Twice in a row... Maybe they will be posting us a question soon!! :-)
>
>
>
I am bringing up a site in March, but I am working on it now. I need some
PHP (not a lot). Please email me at [EMAIL PROTECTED] and let me know
if you are interested in helping. I'll make it worth your while. Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
tents within PHP, so I am assuming that this is an issue
with IMAP.
The script is running on XP, and is being run on the command line.
Thanks
Andy Clarke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
around it
}
// continue with rest of page
Rather than using the following, which causes the page to quit in mid flow:
mssql_connect($sDBhostname,$sDBusername,$sDBpassword) or die("DATABASE
FAILED TO RESPOND.");
Thanks
Andy Clarke
--
PHP General Mailing List (http://www.ph
This is mostly sorted out now. The mssql commands just needed @ signs to
suppress error and warning messages.
Thanks anyway,
Andy Clarke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, I get nothing. The line where I use echo/return is indicated below.
Thanks,
Andy
function breadcrumbs($category_id=0,$mode='linked'){
global $id_array,$name_array;
static $counter = 0;
if ($category_id == 0) {
//once we're down to the root, build a return
-
> From: Brian T. Allen [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 22, 2003 4:47 PM
> To: 'Andy Crain'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Returning a value from a recursive function
>
> I think it will work if you return true, and just modify the gl
www.htmlgoodies.com - The best site for HTML
On Mon, 27 Jan 2003, Philip Olson wrote:
> On Sun, 26 Jan 2003, Beogradjanin wrote:
>
> > Zdravo php-general,
> >
> > Hi I have setup PHP Apache MySql.
> > I;m new in this stuff where can I learn hot to make web pages in
> > PHP...???
>
> Go
d store it in
a database for later searching. Most URLs work fine, but really long
ones with long query strings for some reason cause file() to throw up an
error. This URL used in the code below, for example, causes the error
below, but most any other URL works just fine. Any ideas?
Thanks,
Andy
//T
s, and the one below is as far as I've gotten. If
anyone has any suggestions, they'd be very much appreciated.
Thanks,
Andy
$suspect_tags = "b|i|u|strong|em|font|a|ol|ul|blockquote ";
$pattern = '/<(' . $suspect_tags . '[^>]*>)(.*)(?!<\/\1)/Ui&
John,
Thanks. I'm considering that, but the application I'm working on is for
a small intranet that will be for only a small group of supervised
users, so vulnerability isn't such a large concern.
Andy
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTEC
n
checking its first match, at .
Andy
> -Original Message-
> From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]
> Sent: Saturday, February 22, 2003 5:48 AM
> To: Andy Crain
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] preg_match question: locating unmatched HTML tags
>
d
to check the output of that to make sure there aren't any extraneous
tags.
Andy
> -Original Message-
> From: John W. Holmes [mailto:[EMAIL PROTECTED]
> Sent: Saturday, February 22, 2003 5:04 PM
> To: 'Andy Crain'; [EMAIL PROTECTED]
> Subject: RE: [PHP] preg_matc
alues in the $find array are not names but strings
representing each unique combination of HTML tags in $string (such as
'', '', '', so that the here would be left over
unmatched). It seems to me that my only option is to write a function to
sort $find in reverse order by length, so that the longer strings are
replaced first. Or am I missing something obvious?
Thanks in advance,
Andy
}
function MyClass1($x){
}
function MyClass2($x,$y){
}
function MyClass3($x,$y,$z){
}
//etc.
}
Andy
> -Original Message-
> From: Greg Beaver [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 06, 2003 1:09
gs will be converted to html, and the original html
will be added back in, properly nested, etc. If you'd like to use it,
I'd be happy to email it. I'm sure it could use a few extra sets of
eyes.
Andy
> -Original Message-
> From: Nelson Rodríguez-Peña Alarcón [mailto:[EMAIL PROT
nk that I'm not the first one
to have this problem.
Btw: This problem did not occur in <= PHP-4.3.1
Thanks,
****
* Andy BIERLAIR - root eSolutions sàrl - Management *
* 133, route de Diekirch
P which is returning a set of 404 headers.. For some
reason, apache isn't testing for the existence of the file first. I've no
idea if this is a PHP or apache problem but hopefully there's a way to work
around it
Thanks for the very rapid response!
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You never set *_color back to 0 at any point, so the first time through
the loop it gets set to 1 and stays there.
Replace you lines like:
; if($a_percent > $num) { $a_color = 1; }
with:
$a_color = $a_percent > $num;
On Thu, 26 Jun 2003, John Wulff wrote:
; Where the heck is
I'm trying to create input
boxes on the fly by using php variables:PHP:so that will create:then i'm trying to set the
value to something else using:document.all['tree'].status[1].value='expand';but i'm getting a an
error on page dialog saying:'document.all.tree.status.0 is null or not
an obj
eived.
Cheers,
Andy Chapman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ially taking your quotes from
your ticker=>quote pairs and replacing the tickers with an index. Just
do print_r($TickersCurrent) and you'll get the desired result.
Hope that helps,
Andy
-Original Message-
From: Christopher J. Crane [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, Octob
following at the top.
This will draw you header the same on all pages that you include the above
with. If someone navigates to yourincudefile.php all they should see is an
empty page because all the code is inside functions.
Hope this helps
Andy.
- Original Message -
From: &qu
> I'd like PHP to check to see if the image/picture.jpg exists before
> returning the picture. Is this possible?
Yup - It's in the manual.
http://www.php.net/manual/en/function.file-exists.php
Cheers
Andy
- Original Message -
From: "Doug Coning" <[
t the DirectoryIndex to "index" and DefaultType to
"application/x-httpd-php" in the httpd.conf but I am at a loss after that!
If anyone can help I'd be much obliged.
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
un fsockopen on it. Should it do
this?
My question: Is there any limit to the number of times I can run fsockopen
in any one instance of PHP even though the connection is being closed?
Or is there something else I should know?
Thanks in advance
Andy
--
PHP General Mailing List (http://w
I want to use require to send some post information to a page.
Code:
if ($viewsystem = = 1)
$Str = "editexemptfiles.php?every = 1";
require($Str);
I've tried what it says in the online documentation, but it doesn't work,
Tried:
$Str = "d:\htdocs\somewhere\editexemptfiles.php?every
I'm afraid it don't ork.
Thanks Anyway.
Anyone ?
"Adam Voigt" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> No spaces.
>
> Instead of "every = 1"
> Use: "every=1"
>
> Adam Voigt
>
Thanks, that worked, and made it alot clearer.
Andy
"John Holmes" <[EMAIL PROTECTED]> wrote in message
000501c21d12$f4907580$b402a8c0@mango">news:000501c21d12$f4907580$b402a8c0@mango...
> > if ($viewsystem = = 1)
> > $Str = "editexemptfiles.php?e
y site and access it and send a
txt for free, :-)
Cheers Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
>> Maybe not the right place, but...
Probably not but what the heck.
IE has a cap of 2K.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q208427
Netscape exceeds 2k but I've never tested out how much.
Cheers
Andy Woolley.
Milonic Solutions Ltd
- Original Message
It's OK, I've found out that I have to include --with-gettext in the
configure line.
Cheers anyway
-- Andy.
- Original Message -----
From: "Andy Woolley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 05, 2002 2:43 PM
Subject: [PHP] _
Hi Ben,
I've been on this list for a few years now and this is the first time i've
seen anything this bad.
Sorry it's just bad timing.
There is no other list that comes anywhere near for quality and good folks.
Try and stick it out it'll be worth it.
Andy.
- Origina
This all seems like a perfect case for the singleton pattern. See
http://www.phppatterns.com/index.php/article/articleview/6/1/1/ and
http://www.phppatterns.com/index.php/article/articleview/75/1/1/
Andy
> -Original Message-
> From: Evan Nemerson [mailto:[EMAIL PROTECTED]
> Sen
One quick thought:
You might want to add the following to your if statement:
else {
$this->_cache[$key] = new $key;
return $this->_cache[$key];
}
Andy
> -Original Message-
> From: Gerard Samuel [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 06, 20
see
if they are logged in is done.
Any help that could be supplied would be greatly appreciated.
Thank you.
Regards,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
login i.e. will it be possible for some one to hijack the login if this
check is not there? Or does anyone have any other suggesstions for doing
authentication?
Thank you.
Regards,
Andy
"Andras Kende" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -Original M
Hi Aniruddha,
Try using
session_start();
$HTTP_SESSION_VARS['session_referer'] = "abc.com";
and
if (session_is_registered('session_referer'))
go to abc.com;
Regards,
Andy
"Aniruddha" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
&g
be
logged that they will have to log in again?
3. For forms, where the SID need to be passed, do you pass this as a hidden
form variable or do you do it on the URL?
You help is greatly appreciated.
Thanks again.
Regards,
Andy
"Gerard Samuel" <[EMAIL PROTECTED]> wrote in mes
Hi Mark,
Thank you for confirming that for me. I am new to the list and did do a
search though past messages but did not find this point (obvioulsy I did not
look hard enough).
Thanks again.
Regards,
Andy
"Mark Charette" <[EMAIL PROTECTED]> wrote in message
news:
Hi Gerard,
Thank you for your assistance you have been of enormous help.
Regards,
Andy
"Gerard Samuel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Saturday 27 December 2003 10:54 am, Andy Higgins wrote:
>
> > 1. At the time of login will the log
x27;], 20);;
if ($add == 'Hello')
do something
where clean() is a function defined in an include as follows:
function clean($input, $maxlength)
{
$input = substr($input, 0, $maxlength);
$input = EscapeShellCmd($input);
return ($input);
}
Hope that helps.
Regards,
Andy
"Labuns
0.05
I would have expected to get an answer of 0 i.e. no remainder. It works fine
for whole numbers.
Can any one shed any light on this please?
Thank you.
Regards,
Andy
P.S. I tried using the following function but I get the same results:
function fmodAddOn($x,$y)
{
$i = floor($x/$y);
.
Regards,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
or FMP hosting, you
may find it difficult to find one that offers both FMP and PHP.
Hope that this helps,
Andy Clarke
Andy Clarke
78 West Kensington Court, Edith Villas,
London, England W14 9AB
Greetings,
I'm looking for a script written in PHP that can convert an RTF string into
HTML.
Thanks in Advance
Andy Woolley
www.databasewatch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Ajdin,
I know this is a little off topic but for your information 'whois.ripe.net'
provide information for the .ba TLD
I too am looking for a database of Top Level Domains around the world so if
anyone knows of one I would be very much obliged If I could have a copy.
Kind Regards
An
as this can be turned
off by the user etc, it seemed as though it would be more reliable to do it
server side (if it is possible).
Thanks
Andy Clarke
Andy Clarke
78 West Kensington Court, Edith Villas,
Londo
Hi
I'd normally start this mail with some background of what I'm doing,
but to save everyone time, I'll start with the questions, and then
in case anyone has alternative suggestions or workarounds, I'll
fill in the what I'm doing and why...
Within PHP script, is it possible to
1. capture the
The JavaScript Weenie is about the best I know of at:
http://webdevelopersjournal.com/subform.html
See you there.
Andy.
- Original Message -
From: "Boget, Chris" <[EMAIL PROTECTED]>
To: "Php (E-mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, April 17, 2001 4
asautinsWed Apr 25 10:48:31 2001 EDT
Modified files:
/php4/ext/oci8 oci8.c
Log:
Collections cleanup
- Removed date specific methods. Dates work consistently with
the rest of the oci8 code.
- Removed unused varia
asautinsWed Apr 25 10:44:08 2001 EDT
Modified files:
/php4/ext/oci8 php_oci8.h
Log:
Cleanup collections - removed unused members from oci_collection structure
Index: php4/ext/oci8/php_oci8.h
diff -u php4/ext/oci8/php_oci8.h:1.14 php4/ex
rver with a PHP script. Tx!
This would be something like PHP accessing a MySQL daemon via its port.
Andy.
http://alliancecommerce.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
Jamie,
$imagesize = GetImageSize("yourfile.gif");
Will return an array of image properties that you can use.
Andy.
- Original Message -
From: "Jamie Thompson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 11:46 AM
Subject:
feof($fp)) {
$return .= fgets ($fp,1280);
}
fclose ($fp);
}
print $return;
?>
Any help would be appreciated.
Thanks,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
l
> traffic/big" sites
> Some ISP´s suggest that you use php3/4 extensions, as they have both versions
> running.
I wonder why they do this? In my experience, php3 code runs fine on a
php4 server and on the servers I manage, the apache configuration passes
both .php3 and .phtml
I keep getting Permission denied, however the directory that I'm trying to
create in has 777 permisions.
Anyone?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here's the code I used
$name = "FolderName";
mkdir("test/$name", 0700);
"Andy F." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I keep getting Permission denied, however the directory that I
he above doesn't sound too critical - in general I love PHP, but
this one omission has cost me so many hours of debugging time over the
years I had to ask :)
Cheers,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am a complete php newbie but i have a quick question. I was wondering if
there is a way to copy a file from a remote site to your local server? I
want to grab a picture off of a site and store it locally to be displayed
later. Thanks alot,
Andy
--
PHP General Mailing List (http
$address=mysql_result($result,$r,$f);
mail("$address","$subject","$message","From:$MailFromAddress");
$r++;
}
Any suggestions or pointers to where I'm going wrong will be warmly
received.
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ending a message a second, so that sendmail was
handling 10 messages/second and load average hit 3.5. It must have been a
network related problem but it's all running fine now with 1 message a
second going out from the original script.
cheers,
Andy
> - Original Message -----
> From: &q
ut it will be interesting to see what happens in
about half an hour's time.
Andy
> - Original Message -
> From: "andy thomas" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 02, 2002 11:04 AM
> Subject: [PHP] Bizarre ma
On Sun, 3 Mar 2002, andy thomas wrote:
>
>
> On Sat, 2 Mar 2002, Andrey Hristov wrote:
>
> > check you php.ini if you need to change sendmail -t -i to something other.
>
> We are still having problems with this. Doing another mailshot, the script
> crawled at 1 mess
reated by Apache
or PHP during normal operation, these will be owned by that user. The one
exception is the Apache log files - these are normally owned by root, the
user Apache's parent process runs as initially before it forks child
servers running as user 'nobody', etc.
Andy
-
PHP than from a shell script - MySQL access being
one of them.
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 11 Mar 2002, Jason Wong wrote:
> On Monday 11 March 2002 20:18, andy thomas wrote:
> > Just wondering but is there any way PHP scripts can be run from the
> > command line from a standard Unix shell like, for example, perl rather
> > than being invoked via a br
On Thu, 14 Mar 2002, andy wrote:
> Hi there,
>
> I am wondering, how I could test the mail functions of php on a local
> machine. Do I have to install something like a mailserver, or does this come
> with php?
If you are using a Unix/Linux type server for your local system,
your help.
Someone else has already posted an example of a form to collect the data
and pass it to a script called adduser.php. In adduser.php you could try
the exec() function to execute the adduser/useradd command, something
like:
exec("useradd -u $uid -g $gid -d $home_dir -s $sh
y the
filling in of a form (using the POST method)?
Thanks for any help...
-Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
's M80 8080 macro assembler was the first
time I came across foo and bar. This was dated 1979.
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was just curious what sort of performance hit is taken with multiple
includes per page? Or maybe if there was a way to cache includes?
Thanks
Andy Muth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
e vars are saved in the session the user
automatically gets logged in.
I also would like to have a checkbox on the login page that, if checked,
doesn't cache the username and password. So if they logout they must enter
a username and password, instead of getting automatically logged in.
An
have in PHP.
Regards
Andy.
- Original Message -
From: "Mike Elkins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 19, 2001 4:17 PM
Subject: [PHP] Dynamic Navigation w/PHP
> Hello All,
>
> I am looking for example code demonstrating the
The 'Switch' Statement is what you are looking for.
Andy Woolley
www.databasewatch.com
"elias" <[EMAIL PROTECTED]> wrote in message
9a1pfp$v4n$[EMAIL PROTECTED]">news:9a1pfp$v4n$[EMAIL PROTECTED]...
> You must be moving from Pascal alike coding to PHP
ata inserts. In effect, it needs to be
standalone text files full of SQL commands.
I know it can be done, because phpMyAdmin has exactly this facility. But
even after studying the code of that carefully, I can't tell which specific
pieces are handling this enough to extract the facility.
C
ssuing it's own error page. I know there must be a config
somewhere other than the client side "Show friendly error messages", but
can't seem to find it. I have RTFM and scanned the Web but still not found
it. Hope you can help.
Once again I apologize for being Off
Jon, your a star...Thanks alot
How rediculous is that of MS to do it that way. I really did try and find
out what was going on and knew it had to be something simple, but I never
expected it be that stupid.
Thanks Again
Andy Woolley
www.databasewatch.com
ps. If you ever visit the Midlands
Goes Here."
HTH
Andy Woolley
www.databasewatch.com
- Original Message -
From: Boget, Chris
To: 'Andy Woolley' ; [EMAIL PROTECTED]
Sent: Monday, April 09, 2001 7:57 PM
Subject: RE: [PHP] Sorry - Way OT but I need help
> I know this has nowt to do with PHP so I
www.businessmeetings.com is another commercial site that I ported from ASP
to PHP 12 months ago.
Andy Woolley.
www.databasewatch.com
> - Original Message -
> From: "Phil Labonte" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, Apri
Does anyone know if it's possible to capture TCP_TIMESTAMP using a socket.
If you could do that you wouldn't need to execute /usr/bin/uptime
Andy.
---
Need a DHTML Menu?
Try www.milonic.com/menu it's free
---
- Original Mes
oblem the other day and that solved it for me.
Regards
--
Andy Warwick
email: [EMAIL PROTECTED] PGP ID: 0xB1D73499
Creed New Media Designtel: 07976 205085
Nottingham, England url: http://
makes sense, heh.. If you need more info,say say..
Oh,btw,its a unix server.
-Andy L
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Hello,
I am wondering if there is any way to limit the disable_feature command to
certain directories, and if so, could I please see an example?
Thanks,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
other?
Thanks,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
http://www.php.net/manual/en/function.addslashes.php
That should work fine.
-Andy
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I have a form that submits data to a database, works great until
> someome
> > puts in an apostrop
Thanks!
Helped a lot.
-Andy
Jeff Oien <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You can read the notes lower on the page here to get a good idea:
> http://www.php.net/manual/en/function.print.php
> Jeff Oien
>
> > I am fa
Does anyone know if its possible to use disable_functions on only specified
directories, and not all?
Hopefully its possible..
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list adm
Thanks..
D'you think you'd be able to give me an example?
(Sorry, I am _quite_ new to all of this...)
-Andy
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Any php.ini directive can be used in your httpd.conf on a per-
touched any of
the cookie functions.. thats what I dont get... anyone have any ideas on
what could be wrong? (And yes, im using $HTTP_Cookie_VARS["cookiename"]; to
access (try and access, that is) them now..
Anyone know what might be wrong?
Any helps appreciated, thanks.
-Andy
--
PHP Gener
Hi Jack,
The 'black box' you see is a newline, which can be removed by doing this:
$string=str_replace("\n","",$string);
$string=str_replace("\r","",$string);
That will replace \n (The newlines) and \r (The returns) with nothing,
getting rid of
Hello all,
I am wondering if there is a command or function to get a list of all the
current '$HTTP_POST_VARS["variable"]' variables? Or, a user-created way...
Any helps appreciated, thanks!
-Andy L.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
Ah, its that simple?
-feels likea bit of an idiot-
Thanks for the help!
Tim <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> while (list($k,$v) = each($HTTP_POST_VARS)) {
> echo "$k = $v";
> }
>
> On Mon, 2001-08-27
Thanks!
-Andy
Jason Murray <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I am wondering if there is a command or function to get a
> > list of all the current '$HTTP_POST_VARS["variable"]' variables?
>
Well,think about it like this:
If you did replace $comp name with ABC Company, this is what you'd get:
Not quite right, eh? This will solve your problem:
print "";
=)
-Andy
Hugh Danaher <[EMAIL PROTECTED]> wrote in message
001201c12f71$75a45b40$c1fcb3d1@win95"&
No problem.
With the space in there, it considered Company as something separate...
-Andy
Hugh Danaher <[EMAIL PROTECTED]> wrote in message
000801c12f74$62b93020$3907f4d8@win95">news:000801c12f74$62b93020$3907f4d8@win95...
> Andy,
> Thank you. It Works!
> Hugh
&
PHP is a processed before the output is sent to the browser, so a dynamic
change like what you want with it isn't possible. And unfortunately,I dont
know any JScript, or VBScript, so I can't help ya there..
=/
-Andy
Traci P Sumpter <[EMAIL PROTECTED]> wrote in message
[EMAIL
abled in as '/var/www/htdocs/example/' and the base directory being
'/var/ww/htdocs/'
I hope someone can help, thanks..
-Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTE
Foo, and Bar, dont mean anything.
They are simply example $vars for php...
I was confused on this for a while, too...
-Andy
Seb Frost <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Why is it that every example uses foo and bar. In my
301 - 400 of 780 matches
Mail list logo