[PHP] Re: function over loading?

2002-05-12 Thread Smileyq
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Kris Vose) wrote: Can you practice function over-loading in php? Kris No you cannot overload in PHP. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Passing Variables with register_globals Off?

2002-04-24 Thread Smileyq
but be secure about it too. Any help would be great thanks!. -Smileyq -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Mailing to numerous with mail()

2002-04-24 Thread Smileyq
You can do two things.. First you can use $to = [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]; or you could use a loop such as for or while to mail to each address using a function or not whatever way you wanted to. In article 009a01c1eb9c$9b5cf2b0$6501a8c0@gandalf, [EMAIL

[PHP] session_start() times and resets?

2002-04-24 Thread Smileyq
a way to set something like this up so that if they choose not to come back for a period of time the session will delete but if they do come back it will just reset for another week . If i'm just blabbing at the mouth and this doesn't make any sense let me know. Thanks for the help. --Smileyq

[PHP] Calling pg_connect from a class included..

2002-04-21 Thread Smileyq
I have recently been trying to create a class called Database with methods inside it to ease my coding with web applications. I've noticed though when I create an object from the class like $x = new Database(); Then try to call the connectDB() method (function we call it in PHP) like so

[PHP] Re: constructor in php4?

2002-04-21 Thread Smileyq
Well its going to execute from the class in which you created the object thats how OOP works. In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Bob) wrote: the manual says:the function A will be called. in fact, the function B is called. why? my config : win98/pws2/php411(CGI) ?php

[PHP] Re: Classes??

2002-04-21 Thread Smileyq
yes you can put as many classes as you want inside a file doesn't matter. In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Gerard Samuel) wrote: Maybe a simple question. But can one file contain 2 or more classes?? Thanks -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Calling pg_connect from a class included..

2002-04-21 Thread Smileyq
disconnectDb method }// end class Database In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Smileyq) wrote: I have recently been trying to create a class called Database with methods inside it to ease my coding with web applications. I've noticed though when I create an object from

[PHP] Quick File_Upload Example?

2001-09-10 Thread Smileyq
After reading about file uploading on the PHP website it doesn't actually give an example to use for testing purposes. Can somebody provide me with a very simple and basic file upload example that I can start from and work with. Thanks for any help ahead of time. -Smileyq -- PHP General

[PHP] Getting a script to download files from an ftp server?

2001-09-10 Thread Smileyq
I'm attempting to write a script to download files from a ftp server. Basically what will need to be done is this. The website will have a searchable database and once the selected items are found will have a download link. From this I would like to click on the download link and sent that to

[PHP] Assigning PHP Session ID's as cookie with a time set to it?

2001-09-05 Thread Smileyq
Hello all, While everything seems to be working fine in my pages I would really like to learn to how set up sessions id's a different way other than at the begining of each session. Right now it assigns a session ID per session with the cookie value of PHPSESSID. Is there a way I can