[PHP] variable array name

2007-11-29 Thread Mark Head
I seem to be having a problem in assigning a value to an array where the array is called dynamically. e.g. the physical name for the array is my_array, so: my_array[1] = test; works fine. $array_name = my_array; $array_name[1] = test; does not work. I have tried $$array_name[1] = test; but to

Re: [PHP] PHP Frameworks

2005-12-24 Thread Script Head
Nobody has mentioned Fusebox (www.fusebox.org). I have been using it to develop PHP applications for about 2 years. It has proven to be extremely flexible when a large number of developers collaborate on one project.

[PHP] OO: inheritance and function naming

2005-06-05 Thread Script Head
i have the following structure: class product { function create() { // db stuff } } class product_model { function create() { // db stuff } } class product_submodel { function create() { // db class } } i would like class product to extend class product_model and class

Re: [PHP] Re: CGI / PHP max_exec_time

2004-07-19 Thread Head
sorry my mistake i meant cli regards Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday 18 July 2004 16:28, Head wrote: next thing is - why does cgi php create sh zombies if its started from cron ? If you're invoking PHP from a shell then you really should

Re: [PHP] Re: CGI / PHP max_exec_time

2004-07-18 Thread Head
well, my problem was that the fopen hasn't timed out this means i dont have a valid fp to set set_stream_timeout on. Im using fsockopen now and everything should be ok. next thing is - why does cgi php create sh zombies if its started from cron ? regards Head Curt Zirzow [EMAIL PROTECTED

[PHP] CGI / PHP max_exec_time

2004-07-17 Thread Head
zombie php prozesses. any help/sugesstions ? thanks - Head -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: CGI / PHP max_exec_time

2004-07-17 Thread Head
mh i tracked the bug down to be an FOPEN on a URL so i need to set a timeout on FOPEN hows that possible ? Using php version 4.3.7 Head [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hello list, im running a php script from CLI/CGI on linux which has a variable execution time, some

[PHP] Weird Problem

2003-07-02 Thread The Head Sage
Hey, I've got a script which disables a banner image when it's time is up, the script also sends an e-mail to both me and the banners owner when the time is up I've got a problem which is really weird.. Everything else works, but when the query is sent to the MySQL database, nothing

Re: [PHP] who is on the page?

2003-03-23 Thread The Head Sage
What you might want to try is to set a cookie when the user first enters the page, but set it's length to 5 minutes. Then everytime the cookie is resent to the page you count it as a user. But if they leave, then the cookie destroy's itself. You can have the cookie reset it's self, or set to when

Re: [PHP] Mailing List Digest

2003-03-18 Thread The Head Sage
All the digest contains is all the normal e-mails all thrown into 1 huge e-mail. You would recieve about 2 digests per day, instead of 100+ single e-mails. Although i prefer the single e-mail system... - Original Message - From: Tom Sommer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [PHP] SMTP Authenticate

2003-03-15 Thread The Head Sage
If the SMTP server is running on your machine, or you have access to it's configuration. Create an e-mail address specificaly for PHP to mail from, as i had trouble authenticating. But if i created the mailer address as a local user on my SMTP server, it'd be allowed through. I believe it's a

Re: [PHP] Do query strings get spidered by Google?

2003-03-15 Thread The Head Sage
Last time i checked, Google does infact query strings. As some of my searches have lead to forums where the url is www.someurl.com/viewtopic.php?f=3t=345 ect. I also belive there is a tutorial somewhere on the internet which converts the variables into folders, so it looks like the article is in

[PHP] A few questions...

2003-03-01 Thread The Head Sage
so far, any tips, comments, ideas, questions even insults and flames are welcome! Also please reply to the address: [EMAIL PROTECTED] as i dont trust hotmail. Thanks in advance, - Daniel TheHeadSage Spain Founder of Voidsoft. Server Administrator of The Void Head of IRC Relations for Manga

Re: [PHP] Suggestions on FAQ application?

2003-01-11 Thread The Head Sage
I don't believe a FAQ application actualy has been written yet... I haven't seen one on Hotscript.com or PHP Resources. But if you have found one, please let me know as i'm interested in one as well. - Daniel TheHeadSage Spain Founder of Voidsoft. On 10 Jan 2003 at 21:51, Jeff Lewis wrote: