php-general Digest 6 Jul 2004 17:15:31 -0000 Issue 2861

2004-07-06 Thread php-general-digest-help
php-general Digest 6 Jul 2004 17:15:31 - Issue 2861 Topics (messages 189763 through 189807): Grabbing last file... 189763 by: Ashley M. Kirchner 189768 by: Curt Zirzow Re: uniqid function 189764 by: Curt Zirzow 189767 by: Michael Gale session, explain?

[PHP] Grabbing last file...

2004-07-06 Thread Ashley M. Kirchner
I have a capture script that runs every 2 minutes and dumps an image into a folder. I'm trying to write a script (which will get included in another) that will grab the last image in the folder and pass it on. The images are saved as 'capture..jpg' where is the timestamp of the

Re: [PHP] uniqid function

2004-07-06 Thread Curt Zirzow
* Thus wrote Michael Gale: Hello, I have a question about the uniqid function ... on a loaded system ... lets say 60 people connected with each person making 2-3 web request per second. Each request running the following php command: $token_name=md5(uniqid(rand(), true)); What

[PHP] session, explain?

2004-07-06 Thread Louie Miranda
session_start(); setcookie(cartId, session_id(), time() + ((3600 * 24) * 30)); return session_id(); Can someone help me figure out what does the session of this code means? -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] images outside of document root

2004-07-06 Thread Dennis Gearon
I want to keep an entire library OUTSIDE of the document root. The library includes some imgages. How can I have the browser include the imageges? I've hard of BASE64'ing the images into the header and decoding them using javascript. Is this the best way? Where is code to do that? -- PHP

Re: [PHP] uniqid function

2004-07-06 Thread Michael Gale
Thanks for the reply. Michael. On Tue, 6 Jul 2004 06:38:57 + Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Michael Gale: Hello, I have a question about the uniqid function ... on a loaded system ... lets say 60 people connected with each person making 2-3 web

Re: [PHP] Grabbing last file...

2004-07-06 Thread Curt Zirzow
* Thus wrote Ashley M. Kirchner: I have a capture script that runs every 2 minutes and dumps an image into a folder. I'm trying to write a script (which will get included in another) that will grab the last image in the folder and pass it on. The images are saved as

Re: [PHP] session, explain?

