[PHP] Re: Need direction on PHP-CLI MUD Server

2004-09-02 Thread Pavel Jartsev
Don Myers wrote: ... B. Since the PHP-CLI script never ends how can I send the first echo "You have..."? Maybe flush() helps. http://www.php.net/manual/en/function.flush.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mail() function problem

2004-09-02 Thread Dre
is that mean that I don't really have to install any mail server or sendmail prgram on my testing server?? "Jasper Howard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > i use apache on my windows xp machine and have never gotten around to > settings up any kind of sendmail program,

Re: [PHP] mail() function problem

2004-09-02 Thread Dre
I'm developing uner Windows at home .. but I'm pretty sure that my host is running Unix or Unix like systems on their machines "Pahlevanzadeh Mohsen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Please install a mailserver until your SMTP server > will be up. > When your SMTP ser

Re: [PHP] Re: mail() function problem

2004-09-02 Thread Dre
Thank you Lone , I will try it out "Lone Wolf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What you need to do is set your SMTP server inside the php.ini file... > > > [mail function] > SMTP = smtp.server.com ; for win32 only > sendmail_from = [EMAIL PROTECTED] ; for win32 only

[PHP] Newbie: Validate Required Form Fields

2004-09-02 Thread Francis Chang
Hello All, I have a newbie question related to validating required Form fields. Suppose we have a two-step user registration process with scripts register1.php and register2.php, each page containing a set of required and non-required fields. In register1.php, when user submits the form, it call

Re: [PHP] Newbie: Validate Required Form Fields

