[PHP] Php page runs from one computer but not another

2002-08-19 Thread Jonathan Black
Hello, php 4.2.1 Internet Explorer 6. After some server upgrades at my webhoster I can see the phpinfo page from a computer running windows 98, but not from another computer running windows 2000 server. Here I just see the php code in my browser. I can run the same page on the machine with the p

Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Daren Cotter
Justin is perfectly correct. Sessions are really the way to perform this task (sessions actually use cookies in most scenarios). However, if you need to track the user for longer than they will be at your site (i.e., they close the browser and come back a week later, like you said), it should be

RE: [PHP] database value count retrieval

2002-08-19 Thread David Freeman
> >SELECT COUNT(x) FROM table; > > > >Make 'x' equal to any column name in the table and add WHERE to the > >clause as needed. > > err...all very well, but how do i retrieve the > value afterwards? > $sqlcom="select count(codigo) from comments where > codigo=$id";

Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Randy Johnson
How do I surpress php warnings from being displayed to the screen Randy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Replicate string or something similar

2002-08-19 Thread Saci
In ASP I use the expression myvar = string(254,"A") to have a var filled with 254 characters 'A' What is the similar one in PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Replicate string or something similar

2002-08-19 Thread Martin Towell
str_repeat() -Original Message- From: Saci [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 1:04 PM To: [EMAIL PROTECTED] Subject: [PHP] Replicate string or something similar In ASP I use the expression myvar = string(254,"A") to have a var filled with 254 characters 'A'

Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Rasmus Lerdorf
See your php.ini file. Specifically the display_errors directive. See also log_errors and error_log. -Rasmus On Mon, 19 Aug 2002, Randy Johnson wrote: > How do I surpress php warnings from being displayed to the screen > > > Randy > > > > -- > PHP General Mailing List (http://www.php.net/) >

Re: [PHP] Replicate string or something similar

2002-08-19 Thread Tom Rogers
Hi, Tuesday, August 20, 2002, 1:04:12 PM, you wrote: S> In ASP I use the expression myvar = string(254,"A") S> to have a var filled with 254 characters 'A' S> What is the similar one in PHP? Try this: $string = array(); $string = array_pad($string,254,'A'); -- regards, Tom -- PHP Gen

Re: [PHP] tracking visitors till registration?

2002-08-19 Thread Daren Cotter
php.ini config file --- Randy Johnson <[EMAIL PROTECTED]> wrote: > How do I surpress php warnings from being displayed > to the screen > > > Randy > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > _

Re[2]: [PHP] Replicate string or something similar

2002-08-19 Thread Tom Rogers
Hi, TR> $string = array(); TR> $string = array_pad($string,254,'A'); TR> -- TR> regards, TR> Tom Ignore this I was asleep :) -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: tracking visitors till registration?

2002-08-19 Thread Manuel Lemos
On 08/19/2002 06:01 PM, Andy wrote: > Hi there, > > I am wondering if following scenario would be possible: > > - Create a unique referer id to make sure that the visitior has been refered > by a particular person. (e.g. server.com?ref=20) > - The visitor enters the site and browses around, but

Re: [PHP] Php page runs from one computer but not another

2002-08-19 Thread Jaskirat Singh
Hi, "I can run the same page on the machine with the problem if I simply rename it." If you could tell what the name was when it didn't work and what when it worked. If by rename you mean change of extension like say from php3 to php then it indicates that apache config file (I am not sure f

Re: [PHP] Replicate string or something similar

2002-08-19 Thread Saci
Thank you That's it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Can i send post variable thur header?

2002-08-19 Thread NoWhErEMan
Hi all, I want to redirect to another page and pass some post variables to that page. I know how to pass get variables ( just include at the end of url) But i have no idea how to pass post variables, is it possible ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] Re: Can i send post variable thur header?

2002-08-19 Thread Jome
> I want to redirect to another page and pass some post variables to that > page. > I know how to pass get variables ( just include at the end of url) > But i have no idea how to pass post variables, is it possible ? You cannot do a redirect but you can send POST variables to a page without a for

[PHP] Re: fopen(http:...) problems

2002-08-19 Thread php
Why don't you try chmoding the file 777. Next use readfile: http://www.php.net/manual/en/function.readfile.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cURL and POST

2002-08-19 Thread Samantha Savvakis
HI, I'm using the cURL binary to perform a HTTP POST to a web page. I am sending XML data to this web page. The issue I've come up against if the size of the data that I'm trying to post and it looks like cURL is crapping out. This is the command line that I'm currently using: /usr/local/bin/c

<    1   2