2004-07-06 Thread Curt Zirzow
* Thus wrote Louie Miranda: session_start(); setcookie(cartId, session_id(), time() + ((3600 * 24) * 30)); return session_id(); Can someone help me figure out what does the session of this code means? Looking at the description of setcookie: bool setcookie ( string name [, string value [,

RE: [PHP] file locking over NFS?

2004-07-06 Thread Brent Clark
Hi there If i am not mistaken, that is a standard part of the nfs suite. All you need to make sure is that your export is correct, and the you are not using the -nolock option. Other than that if its PHP you more interested in, look at the flock() function. Kind Regards Brent Clark

Re: [PHP] session, explain?

2004-07-06 Thread Ligaya Turmelle
Louie Miranda wrote: session_start(); http://www.php.net/manual/en/function.session-start.php setcookie(cartId, session_id(), time() + ((3600 * 24) * 30)); http://www.php.net/manual/en/function.setcookie.php return session_id(); http://www.php.net/manual/en/function.session-id.php Can someone

Re: [PHP] images outside of document root

2004-07-06 Thread Curt Zirzow
* Thus wrote Dennis Gearon: I want to keep an entire library OUTSIDE of the document root. The library includes some imgages. How can I have the browser include the imageges? I've hard of BASE64'ing the images into the header and decoding them using javascript. Is this the best way? Where

[PHP] MySql DB access upon browser close

2004-07-06 Thread Frank Voorburg
Hi, Any help with the following is appreciated. I want to use php to store the time that a user spent on 1 particular webpage in a mysql database. What I'm trying to do now is: 1) using Javascript's OnLoad event I read out the time when the user 1st opens the webpage 2) using Javascript's

[PHP] E-bay API and PHP

2004-07-06 Thread zareef ahmed
Hi, How can we communicate to E-bay API through PHP? is it possible? or any alternative to E-bay API? Basically I am going to develop a application with E-bay functionality like Product Management, Auction Mangement, and Digital Product delievey. any info as usual will be appriciated. zareef

Re: [PHP] E-bay API and PHP

2004-07-06 Thread Brent Clements
Sign up for the ebay developers program and they give you access to their api plus instructions on how to implement. You will also have access to a sandbox environment to test your code. Be aware that once you move past the sandbox environment, access to the ebay api is charged based on the number

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
Thanks a lot , your information is really useful for me. Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] kyle wrote: Hi all, Is there any simple, safe, and efficiency way to do file locking over NFS? Thanks. You can mysql locks (maybe it works in other

Re: [PHP] file upload and permission problem.

2004-07-06 Thread Angelo binc2
So if it is a windows box, how would I set the permissions? or is the permissions of the person who is logged into the machine? Thanks In advance raditha dissanayake [EMAIL PROTECTED] 7/5/2004 4:08:41 PM Angelo binc2 wrote: Hi all I am trying to upload a file using PHP. I can successfully

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
I found this from php function list manual: flock() will not work on NFS and many other networked file systems. Check your operating system documentation for more details. I wish flock can do NFS file locking, but offical manual says no to Brent Clark [EMAIL PROTECTED] wrote in message

Re: [PHP] file locking over NFS?

2004-07-06 Thread Manuel Lemos
Hello, On 07/06/2004 05:25 AM, Kyle wrote: I found this from php function list manual: flock() will not work on NFS and many other networked file systems. Check your operating system documentation for more details. I wish flock can do NFS file locking, but offical manual says no to This is not

[PHP] Re: E-bay API and PHP

2004-07-06 Thread Manuel Lemos
Hello, On 07/06/2004 04:31 AM, Zareef Ahmed wrote: Hi, How can we communicate to E-bay API through PHP? is it possible? or any alternative to E-bay API? Basically I am going to develop a application with E-bay functionality like Product Management, Auction Mangement, and Digital Product

[PHP] Form Submission

2004-07-06 Thread Shaun
Hi, How can I check if a form has been submitted, I have seen a demo that uses the following: if(isset($HTTP_POST_VARS)) But I understand that $HTTP_POST_VARS is depricated... Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, How can I check if a form has been submitted, I have seen a demo that uses the following: if(isset($HTTP_POST_VARS)) But I understand that $HTTP_POST_VARS is depricated... Thanks for your help Check the $_POST

[PHP] File Created Date?

2004-07-06 Thread Richard Davey
Hi, Is there a way to get the timestamp when a file was CREATED? Looking at stat I can find the modified date, last accessed and changed - but not the created date. There doesn't appear to be a Filesystem function for it either. I'm sure it's obvious, but it is alluding me for now. Best regards,

[PHP] Want to save png to file

2004-07-06 Thread Victor Spång Arthursson
Hi! Creating a transparent png using GD and PHP is (almost) no problem, but it's impossible to save No matter what I try, the saved image wont remember that it's transparent. I suspect the reason it works on the fly is because I manually set the header to image/png, but if I try so save the

Re: [PHP] File Created Date?

2004-07-06 Thread zareef ahmed
Hi. [quote from php manual ] In some Unix texts the ctime of a file is referred to as being the creation time of the file. This is wrong. There is no creation time for Unix files in most Unix filesystems. [/quote from php manual] http://in2.php.net/filectime zareef ahmed --- Richard Davey

Re: [PHP] File Created Date?

2004-07-06 Thread zareef ahmed
Hi. [quote from php manual ] In some Unix texts the ctime of a file is referred to as being the creation time of the file. This is wrong. There is no creation time for Unix files in most Unix filesystems. [/quote from php manual] http://in2.php.net/filectime zareef ahmed --- Richard Davey

RE: [PHP] File Created Date?

2004-07-06 Thread Jay Blanchard
[snip] Is there a way to get the timestamp when a file was CREATED? Looking at stat I can find the modified date, last accessed and changed - but not the created date. There doesn't appear to be a Filesystem function for it either. I'm sure it's obvious, but it is alluding me for now. [/snip] The

Re: [PHP] PHP Web Mail

2004-07-06 Thread Christophe Chisogne
raditha dissanayake a écrit : at the risk of starting a flame war: IMAP is the devine way of using email. POP3 sux. :-) IMAP being a general file access protocol, there are inherent security problems to be aware of. On some srv, you could easily get /etc/passwd by simply knowing a single

[PHP] Recent numbers on PHP Market Penetration?

2004-07-06 Thread Bert Slagter
Good afternoon, I'm looking for recent numbers of the PHP Market Penetration - if possible compared to ASP/JSP. The netcraft survey only shows apache vs. IIS, can't find anything about PHP there. Thanks! Bert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] file upload and permission problem.