2004-09-02 Thread Brent Clements
Use javascript on register1 rather than actually submitting the form to the server. It's the best way to do this, plus it's a bit quicker. If you have javascript questions, those are for another forum. -Brent - Original Message - From: "Francis Chang" <[EMAIL PROTECTED]> To: <[EMAIL PRO

[PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
Hi all, yeah, i know, i did do quite a bit of searching but I just cant find it... Does anyone have the regex to make sure an http address is full and without error? like http://www.example.com Much thanks ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Need direction on PHP-CLI MUD Server

2004-09-02 Thread Stut
On Thu, 02 Sep 2004 10:16:26 +0300, Pavel Jartsev <[EMAIL PROTECTED]> wrote: > Don Myers wrote: > > ... > > > > B. Since the PHP-CLI script never ends how can I send the first echo "You > > have..."? > > Maybe flush() helps. > http://www.php.net/manual/en/function.flush.php I always add the follo

[PHP] Checkbox Question

2004-09-02 Thread Nick Wilson
Hi all, Im using php's cURL module to submit a form on a remote site. All is *good* so far but i dont know what parameter to pass to ensure that this checkbox is 'checked': so, what is it? a= Thanks very much! -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Re: Newbie: Validate Required Form Fields

2004-09-02 Thread Harlequin
Francis I have a new web app that does exactly that. Page one has some mandatory fields. Page 2 checks these fields and tells the user to go back if they aren't complete. If they are complete then they are presented with page 2 and the fields it holds. -- - Michae

[PHP] Load Data Local Infile

2004-09-02 Thread Harlequin
I am using the following command and it appears to execute but does not actually load any data: LOAD DATA LOCAL INFILE 'public_html/CSV/act-export.csv' INTO TABLE MembersData FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; Any ideas what I might be missing...? The file exists, and I must ha

Re: [PHP] Handling XML output in a slim way

2004-09-02 Thread Markus Fischer
Raditha Dissanayake wrote: If it's not broken don't fix it. If what you are doing right now works stick with it because it consumes very little memory or CPU compared to DOM functions. You are right, it works. But I'm not satisified and up until now I've been dealing with very simple XML documen

[PHP] importNode

2004-09-02 Thread Sam Hobbs
I am trying to copy the body portion of a HTML file for use in the current page. I am using PHP 5.0.1. I think the following is close but not close enough; nothing gets imported by importNode. I assume this would be easy if I knew the DOM well enough; if someone else is then I hope this would b

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Stut
On Thu, 2 Sep 2004 10:59:20 +0200, Nick Wilson <[EMAIL PROTECTED]> wrote: > yeah, i know, i did do quite a bit of searching but I just cant find > it... > > Does anyone have the regex to make sure an http address is full and > without error? like http://www.example.com A quick google (php regex v

Re: [PHP] Exporting Dbase to CSV

2004-09-02 Thread Sam Hobbs
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > What, exactly, do you mean? A CSV file that resembles a spreadsheet? A > doc with CSV? The term "CSV" is very common; it means "Comma Separated Values". It is the format that originally was (and is) used by the Basic

Re: [PHP] Checkbox Question

2004-09-02 Thread Stephan Fiedler
Hi Nick, Nick Wilson wrote: Hi all, [...] so, what is it? a= [...] if a was checked "a=on" is posted (or 'get'ed) if not checked a isn't set. Thanks very much! You're welcome Stephan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then Stut declared > > Does anyone have the regex to make sure an http address is full and > > without error? like http://www.example.com > > A quick google (php regex validate url) found this... > > http://www.canowhoopass.com/guides/regex/ Yes, i saw that page. As I said, I have sea

[PHP] Re: importNode

2004-09-02 Thread Sam Hobbs
"Sam Hobbs" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I am trying to copy the body portion of a HTML file for use in the current >page. I am using PHP 5.0.1. > > I think the following is close but not close enough; nothing gets imported > by importNode. I assume this would be

Re: [PHP] Dynamic HTML Creation

2004-09-02 Thread Sam Hobbs
"Ramil Sagum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > given a template : > - > > User Information: > Name: {$name} > Address: {$address} > > - > and the php code: > > $smarty = new Smarty; > $smarty->assign('name', 'george smith'); > $smarty->assign('address'

Re: [PHP] Checkbox Question

2004-09-02 Thread M. Sokolewicz
Stephan Fiedler wrote: Hi Nick, Nick Wilson wrote: Hi all, [...] so, what is it? a= [...] if a was checked "a=on" is posted (or 'get'ed) if not checked a isn't set. Thanks very much! You're welcome Stephan that actually depends on the browser. Mayne browsers send a= when it's not checked (meani

RE: [PHP] Load Data Local Infile

2004-09-02 Thread Jay Blanchard
[snip] I am using the following command and it appears to execute but does not actually load any data: LOAD DATA LOCAL INFILE 'public_html/CSV/act-export.csv' INTO TABLE MembersData FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'; Any ideas what I might be missing...? The file exists, and I

RE: [PHP] Exporting Dbase to CSV

2004-09-02 Thread Jay Blanchard
[snip] "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > What, exactly, do you mean? A CSV file that resembles a spreadsheet? A > doc with CSV? The term "CSV" is very common; it means "Comma Separated Values". It is the format that originally was (and is) used by th

RE: [PHP] MSSQL, PHP and Linux

2004-09-02 Thread Jay Blanchard
[snip] On Thursday 02 September 2004 08:30, blackwater dev wrote: > the date is a very good question? Here is the info from my system > > -rwxr-xr-x1 root root 1371932 Sep 1 19:50 /usr/bin/php > > Not sure why its showing that date - Apache has been restarted. But that's probably yo

Re: [PHP] Load Data Local Infile

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 17:18, Harlequin wrote: > I am using the following command and it appears to execute but does not > actually load any data: > > LOAD DATA LOCAL INFILE 'public_html/CSV/act-export.csv' INTO TABLE > MembersData > FIELDS TERMINATED BY ',' > LINES TERMINATED BY '\n'; Is t

[PHP] Assign null value using php

2004-09-02 Thread T UmaShankari
Hello, Can any one tell me how to assign a null value to a php string?. I tried assigning empty single quote,backslash with zero,double quotes also. but nothing works.. Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 18:42, Nick Wilson wrote: > * and then Stut declared > > > > Does anyone have the regex to make sure an http address is full and > > > without error? like http://www.example.com Define FULL and WITHOUT ERROR. Without knowing what *you* mean by full & without erro

Re: [PHP] importing DBF data into mysql

2004-09-02 Thread PHP Junkie
Ave, This is undoubtedly exactly what I was looking for. What I don't understand is why its' not converting my DBF file. It gives a "Could not read File" error. It reads the dbf file that came with the script. I'm still trying to figure it out but it won't work... Thanks though. On 9/1/04 6:52

[PHP] Re: Assign null value using php

2004-09-02 Thread M. Sokolewicz
T Umashankari wrote: Hello, Can any one tell me how to assign a null value to a php string?. I tried assigning empty single quote,backslash with zero,double quotes also. but nothing works.. Regards, Uma $var = null; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

[PHP] Re: Assign null value using php

2004-09-02 Thread pete M
T Umashankari wrote: Hello, Can any one tell me how to assign a null value to a php string?. I tried assigning empty single quote,backslash with zero,double quotes also. but nothing works.. Regards, Uma $str = NULL; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] Assign null value using php

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 20:23, T UmaShankari wrote: > Can any one tell me how to assign a null value to a php string?. I tried > assigning empty single quote,backslash with zero,double quotes also. but > nothing works.. manual > Types > NULL -- Jason Wong -> Gremlins Associates -> www.g

Re: [PHP] Regex for Validating URL

2004-09-02 Thread John Holmes
From: "Nick Wilson" <[EMAIL PROTECTED]> Does anyone have the regex to make sure an http address is full and without error? like http://www.example.com (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)\. )*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(?:\d+)(?:\.(?:\d+) ){3}))

Re: [PHP] Assign null value using php

2004-09-02 Thread John Nichel
T UmaShankari wrote: Hello, Can any one tell me how to assign a null value to a php string?. I tried assigning empty single quote,backslash with zero,double quotes also. but nothing works.. Regards, Uma Use the manual, Luke. http://us4.php.net/manual/en/language.types.null.php -- By-Tor.com It'

Re: [PHP] Newbie: Validate Required Form Fields

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 16:37, Francis Chang wrote: > I have a newbie question related to validating required Form fields. > > Suppose we have a two-step user registration process with scripts > register1.php and register2.php, each page containing a set of required and > non-required fields

Re: [PHP] Newbie: Validate Required Form Fields

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 16:46, Brent Clements wrote: > Use javascript on register1 rather than actually submitting the form to the > server. It's the best way to do this, plus it's a bit quicker. If you have > javascript questions, those are for another forum. Yuo would use Javascript in add

RE: [PHP] importing DBF data into mysql

2004-09-02 Thread Jay Blanchard
[snip] This is undoubtedly exactly what I was looking for. What I don't understand is why its' not converting my DBF file. It gives a "Could not read File" error. It reads the dbf file that came with the script. I'm still trying to figure it out but it won't work... > > http://www.coolnet.cz/miro/

Re: [PHP] Regex for Validating URL

2004-09-02 Thread John Nichel
John Holmes wrote: From: "Nick Wilson" <[EMAIL PROTECTED]> Does anyone have the regex to make sure an http address is full and without error? like http://www.example.com (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)\. )*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(?:\d+

Re: [PHP] importing DBF data into mysql

2004-09-02 Thread Pablo M. Rivas
Let's try this: \n"; $temp = dbase_get_record($db,$i); print_r($temp); ?> this simple program should show you the fields of the record 1 of the file. if it works, let us know Pablo. On Thu, 02 Sep 2004 08:40:51 -0400, PHP Junkie <[EMAIL PROTECTED]> wrote: > Ave, > > This is undoubtedly exactly

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 20:52, John Holmes wrote: > From: "Nick Wilson" <[EMAIL PROTECTED]> > > > Does anyone have the regex to make sure an http address is full and > > without error? like http://www.example.com > > (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)\. > )*(

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then Jason Wong declared > It would be nice when asking a question to summarise what research you have > done. Instead of just saying I've looked and found nothing (or words to that > effect). bugger off jason, if you dont understand the question dont bore me with your silliness. --

[PHP] Re: Does this beginner's book exist?

2004-09-02 Thread Anthony Ritter
Chris Lott wrote in message: > I am looking for a new text for my beginning PHP...[snipped] ... Besides Larry's book - which is excellent - try David Sklar's book called "Learning PHP 5" (O'Reilly). Not too much on mySQL with PHP except for chapter 7 _however_ the whole book is groun

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then John Holmes declared > From: "Nick Wilson" <[EMAIL PROTECTED]> > > >Does anyone have the regex to make sure an http address is full and > >without error? like http://www.example.com > > (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)\. Pretty funny John.

[PHP] Re: Does this beginner's book exist?

2004-09-02 Thread Anthony Ritter
Chris Lott" <[EMAIL PROTECTED]> wrote in message: > I am looking for a new text for my beginning PHP and MySQL programming > class. This class is for COMPLETE beginners who have never programmed > before. I have used, in the past, PHP4: A Beginner's Guide and PHP for > the World Wide Web (Visual

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 21:08, John Nichel wrote: > What about NFS mounts? ;) What about them? Look carefully. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ---

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then John Nichel declared > John Holmes wrote: > >From: "Nick Wilson" <[EMAIL PROTECTED]> > > > >>Does anyone have the regex to make sure an http address is full and > >>without error? like http://www.example.com > > > > > >(?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d

Re: [PHP] My problem

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 07:58, Pahlevanzadeh Mohsen wrote: > $parameterforauth=array("dsn"=>"mysql://$username:[EMAIL PROTECTED]/mem", > "table"=>"usernames", > "usernamecol"=>"user", > "passwordcol"=>"pass"); If you

Re: [PHP] Load Data Local Infile

2004-09-02 Thread raditha dissanayake
Jason Wong wrote: On Thursday 02 September 2004 17:18, Harlequin wrote: I am using the following command and it appears to execute but does not actually load any data: LOAD DATA LOCAL INFILE 'public_html/CSV/act-export.csv' INTO TABLE MembersData FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'

RE: [PHP] Regex for Validating URL

2004-09-02 Thread Jay Blanchard
[snip] * and then Jason Wong declared > It would be nice when asking a question to summarise what research you have > done. Instead of just saying I've looked and found nothing (or words to that > effect). bugger off jason, if you dont understand the question dont bore me with your silliness

Re: [PHP] Regex for Validating URL

2004-09-02 Thread John Holmes
From: "Jason Wong" <[EMAIL PROTECTED]> > Does anyone have the regex to make sure an http address is full and > without error? like http://www.example.com (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)\. )*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(?:\d+)(?:\.(?:\d+) [sn

Re: [PHP] Regex for Validating URL

2004-09-02 Thread John Holmes
From: "Nick Wilson" <[EMAIL PROTECTED]> * and then Jason Wong declared It would be nice when asking a question to summarise what research you have done. Instead of just saying I've looked and found nothing (or words to that effect). bugger off jason, if you dont understand the question dont b

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then Jay Blanchard declared > Easy gentlemen...easy Fair play Jay. This is not my first encounter with mr.social.skills though ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then John Holmes declared > Seriously, I hope you were being sarcastic or something, Nick. Otherwise > the smart people on the list know how to use filters to tune out idiots. I think it's a clear question. I dread coming to this list in case Jason decides to 'tell me off' for somthing

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then John Holmes declared > From: "Nick Wilson" <[EMAIL PROTECTED]> > >* and then Jason Wong declared besides, i will not be treated that way by anyone without saying somthing. IMO some on this list need to get out a bit more, meet some people, aquire some manners and social skills.

[PHP] Session understanding

2004-09-02 Thread Michael Gale
Hello, Morning .. at least it is where I am :) I have a small issue with sessions, at the moment I am using sessions on our web site and storing the session information in a db_table. It is working great. Right now I am only storing the users ID, name and role in the session data, but I