2004-07-06 Thread raditha dissanayake
Angelo binc2 wrote: So if it is a windows box, how would I set the permissions? or is the permissions of the person who is logged into the machine? That's not a PHP question! and i know very little about windows but I can tell you that you can do it by right clicking on a folder and selecting

Re: [PHP] PHP Web Mail

2004-07-06 Thread raditha dissanayake
Justin Patrin wrote: On Mon, 5 Jul 2004 13:01:08 -0400, John Hicks [EMAIL PROTECTED] wrote: On Monday 05 July 2004 07:33 am, I.A. Gray wrote: Thanks- looked at Squirrel Mail. Looks really good, however we use POP3- I don't think Squirrel Mail uses POP3 does it? Most if not all

Re: [PHP] Re: Form Submission

2004-07-06 Thread Jason Wong
On Tuesday 06 July 2004 17:50, Torsten Roehr wrote: How can I check if a form has been submitted, I have seen a demo that uses the following: if(isset($HTTP_POST_VARS)) But I understand that $HTTP_POST_VARS is depricated... Thanks for your help Check the $_POST superglobal: if

Re: [PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 06 July 2004 17:50, Torsten Roehr wrote: How can I check if a form has been submitted, I have seen a demo that uses the following: if(isset($HTTP_POST_VARS)) But I understand that $HTTP_POST_VARS

Re: [PHP] fopen newbie question

2004-07-06 Thread Josh Close
Can you post your code so we can see what might be going on? -Josh On Mon, 5 Jul 2004 13:06:58 -0400, Joe Carey [EMAIL PROTECTED] wrote: I'm trying to read a text file from one server from another. When I read from server A to B it works fine and I get the text output that I'm looking for.

Re: [PHP] Want to save png to file

2004-07-06 Thread Jason Wong
On Tuesday 06 July 2004 19:48, Victor Spng Arthursson wrote: Creating a transparent png using GD and PHP is (almost) no problem, but it's impossible to save Here you say it's impossible to save, but then further down you contradict this by saying that you did manage to save it - only the

Re: [PHP] Form Submission

2004-07-06 Thread Marek Kilimajer
Shaun wrote: Hi, How can I check if a form has been submitted, I have seen a demo that uses the following: if(isset($HTTP_POST_VARS)) But I understand that $HTTP_POST_VARS is depricated... Depricated or backward compatible, depends on your view. The hot new way is to use $_POST superglobal array

[PHP] Dynamic var

2004-07-06 Thread Pierre
Hi all I've a little problem with creating a dynamic var. This is my line code : $erreur .='Le champs '.${'corresp_chps[\''.$champs.'\']'}.'br'; Yes i need the quote, cause it's not my var but a webservice one and the name var is 001 so i've indexed my array with '001' etc..; Thx a lot And this

Re: [PHP] Recent numbers on PHP Market Penetration?

2004-07-06 Thread Christophe Chisogne
Bert Slagter a écrit : I'm looking for recent numbers of the PHP Market Penetration - if possible compared to ASP/JSP. The netcraft survey only shows apache vs. IIS, can't find anything about PHP there. It seems you didnt search Google very long. Simple google searches like number of sites

Re: [PHP] PHP Web Mail

2004-07-06 Thread raditha dissanayake
Christophe Chisogne wrote: raditha dissanayake a écrit : at the risk of starting a flame war: IMAP is the devine way of using email. POP3 sux. :-) IMAP being a general file access protocol, there are inherent security problems to be aware of. On some srv, you could easily get /etc/passwd by

Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Richard Davey
Hello Jason, Tuesday, July 6, 2004, 2:37:08 PM, you wrote: JW It might not be a good idea to rely on the submit button to be set. Some JW browsers do not set/send it if you didn't explicitly click on the submit JW button. I would use: Absolutely. If you hit ENTER to submit a form (rather than

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
Hi Manuel, Do you mean I can just use flock over NFS ? Manuel Lemos [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, On 07/06/2004 05:25 AM, Kyle wrote: I found this from php function list manual: flock() will not work on NFS and many other networked file systems. Check

[PHP] Beginners question... (I think)

2004-07-06 Thread Koyaan
Unfortunately I'm not well informed about php and everything that comes with it. My site is created by someone who is totally out of the picture at ther moment and I have a problem On my site it was possible to create aktueeltjes (newsflashes) and add them on the aktueeltjes part of my site I

[PHP] Two Sites - One Backend

2004-07-06 Thread Shaun
Hi, I have created an online scheduling system using PHP and MySQL. The site is uses CSS for the presentation and each page uses a header and footer file so that only core functionality is contained in each page. I now need to create another site which runs using the same database and function

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Jason, Tuesday, July 6, 2004, 2:37:08 PM, you wrote: JW It might not be a good idea to rely on the submit button to be set. Some JW browsers do not set/send it if you didn't explicitly click on the submit JW

[PHP] user tracking

2004-07-06 Thread Christian Calloway
Hey everybody, I am looking for some type of user tracking/stat collecting package. I am sure there's a million; any recommendations? We have some specific needs as well, so mostly likely I will be have to make some code changes. So the simpler package the better. Christian -- PHP General

[PHP] Database Driven Links

2004-07-06 Thread Shaun
Hi, I am modifying my site so that links for each page are held in a database to make my site more portable. However if I have link such as edit_user.php?user_id=$_GET[user_id] stored in the database will the $_GET variable get processed and the appropriate value returned to the browser? Thanks

[PHP] Re: Two Sites - One Backend

2004-07-06 Thread Gerben
Are you using 2 different servers or just one? if only one then how would URL X and URL Y look? Since X and Y will refer to a different file, my suggestion is to change the include('X-header') to inlcude('Y-header') in the Y version. Some more info whould be nice Shaun [EMAIL PROTECTED] wrote in

[PHP] Re: Database Driven Links

2004-07-06 Thread Gerben
I think the function eval is what you are looking for. http://php.net/eval Shaun [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am modifying my site so that links for each page are held in a database to make my site more portable. However if I have link such as

[PHP] Re: Two Sites - One Backend

2004-07-06 Thread Shaun
Hi Gerben, Thanks for your reply, the site will be on one server - the idea is that there will be two domain names pointing to the server: http://www.domain_x.com/ and http://www.domain_y.com/. Both of these domains will have a very different interface comprised of header.php, footer.php and a

Re: [PHP] file locking over NFS?

2004-07-06 Thread Manuel Lemos
Hello, On 07/06/2004 12:56 PM, Kyle wrote: Hi Manuel, Do you mean I can just use flock over NFS ? It depends. You need to check whether the NFS server that you use supports it. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Justin Patrin
On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr [EMAIL PROTECTED] wrote: Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Jason, Tuesday, July 6, 2004, 2:37:08 PM, you wrote: JW It might not be a good idea to rely on the submit button to be set. Some JW

Re: [PHP] user tracking

2004-07-06 Thread Stephen Craton
Try searching www.hotscripts.com, they have a lot of good scripts there... On Tue, 2004-07-06 at 06:15, Christian Calloway wrote: Hey everybody, I am looking for some type of user tracking/stat collecting package. I am sure there's a million; any recommendations? We have some specific needs

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Torsten Roehr
Justin Patrin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr [EMAIL PROTECTED] wrote: Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Jason, Tuesday, July 6, 2004, 2:37:08 PM, you wrote:

[PHP] Re: PHP 4.3.7 update - how to

2004-07-06 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Alan McDonald wrote: I've downloaded the 4.3.7 tar ball and extractted it. I've run configure (after deleting the cache), no errors. I've run make - no errors, I've then run make install.. no errors, it says it's updating and installing. Now I've restarted my httpd service - I've

Re: [PHP] user tracking

2004-07-06 Thread Michael Gale
What type of tracking ? ... number of hits ? pages visited by # of times ?? If you use sessions ... which I am assuming you are. You could create a table: user-id,page,times Then when you do the session check you could update: INSET INTO webwatch_table SET user-id=' . $_SESSSION['userid'] .

Re: [PHP] Re: Two Sites - One Backend

2004-07-06 Thread Marek Kilimajer
Shaun wrote: Hi Gerben, Thanks for your reply, the site will be on one server - the idea is that there will be two domain names pointing to the server: http://www.domain_x.com/ and http://www.domain_y.com/. Both of these domains will have a very different interface comprised of header.php,

Re: [PHP] user tracking

2004-07-06 Thread Michal Migurski
I am looking for some type of user tracking/stat collecting package. I am sure there's a million; any recommendations? We have some specific needs as well, so mostly likely I will be have to make some code changes. So the simpler package the better. You don't mention any of the specific needs

Re: [PHP] user tracking

2004-07-06 Thread Christian Calloway
I've been writing LAMP applications for awhile; the option to write a tracking system myself is always viable.. but since I am extraordinarily lazy, I am looking for a general package that I could modify. What I really wanted was anyone's feedback or recommendations on tracking packages currently

Re: [PHP] images outside of document root

2004-07-06 Thread Dennis Gearon
I may do that, but the 'showimage.php' file then has to be in the document root, and can be attacked a LOT. I have found ways to do inline images, without javascript, I believe. Curt Zirzow [EMAIL PROTECTED] wrote: * Thus wrote Dennis Gearon: I want to keep an entire library OUTSIDE of the

Re: [PHP] user tracking

2004-07-06 Thread Matthew Sims
I am looking for some type of user tracking/stat collecting package. I am sure there's a million; any recommendations? We have some specific needs as well, so mostly likely I will be have to make some code changes. So the simpler package the better. You don't mention any of the specific

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Justin Patrin
On Tue, 6 Jul 2004 21:19:35 +0200, Torsten Roehr [EMAIL PROTECTED] wrote: Justin Patrin [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, 6 Jul 2004 18:15:17 +0200, Torsten Roehr [EMAIL PROTECTED] wrote: Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL

[PHP] custom tags

2004-07-06 Thread George Lantz
I am looking for a way to parse custom html tags. I would like to then replace those tags with php/html code. Here is an example of the html file to be parsed. Notice the component, they are the custom tags I wish to replace with code. I only need help in parsing the tags and storing in a variable

Re: [PHP] images outside of document root

2004-07-06 Thread Keith Greene
I use a system like that described below, however I added some checks to thwart attack. first, the image serving script checks to make sure the user has a session id. This prevents people just loading the script to get the images, and also deters hot linking. second, I have a script that runs

Re: [PHP] Recent numbers on PHP Market Penetration?

2004-07-06 Thread Bert Slagter
Christophe Chisogne wrote: It seems you didnt search Google very long. I did, actually :). Simple google searches like number of sites running php site:netcraft.com lead to results on netcraft.com, by example a php vs coldfusion vs jsp page [1] found via link on the 2003/08 netcraft survey [2]

Re: [PHP] Beginners question... (I think)

2004-07-06 Thread Marek Kilimajer
Koyaan wrote: Unfortunately I'm not well informed about php and everything that comes with it. My site is created by someone who is totally out of the picture at ther moment and I have a problem On my site it was possible to create aktueeltjes (newsflashes) and add them on the aktueeltjes part of

Re: Re[2]: [PHP] Re: Form Submission

2004-07-06 Thread Curt Zirzow
* Thus wrote Torsten Roehr: How do you check which button was pressed (read: which action should be performed) when not relying on this? The button is generally *not* sent by the browser if you hit enter instead of submit. This *will* happen, so you have to deal with it. If

[PHP] Recompile PHP to install new diictionary for Pspell?!?

2004-07-06 Thread Maarten Winkels
Hi, I'm trying to convince my host to install the dutch dictionary for Pspell? Do you need to recompile PHP after installing a new dictionary unders Pspell? My host doesn't want to recompile PHP... Thanks! -Maarten Winkels -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] custom tags

2004-07-06 Thread Eric Emminger
Hi George, How about this? parse the html as xml and replace the component tags with whatever php/html code output that result to a file include the file from previous step Eric On Tue, 6 Jul 2004 15:56:26 -0500, George Lantz [EMAIL PROTECTED] wrote: I am looking for a way to parse custom

Re: [PHP] MySql DB access upon browser close

2004-07-06 Thread Eric Emminger
Hi Frank, I think you could use window.location=test.php?time=xxx in the onUnload instead of opening a new window. Eric On Mon, 5 Jul 2004 14:08:14 -0400, Frank Voorburg [EMAIL PROTECTED] wrote: Hi, Any help with the following is appreciated. I want to use php to store the time that a

Re: [PHP] custom tags

2004-07-06 Thread raditha dissanayake
Eric Emminger wrote: Hi George, How about this? parse the html as xml and replace the component tags with whatever php/html code output that result to a file include the file from previous step That's a good suggestions but problems arise because HTML does not have to be well formed. There is

Re: [PHP] Dynamic var

2004-07-06 Thread Curt Zirzow
* Thus wrote Pierre: Hi all I've a little problem with creating a dynamic var. This is my line code : $erreur .='Le champs '.${'corresp_chps[\''.$champs.'\']'}.'br'; You're making it more complicated that it needs to be: $erreur .= 'Le champs '. $corresp_chps[$champs] .'br'; Curt --