Re: [PHP] Regex for Validating URL

2004-09-02 Thread John Nichel
Nick Wilson wrote: * and then Jason Wong declared It would be nice when asking a question to summarise what research you have done. Instead of just saying I've looked and found nothing (or words to that effect). bugger off jason, if you dont understand the question dont bore me with your sil

[PHP] trying to do too much with functions?

2004-09-02 Thread Justin French
I have a few functions with way too many parameters in them, or functions which have a non-obvious order of parameters which I constantly have to refer to as I'm working. Since I'm using PHP as my templating language (none smarty here!) as well as the programming language. So I've been lookin

Re: [PHP] Regex for Validating URL

2004-09-02 Thread John Nichel
Jason Wong wrote: On Thursday 02 September 2004 21:08, John Nichel wrote: What about NFS mounts? ;) What about them? Look carefully. I don't know if I have that much time. :) -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Justin French
On 02/09/2004, at 11:27 PM, Nick Wilson wrote: * and then Jason Wong declared It would be nice when asking a question to summarise what research you have done. Instead of just saying I've looked and found nothing (or words to that effect). bugger off jason, if you dont understand the question

Re: [PHP] Regex for Validating URL

2004-09-02 Thread John Nichel
Jay Blanchard wrote: Easy gentlemen...easy Who you callin' a gentleman?!?! -- By-Tor.com It's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Nick Wilson
* and then Justin French declared > On 02/09/2004, at 11:27 PM, Nick Wilson wrote: > > >* and then Jason Wong declared > >>It would be nice when asking a question to summarise what research > >>you have > >>done. Instead of just saying I've looked and found nothing (or words > >>to that

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Octavian Rasnita
I have taken a look and I have seen a {3} and I think this was for specifying the number of letters of the top domain name. Well, I think it should be {4} for making it work for .info domains also... T Teddy - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "Jason Wong" <