[PHP] Sending PHP to different targeted frames

2004-07-06 Thread Robert Frame
I've created a web page utilizing 3 frames (header, index, main). In the frame named 'main' I have a form setup for logging into a MySQL database. On a successful login I want to change the html in 'index' and 'main'. The active frame 'main' is easy, as the new html code will go into this window

[PHP] import_request_variables

2004-07-06 Thread Kalpin Erlangga Silaen
Dear all, I get error : import_request_variables while I make a script to call a variable. This my header (in my script -- error) : import_request_variables( GPC ); anybody knows why this happen ? Regards, Kalpin Erlangga S -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] import_request_variables

2004-07-06 Thread Philip Olson
I get error : import_request_variables while I make a script to call a variable. This my header (in my script -- error) : import_request_variables( GPC ); anybody knows why this happen ? So, what's the exact error PHP gives you? Regards, Philip -- PHP General Mailing List

Re: [PHP] import_request_variables

2004-07-06 Thread David
Dear Philip, I got this error at browser : Fatal error: Call to undefined function: import_request_variables() in /var/www/html/zm.php on line 21 - Original Message - From: Philip Olson [EMAIL PROTECTED] To: Kalpin Erlangga Silaen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

Re: [PHP] import_request_variables

2004-07-06 Thread Philip Olson
I get error : import_request_variables while I make a script to call a variable. This my header (in my script -- error) : import_request_variables( GPC ); anybody knows why this happen ? So, what's the exact error PHP gives you? I got this error at browser :

Re: [PHP] import_request_variables

2004-07-06 Thread David
Dear Philip, Thank you for your suggestions, may I will upgrade my php to newer version for better results. Regards, Kalpin Erlangga Silaen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Sending PHP to different targeted frames

2004-07-06 Thread Jason Barnett
Robert Frame wrote: I've created a web page utilizing 3 frames (header, index, main). In the frame named 'main' I have a form setup for logging into a MySQL database. On a successful login I want to change the html in 'index' and 'main'. The active frame 'main' is easy, as the new html code will

Re: [PHP] user tracking

2004-07-06 Thread Andre Dubuc
Hi Chrsitian, If you're looking fro a web or static stats package, IMHO none better than: http://awstats.sourceforge.net/ (I've used other packages, but this is the most flexible.) Hth, Andre On Tuesday 06 July 2004 07:15 am, Christian Calloway wrote: Hey everybody, I am looking for some

[PHP] PHP page memory usage

2004-07-06 Thread Michael Gale
Hello, Is there a way to monitor or test out how much CPU / memory a php page uses ? I would like to find out how intensive some of my scripts are. Thanks. Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP page memory usage

2004-07-06 Thread Michael Sims
Michael Gale wrote: Hello, Is there a way to monitor or test out how much CPU / memory a php page uses ? I would like to find out how intensive some of my scripts are. Don't know about CPU, but you can get memory usage with this function:

[PHP] parse_ini_file VS. constructor with many parameters

2004-07-06 Thread Jason Barnett
I have a class definition that has a lot of private properties. These properties don't need to change often, in fact a user could probably just change the values once and forget about most of them. So this makes me think that I should use parse_ini_file and a configuration file to let users

[PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread Tony
Trying to use the following statement to upload a file via a form, when I use a variable $foo in the following statement it works correctly: if (copy($foo, ./$foo_name)) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly. Likewise I can obtain the file size,

Re: [PHP] parse_ini_file VS. constructor with many parameters

2004-07-06 Thread John W. Holmes
Jason Barnett wrote: I have a class definition that has a lot of private properties. These properties don't need to change often, in fact a user could probably just change the values once and forget about most of them. So this makes me think that I should use parse_ini_file and a

Re: [PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread John W. Holmes
Tony wrote: Trying to use the following statement to upload a file via a form, when I use a variable $foo in the following statement it works correctly: if (copy($foo, ./$foo_name)) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly. Likewise I can obtain the

Re: [PHP] using $$foo_name vs. $foo_name for file upload

2004-07-06 Thread raditha dissanayake
John W. Holmes wrote: Tony wrote: Trying to use the following statement to upload a file via a form, when I use a variable $foo in the following statement it works correctly: if (copy($foo, ./$foo_name)) {//blah... } The name of the file I am trying to upload $foo is evaluated correctly.