Re: [PHP] Need direction on PHP-CLI MUD Server

2004-09-02 Thread Jim Grill
> Hello, I have been banging my head trying to figure out how to design a MUD > Server using PHP-CLI as the server and PHP-CLI as the "command" language. > (telnet front end at this point) > > but > > The real problem is full interaction with the user in those external > commands (php-cli scrip

[PHP] Re: MSSQL, PHP and Linux

2004-09-02 Thread Jon Bertsch
I didn't see it mentioned but if you don't do a 'make clean' command php will not update the info used by php_info(), so you see the old information. I've recently set up access to mssql databases and as repeated by many you need to do the following: install freetds libraries (in my case to /us

[PHP] ftp functions not working

2004-09-02 Thread Cory D. Wiles
I am writing some backup scripts that will ftp my *.gz files to my ftp server. Unfortunately I didn't originally install php with ftp support (oversight on my part). I reconfigured/installed PHP with --enable-ftp and restarted everything, but the functions still don't work. #!/usr/local/bin/php

Re: [PHP] Re: Does this beginner's book exist?

2004-09-02 Thread blackwater dev
I have one on the shelf that I have never read titled: PHP/MySQL Programming for the Absolute Beginner, no Experience Required which might be worth a look. Looks like they have one for php5 now also http://premierpressbooks.com/ptr_detail.cfm?group=Programming&subcat=SQL&isbn=1%2D59200%2D494%2D6

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 22:10, Nick Wilson wrote: > * and then John Holmes declared > > > Seriously, I hope you were being sarcastic or something, Nick. Otherwise > > the smart people on the list know how to use filters to tune out idiots. > > I think it's a clear question. I dread coming

Re: [PHP] Session understanding

2004-09-02 Thread John Holmes
From: "Michael Gale" <[EMAIL PROTECTED]> I have a small issue with sessions, at the moment I am using sessions on our web site and storing the session information in a db_table. It is working great. Right now I am only storing the users ID, name and role in the session data, but I would like to s

[PHP] Statistics

2004-09-02 Thread Daniel Schierbeck
I'm trying to develop a set of functions that can handle the statistics of a website. I want them to be as flexible as possible, and i want to be able to have several different "views" (day, week, month, year). For example if i wanted to know how many visitors, visits and page hits there was ea

Re: [PHP] Session understanding

2004-09-02 Thread Michael Gale
Hello, The site is for a ticket tracking system, if a CSR has a window open and is working on company A - I would like to save some information about company A in a session variable. Since the session is stored in the DB I figured it was save. Then if the CSR need to look up another comp

Re: [PHP] trying to do too much with functions?

2004-09-02 Thread John Holmes
From: "Justin French" <[EMAIL PROTECTED]> I have a few functions with way too many parameters in them, or functions which have a non-obvious order of parameters which I constantly have to refer to as I'm working. Since I'm using PHP as my templating language (none smarty here!) as well as the p

RE: [PHP] Regex for Validating URL

2004-09-02 Thread Justin Palmer
I agree Nick for an open source community this list is not very open. Quite a few "I am better than you" type people on the list. How does that make the beginner feel? I better not ask a question, for I fear that I will get flamed. What a joke! There are many other places to go and get good a

RE: [PHP] Session understanding

2004-09-02 Thread Dan Joseph
> I have a small issue with sessions, at the moment I am using > sessions on our web site and storing the session > information in a db_table. It is working great. Right now I am only > storing the users ID, name and role in the session > data, but I would like to store other information as w

Re: [PHP] Session understanding

2004-09-02 Thread John Holmes
From: "Michael Gale" <[EMAIL PROTECTED]> The site is for a ticket tracking system, if a CSR has a window open and is working on company A - I would like to save some information about company A in a session variable. Since the session is stored in the DB I figured it was save. Then if the CSR nee

RE: [PHP] Regex for Validating URL

2004-09-02 Thread Justin Palmer
Maybe what this community needs is an advanced mailing list. I think that these types of attitudes just make the new user to php stray away. If we had a section beginners list that if people asked dumb questions, or questions that are stated dumb, some people would take the time to help the newbie

Re: [PHP] print at a specific time

2004-09-02 Thread devil_online
thanks... On Wed, 1 Sep 2004 22:18:30 -0500, Brent Clements <[EMAIL PROTECTED]> wrote: Sorry forgot to enclose the variable values. doh! I needs more coffee! -Brent - Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "Brent Clements" <[EMAIL PROTECTED]> Cc: "devil_online" <[

Re: [PHP] print at a specific time

2004-09-02 Thread devil_online
thanks On Wed, 1 Sep 2004 22:18:30 -0500, Brent Clements <[EMAIL PROTECTED]> wrote: -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session understanding

2004-09-02 Thread raditha dissanayake
Michael Gale wrote: Hello, Morning .. at least it is where I am :) good evening. Close to 10:00pm in tropical paradise (Sri Lanka in case you don't know where that is ) I have a small issue with sessions, at the moment I am using sessions on our web site and storing the session information in

[PHP] Re: trying to do too much with functions?

2004-09-02 Thread Torsten Roehr
"Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have a few functions with way too many parameters in them, or > functions which have a non-obvious order of parameters which I > constantly have to refer to as I'm working. Since I'm using PHP as my > templating langua

Re: [PHP] trying to do too much with functions?

2004-09-02 Thread raditha dissanayake
Justin French wrote: I have a few functions with way too many parameters in them, or functions which have a non-obvious order of parameters which I constantly have to refer to as I'm working. Since I'm using PHP as my templating language (none smarty here!) as well as the programming language.

Re: [PHP] importing DBF data into mysql

2004-09-02 Thread PHP Junkie
Ave, It was the permissions issue. Although even before I used the script, I knew permissions would play a role so I had set the permissions appropriately. Unfortunately I didn't set them for an enclosed folder where I was storing the DBF file. Anyhow, it's working now... Thanks a ton! On 9/

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Curt Zirzow
* Thus wrote Nick Wilson: > > * and then John Holmes declared > > From: "Nick Wilson" <[EMAIL PROTECTED]> > > > > >Does anyone have the regex to make sure an http address is full and > > >without error? like http://www.example.com > > > > (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-

[PHP] Re: Session understanding

2004-09-02 Thread Torsten Roehr
"Michael Gale" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > Morning .. at least it is where I am :) > > I have a small issue with sessions, at the moment I am using sessions on our web site and storing the session > information in a db_table. It is working great. Right n

Re: [PHP] Checkbox Question

2004-09-02 Thread Curt Zirzow
* Thus wrote Nick Wilson: > Hi all, > > Im using php's cURL module to submit a form on a remote site. All is > *good* so far but i dont know what parameter to pass to ensure that > this checkbox is 'checked': > > TIAS. a=http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] trying to do too much with functions?

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 22:11, Justin French wrote: > I have a few functions with way too many parameters in them, or > functions which have a non-obvious order of parameters which I > constantly have to refer to as I'm working. Since I'm using PHP as my > templating language (none smarty he

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 22:15, Justin French wrote: > No, Jason was right (in his usual, abrupt, rude kinda way). abrupt -- maybe, rude -- no I usually reserve my more elegant prose for my sweetheart. > Good questions get good answers. Good advice. -- Jason Wong -> Gremlins Associates

[PHP] php does not get variable values in POST method

2004-09-02 Thread Leticia Campos
I developed an html/php form in a Php version 4.0.6, working fine, but when a moved the files to another web server with Php 4.3.2 the file procesaadmision.php called in the Post method does not get any of the input html variables defined in the calling form. Thanks for any help Leticia Campos

Re: [PHP] trying to do too much with functions?

2004-09-02 Thread Robby Russell
On Thu, 2004-09-02 at 07:11, Justin French wrote: > I have a few functions with way too many parameters in them, or > functions which have a non-obvious order of parameters which I > constantly have to refer to as I'm working. Since I'm using PHP as my > templating language (none smarty here!)

Re: [PHP] Handling XML output in a slim way

2004-09-02 Thread Manuel Lemos
Hello, On 09/02/2004 06:25 AM, Markus Fischer wrote: If it's not broken don't fix it. If what you are doing right now works stick with it because it consumes very little memory or CPU compared to DOM functions. You are right, it works. But I'm not satisified and up until now I've been dealing w

Re: [PHP] ftp functions not working

2004-09-02 Thread Marek Kilimajer
Cory D. Wiles wrote: I am writing some backup scripts that will ftp my *.gz files to my ftp server. Unfortunately I didn't originally install php with ftp support (oversight on my part). I reconfigured/installed PHP with --enable-ftp and restarted everything, but the functions still don't work.

Re: [PHP] Newbie: Validate Required Form Fields

2004-09-02 Thread Manuel Lemos
Hello, I have a newbie question related to validating required Form fields. Suppose we have a two-step user registration process with scripts register1.php and register2.php, each page containing a set of required and non-required fields. In register1.php, when user submits the form, it calls regi

Re: [PHP] Regex for Validating URL

2004-09-02 Thread Manuel Lemos
Hello, From: "Nick Wilson" <[EMAIL PROTECTED]> Does anyone have the regex to make sure an http address is full and without error? like http://www.example.com Usually I use this expression: '^(http|https)\://(([-!#\$%&\'*+.0-9=?A-Z^_`a-z{|}~^?]+\.)+[A-Za-z]{2,6})(\:[0-9]+)?(/)?/' You may also want t

Re: [PHP] ftp functions not working

2004-09-02 Thread Jason Wong
On Thursday 02 September 2004 22:43, Cory D. Wiles wrote: > #!/usr/local/bin/php > During the make I didn't see any errors. When I ran phpinfo() > [http://www.randomthoughtprocess.com/info.php] it shows that I have FTP > support. Is there something that I am missing? You're using php-cli. What

[PHP] Windows user authentication thru PHP and Apache

2004-09-02 Thread Merritt, David
All, Wanting to build a login page which uses the same user information as the user's Windows account. Is there a way to validate a user's login information against the primary Windows domain controller using PHP and Apache? Searching the archives all I'm finding is how to do this with PHP &

[PHP] Locate compiled PHP (Zend) Scripts

2004-09-02 Thread Alexander Rehbein
Hi, does anyone know, how I can easily determine which websites are using compiled PHP-Scripts. I have to check our webserver, based on BSD and Apache, for these Scripts. Would appreciate any suggestions from you! Thank you Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] this is a test

2004-09-02 Thread Octavio Herrera
this is a test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php does not get variable values in POST method

2004-09-02 Thread Thomas Seifert
On Thu, 02 Sep 2004 09:03:34 -0700, Leticia Campos wrote: > I developed an html/php form in a Php version 4.0.6, working fine, but when > a moved the files to another web server with Php 4.3.2 the file > procesaadmision.php called in the Post method does not get any of the input > html variables

Re: [PHP] Statistics

2004-09-02 Thread raditha dissanayake
Daniel Schierbeck wrote: I'm trying to develop a set of functions that can handle the statistics of a website. I want them to be as flexible as possible, and i want to be able to have several different "views" (day, week, month, year). For example if i wanted to know how many visitors, visits a

Re: [PHP] Session understanding

2004-09-02 Thread raditha dissanayake
Michael Gale wrote: Hello, The site is for a ticket tracking system, if a CSR has a window open and is working on company A - I would like to save some information about company A in a session variable. Since the session is stored in the DB I figured it was save. Then if the CSR need to l

Re: [PHP] ftp functions not working

2004-09-02 Thread Michal Migurski
#!/usr/local/bin/php output when ran: 'Damn' During the make I didn't see any errors. When I ran phpinfo() [http://www.randomthoughtprocess.com/info.php] it shows that I have FTP support. Is there something that I am missing? The version of PHP you're running on the command-line may or may not

[PHP] this is a test

2004-09-02 Thread Octavio Herrera
this is a test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] this is a test

2004-09-02 Thread Octavio Herrera
this is a test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   >