Re: [PHP] varible

2004-04-13 Thread edwardspl
Chris W. Parker wrote: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ??on Monday, April 12, 2004 8:32 AM said: Is there a solution ( without open global ) , then send the value of the varible of list.php to view.php ? you can put the variables in $_SESSION or pass them via the querystring.

[PHP] Form variable can't transfer to web page

2004-04-13 Thread Morris Law
Dear all PHP users, I have installed a new web server for PHP scripting. I wrote a PHP form page to submit some variables to another PHP pages. After submission, I found that the variables cannot be echoed out. The scripts are as simple like these, !-- hello2.php-- body ?php print form

[PHP] class design

2004-04-13 Thread Andy B
hi... i was reading something on phppatterns website about class design. the reading said that its best to take say a db extraction class that you might want to write and instead of making one super huge class out of it called db or whatever it would be called but to turn that db class into a

Re: [PHP] Form variable can't transfer to web page

2004-04-13 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 13 Apr 2004 06:11, Morris Law wrote: Dear all PHP users, I have installed a new web server for PHP scripting. I wrote a PHP form page to submit some variables to another PHP pages. After submission, I found that the variables cannot

[PHP] PHP Web-Chat Software

2004-04-13 Thread Galen
Hi PHP people, I'm looking for PHP-based chat software. This is more of casual thing, otherwise I'd go out and write my own that works exactly the way I want, but I just don't have the time. I've tried several packages, and every single one has very significant browser problems. The problems

Re: [PHP] Call to undefined function: dbase_open()

2004-04-13 Thread Joukje de Haan
Yes, the ./configure string includes enable-dbase. But that's the only place I see the word dbase on the page. John Nichel wrote: Joukje wrote: Hi, I tried to open a dbf with, but I got an error message: Call to undefined function: dbase_open(). PHP was compiled (on linux) with the

Re: [PHP] PHP Web-Chat Software

2004-04-13 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Galen, On Tuesday 13 Apr 2004 07:12, Galen wrote: Hi PHP people, I'm looking for PHP-based chat software. This is more of casual thing, otherwise I'd go out and write my own that works exactly the way I want, but I just don't have the

Re: [PHP] PHP Web-Chat Software

2004-04-13 Thread Galen
Elfyn, I've seen stuff like that. The problem comes in with the refreshing: 1) many browsers flicker when a refresh happens 2) refreshes must occur very frequently to make chat window feel responsive 3) frequent refreshes make window flicker annoyingly often on some browsers I'm poking around

Re: [PHP] PHP Web-Chat Software

2004-04-13 Thread Terence
I got this from the manual (i think): ?php ob_end_flush(); while (10==10) { // cool while loop // get here som lines from a dbase or something flush(); sleep(1); } ? This just continues a while loop until the script times out. We currently use the refresh method but evaluating this as an

Re: [PHP] class design

2004-04-13 Thread Kelly Hallman
Apr 13 at 2:24am, Andy B wrote: instead of making one super huge class.. turn that class into a bunch of mini classes. DbConnect, DbError, DbQuery, DbResult and so on... Right; chances are if you had all the functionality in one class, it's going to be pretty identical to writing it without

Re: [PHP] PHP Web-Chat Software

2004-04-13 Thread Kelly Hallman
Apr 13 at 4:04pm, Terence wrote: ?php ob_end_flush(); while (10==10) { // cool while loop /* ... */ flush(); sleep(1); } ? Not sure I see the efficacy of this approach for the problem at hand, but what gets me is the cool while loop :) 10==10 is always going to evaluate true, and I realize

[PHP] SsH

2004-04-13 Thread Brent Clark
Does anybody know if theirs a function or something for php that when I click a button it automatically sshes into a box runs a script and then exits? Ive seen it been done in java but php would be better. Kind Regards Brent Clark

[PHP] Javascript help

2004-04-13 Thread Brent Clark
Hi all I know this is not a Javascript mailing list, and I do apologies. I have this problem where in my php and I know very little javascript that I execute a function to create a window. But I need to know if anyone knows of the function to kill that window, once one of my other functions is

Re: [PHP] Javascript help

2004-04-13 Thread Richard Davey
Hello Brent, Tuesday, April 13, 2004, 11:28:55 AM, you wrote: BC I have this problem where in my php and I know very little BC javascript that I execute a function to create a window. BC But I need to know if anyone knows of the function to kill BC that window, once one of my other functions is

RE: [PHP] SsH

2004-04-13 Thread Clifford W. Hansen
Does anybody know if theirs a function or something for php that when I click a button it automatically sshes into a box runs a script and then exits? Ive seen it been done in java but php would be better. `ssh [EMAIL PROTECTED] scriptname` Something like that will work using backticks, the only

[PHP] PHP time zone

2004-04-13 Thread nabil
how can get a specific time zone, not the server time. example: if the server time is 13:15:46 I need to output that time +5hours so 18:15:46 because the hosting server time is not my local or other area time.. thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] PHP time zone

2004-04-13 Thread Red Wingate
Best: use gmmktime() and add the required offset by: $time_here = gmmktime() + ( $offset * 60 * 60 ) ; how can get a specific time zone, not the server time. example: if the server time is 13:15:46 I need to output that time +5hours so 18:15:46 because the hosting server time is not my

Re: [PHP] SQLite /how can I install on an Apache virtual host?

2004-04-13 Thread Al
Many thanks. Several good points you made. I should recompile rather than use just any old binary. I found it on the net. I wasn't clear how to tell the php.ini how to interpret the extension. I can't to run command lines on the host, so its a bit of a bother to compile stuff there. I've

[PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Keith
Hi all Can anyone tell me what would cause intermittent problems downloading files using ftp_get. I have a php file that regularly connects to a number of servers in turn using php's (ftp functions) and downloads files using ftp_get(...). This usually works but often it just fails to download a

Re: [PHP] PHP time zone

2004-04-13 Thread Tom Rogers
Hi, Tuesday, April 13, 2004, 9:29:19 PM, you wrote: n how can get a specific time zone, not the server time. n example: n if the server time is 13:15:46 I need to output that time +5hours n so 18:15:46 n because the hosting server time is not my local or other area time.. n thanks I have

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Red Wingate
Maybe the max number of connections to the FTP server is reached? My provider allows only up to 3 FTP connections at the same time which causes similar problems to my scripts :-) -- red [...] Can anyone tell me what would cause intermittent problems downloading files using ftp_get. I have a

Re: [PHP] Call to undefined function: dbase_open()

2004-04-13 Thread William Lovaton
May be you should load the corresponding extension in your php.ini and restart the web server. Something like this: extension=dbase.so Then look back at your phpinfo(), you should see information about that module. -William El mar, 13-04-2004 a las 02:26, Joukje de Haan escribió: Yes, the

[PHP] Getting the barcode

2004-04-13 Thread Brent Clark
Hi All I have asked this question before, and the solution was partyly solved, I hope hope someone can help me again. I have a binary file ( readbar ) that I execute with exec(). and it give me an output as so: readbar file Key1 is 4 barcodes found Code 39-10301535 Code 39-10301536 Code

RE: [PHP] Getting the barcode

2004-04-13 Thread Jay Blanchard
[snip] Key1 is 4 barcodes found Code 39-10301535 Code 39-10301536 Code 39-10301537 Code 39-10301538 [/snip] wouldn't substr work? http://www.php.net/substr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Getting the barcode

2004-04-13 Thread Jay Blanchard
[snip] Hi I dont think so. This is basically one file read, that outputs many results. with a carriage return at the end So every line begins with Code39 I did a gettype() and I got a result of string. [/snip] If each line begins with Code39- and looks like Code39-10301535 $theBarCode =

[PHP] Tables in a pdf files

2004-04-13 Thread Jean-Marie Ferdègue
Hi, I would like to generate a table in a pdf file. Typically my application is : i have a directory of members which is stored as an sql table and i would like to offer the visitor the possibility to download this directory as a pdf file. So the pdf file should just be an organised list of

RE: [PHP] Tables in a pdf files

2004-04-13 Thread Hawkes, Richard
I would like to generate a table in a pdf file. These appeared on Google when I typed 'PHP PDF' http://www.php.net/manual/en/ref.pdf.php http://www.easysw.com/htmldoc/pdf-o-matic.php == This message is for the sole use

Re: [PHP] Tables in a pdf files

2004-04-13 Thread Jeremy Clifton
On Apr 13, 2004, at 9:10 AM, Jean-Marie Ferdègue wrote: Hi, I would like to generate a table in a pdf file. I would recommend the PDF class you can find here: http://www.ros.co.nz/pdf/ It has support for tables and is pretty easy to use, from my experience. Previously, I had used another

RE: [PHP] Tables in a pdf files

2004-04-13 Thread Jason Sheets
Also take a look at the fpdf class, it is a pdf generator written in PHP that is free for use. Implenting the PDF library in PHP results in slightly lower performance but greater portability because the client doesn't need third party libraries installed and free commercial use, pdflib requires

Re: [PHP] how do I make a script wait ?

2004-04-13 Thread Damian Brown
I have now set the sleep to 10 seconds and it is still executing the lower code before finishing doing the search of the database it must be sleeping during the search and so the sleep command has no effect I need to make it wait before executing the array sorting any workaround ? --

Re: [PHP] how do I make a script wait ?

2004-04-13 Thread Curt Zirzow
* Thus wrote Damian Brown ([EMAIL PROTECTED]): I have now set the sleep to 10 seconds and it is still executing the lower code before finishing doing the search of the database it must be sleeping during the search and so the sleep command has no effect I need to make it wait before

Re: [PHP] how do I make a script wait ?

2004-04-13 Thread Curt Zirzow
* Thus wrote Damian Brown ([EMAIL PROTECTED]): The code is shown below ... $key=1 ; while ($row=mysql_fetch_row($result)){ ? ?php mysql_query(INSERT INTO searchsorting (username,bid) VALUES ( ' $row[5] ' , ' $row[6] ' )); $a = array( $key = $row[6] ); $key=$key + 1 ; ? btw, $a will only

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Raditha Dissanayake
Keith wrote: Hi all Can anyone tell me what would cause intermittent problems downloading files using ftp_get. I have a php file that regularly connects to a number of servers in turn using php's (ftp functions) and downloads files using ftp_get(...). This usually works but often it just fails

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Keith
Hi Red Thanks, I had wondered about connection limitations, but frankly I'd be surprised if that were the problem. But as we are on this subject, I use proftpd and the MaxClients value is not set yet. As I understand it I can set MaxClients to 'none' which removes any maximum restriction. But what

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Keith
Well the servers do indeed have firewalls! But why would this be intermittent and how can I get around this WITHOUT removing the firewall :) Thanks K Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Keith wrote: Hi all Can anyone tell me what would cause

[PHP] Recomedation for 2 scripts

2004-04-13 Thread Ryan A
Hi, I'm looking for 2 scripts and was wondering if anybody can recomend them: 1. Ticketing system - I found one that seems pretty good after spending quite some time on hot scritps and google, its called RT and can be downloaded off bestpractical.com/rt/ thing I dont like is it is very dependant

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Raditha Dissanayake
Keith wrote: Well the servers do indeed have firewalls! But why would this be intermittent and how can I get around this WITHOUT removing the firewall :) FTP operates on two ports, the first is for the control connection and it's on 21, the second one is for data connections and it's chosen

RE: [PHP] Recomedation for 2 scripts

2004-04-13 Thread Nunners
Hi Ryan, Try this site: http://Php.resourceindex.com It's normally got most things you might need Nunners -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: 13 April 2004 15:58 To: [EMAIL PROTECTED] Subject: [PHP] Recomedation for 2 scripts Hi, I'm looking

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Curt Zirzow
* Thus wrote Keith ([EMAIL PROTECTED]): Well the servers do indeed have firewalls! But why would this be intermittent and how can I get around this WITHOUT removing the firewall :) ftp servers behind firwalls tend to require PASV to be on. check out http://php.net/ftp_pasv Curt -- I used to

Re: [PHP] Getting the barcode

2004-04-13 Thread Red Wingate
it's preg_match_all Am Dienstag, 13. April 2004 15:05 schrieb Brent Clark: Hi All I have asked this question before, and the solution was partyly solved, I hope hope someone can help me again. I have a binary file ( readbar ) that I execute with exec(). and it give me an output as so:

Re: [PHP] Re: commercial autoresponses (was Re: [PHP] Wanted: ...)

2004-04-13 Thread -{ Rene Brehmer }-
At 16:40 12-04-2004, David T-G wrote: Hi again, all -- ...and then David T-G said... % ... % Any recommendations? I was amazed to receive from this - an entirely-in-German post apparently wishing me a happy Easter - a note from Credit Suisse letting me know they'd process my request - a

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Keith
But that's just it , I am using ftp_pasv($idconn, true) and yes I have placed it after the connection and login statement. Any other ideas? K Curt Zirzow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] * Thus wrote Keith ([EMAIL PROTECTED]): Well the servers do indeed have

Re: [PHP] intermittent problems using ftp_get ...Help!

2004-04-13 Thread Raditha Dissanayake
Keith wrote: But that's just it , I am using ftp_pasv($idconn, true) and yes I have placed it after the connection and login statement. refer my other post about random ports. -- Raditha Dissanayake. - http://www.radinks.com/print/upload.php SFTP,

[PHP] converting string to monetary format

2004-04-13 Thread Kristopher Spencer-Yates
Simple problem... I want to manipulate with PHP function to get desired output below. $var=59.9 Desired Output: $var=59.90 I thought number_format would do the trick but no way, unless I just missed something.. ? Any quick way to do this using a built in PHP function? I could do it the

RE: [PHP] converting string to monetary format

2004-04-13 Thread Jay Blanchard
[snip] Simple problem... I want to manipulate with PHP function to get desired output below. $var=59.9 Desired Output: $var=59.90 I thought number_format would do the trick but no way, unless I just missed something.. ? [/snip] it is number_format http://www.php.net/number_format

Re: [PHP] converting string to monetary format

2004-04-13 Thread Chris Boget
it is number_format http://www.php.net/number_format pedantry You can also use either of the following: http://us2.php.net/manual/en/function.sprintf.php http://us2.php.net/manual/en/function.printf.php echo sprintf( '%.02f', 59.9 ); /pedantry Chris -- PHP General Mailing List

Re: [PHP] Store e-mail in DB

2004-04-13 Thread MadHD
- Original Message - From: Raditha Dissanayake To: MadHD Cc: [EMAIL PROTECTED] Sent: Saturday, April 10, 2004 3:53 PM Subject: Re: [PHP] Store e-mail in DB MadHD wrote: Hi, i'm searching some script that can read e-mails with attachments from an account pop3 and that store them in a

RE: [PHP] Recomedation for 2 scripts

2004-04-13 Thread Ryan A
Hey, Tried that, hot scripts, google, script search etc...need recomendation/s on what you think is good. Cheers, -Ryan On 4/13/2004 5:02:33 PM, Nunners ([EMAIL PROTECTED]) wrote: Hi Ryan, Try this site: http://Php.resourceindex.com It's normally got most things you might need

Re: [PHP] SsH

2004-04-13 Thread David T-G
Brent -- ...and then Brent Clark said... % % Does anybody know if theirs a function or something for php that when I % click a button it automatically sshes into a box runs a script and then % exits? Ive seen it been done in java but php would be better. If you want to connect from the *server*

AW: AW: [PHP] After calling a Function the Script aborts withoutanyerror :-\

2004-04-13 Thread Ben
to show all the code would be too much but some parts where the error happens are here. now i tried with function_exists.. define('SMARTY_DIR', 'smarty/'); require_once(SMARTY_DIR.'Smarty.class.php'); require_once(ichain/ua_index.php);

Re: [PHP] I need some help And the people at the Bug section pointed me to you

2004-04-13 Thread David T-G
Hi! ...and then [EMAIL PROTECTED] said... % % Im a collage student Now that's an interesting one... ... % on the make install is where I got the error ... % % Reproduce code: % --- ... % chmod 755 /www/modules/libphp5.so % chmod: failed to get attributes of

[PHP] Re: Javascript help

2004-04-13 Thread Gerben
to open window: window.open ('test.html','winname') to close window: window.open ('','winname').close() Brent Clark [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all I know this is not a Javascript mailing list, and I do apologies. I have this problem where in my php and I know

Re: [PHP] PHP Web-Chat Software

2004-04-13 Thread Galen
Hi, You guys are all making some great suggestions. I think that javascript option (hidden frame) would work pretty well. I've done stuff like that on a project, though for a different purpose. However, I'm not really looking to write my own chat software right now. Maybe I will if it's

[PHP] Why not use assertions for input validation?

2004-04-13 Thread Fraser Campbell
Hi, An article was recently published in Linux Journal entitled Real-World PHP Security. Assertions are mentioned in the article as a way to enforce validity of input. I didn't even realize that php had assertions so I investigated a little further ... PHP docs on the assert function

Re: AW: AW: [PHP] After calling a Function the Script aborts withoutanyerror :-\

2004-04-13 Thread William Lovaton
Hi Ben, Pretty weird problem... let's see, El mar, 13-04-2004 a las 11:08, Ben escribió: now i tried get_included_files() that shows me all the files that i wanted to include correctly. but in the list of get_defined_functions(), in the user list are just some, but not all the functions,

[PHP] automatic doc generation for classes

2004-04-13 Thread Andy B
does anybody have any good recommendations for anything to do auto doc generation for php classes/functions and stuff.. like phpdoc or something of that sort? what ones are the best to use for windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Why not use assertions for input validation?

2004-04-13 Thread William Lovaton
Well, what ever I say might be wrong because I'm not an expert in assertions. First of all, I didn't know that PHP had assertions... so, cool! :-) Second, I know that assertions are used in non-interpreted languages, like C for example, and it gives a way to make some kind of debugging when the

Re: [PHP] automatic doc generation for classes

2004-04-13 Thread William Lovaton
Give phpxref a try, it is nice. it is on sf.net -William El mar, 13-04-2004 a las 14:10, Andy B escribió: does anybody have any good recommendations for anything to do auto doc generation for php classes/functions and stuff.. like phpdoc or something of that sort? what ones are the best

Re: [PHP] Can't copy a variable from one session to another?

2004-04-13 Thread Scott Bronson
On Fri, 2004-04-09 at 16:01, Robert Cummings wrote: If they're both on the same server then there's nothing stopping you from loading Suirrel mail's session data in the other application and nothing stopping you from hacking squirrel mail to load the other session's data. Since both are on

RE: [PHP] Why not use assertions for input validation?

2004-04-13 Thread Pablo Gosse
snip PS. Could you post a link to that article? /snip http://www.linuxjournal.com/article.php?sid=7237 Cheers, Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Why not use assertions for input validation?

2004-04-13 Thread Curt Zirzow
* Thus wrote Fraser Campbell ([EMAIL PROTECTED]): Hi, What is it about assertions that makes them unsuitable for production use? - For one, if assert() eveluates code like eval() does, there is very poor performance hit using it and a lot of overhead just to do simple statements that can

[PHP] Command line include path?

2004-04-13 Thread Mike Zornek
I'm getting started with PEAR's DB_DataObject and am trying to follow along with the tutorial: http://pear.php.net/manual/en/package.database.db-dataobject.intro-purpose.p hp It tells me to create the ini file (which I did) and then run createTables.php from the command line to generate my class

[PHP] Socket client application

2004-04-13 Thread René Fournier
Hi, I've gone through several good PHP sockets tutorials, but all of them seem to focused on making socket servers. What I actually need to do is write a socket client. There's an app runnning on a distant server that accepts incoming TCP connections at such-and-such an IP address and port,

[PHP] storing an array in an ini file

2004-04-13 Thread David T-G
Hi, all -- I have an ini file for my application and I use parse_ini_file to load it and some custom code to save modifications. I'd like to figure out how to store array values in there since that is the logical place to keep config data. If I can't, I could probably use a string with @@ or |

Re: [PHP] storing an array in an ini file

2004-04-13 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): Hi, all -- I have an ini file for my application and I use parse_ini_file to load it and some custom code to save modifications. I'd like to figure out how to store array values in there since that is the logical place to keep config data. If I

Re: [PHP] storing an array in an ini file

2004-04-13 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % % I have an ini file for my application and I use parse_ini_file to load it % and some custom code to save modifications. I'd like to figure out how % to store array values in there since that

Re: [PHP] storing an array in an ini file

2004-04-13 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % % I have an ini file for my application and I use parse_ini_file to load it % and some custom code to save modifications. I'd like to figure

Re: [PHP] Can't copy a variable from one session to another?

2004-04-13 Thread Robert Cummings
On Tue, 2004-04-13 at 15:39, Scott Bronson wrote: On Fri, 2004-04-09 at 16:01, Robert Cummings wrote: If they're both on the same server then there's nothing stopping you from loading Suirrel mail's session data in the other application and nothing stopping you from hacking squirrel mail to

Re: [PHP] Socket client application

2004-04-13 Thread Robert Cummings
On Tue, 2004-04-13 at 17:17, René Fournier wrote: Hi, I've gone through several good PHP sockets tutorials, but all of them seem to focused on making socket servers. What I actually need to do is write a socket client. There's an app runnning on a distant server that accepts incoming TCP

Re: [PHP] storing an array in an ini file

2004-04-13 Thread John Holmes
David T-G wrote: I have an ini file for my application and I use parse_ini_file to load it and some custom code to save modifications. I'd like to figure out how to store array values in there since that is the logical place to keep config data. If I can't, I could probably use a string with @@

[PHP] MSSQL stored proc

2004-04-13 Thread Aris Santillan
hi everyone can you give me a sample code of using MSSQL stored procedures? and its explanation.. thanks

[PHP] Help! Reading from stdin

2004-04-13 Thread David G. Simmons
Please respond directly, as I'm only on the digest and need an answer ASAP! I'm trying to read a file (currently sent to me via curl) and am having trouble. It worked once or twice, but not anymore. The curl command could be either: curl --data-binary file-name http://hostname/reader.php OR

Re: [PHP] MSSQL stored proc

2004-04-13 Thread Curt Zirzow
* Thus wrote Aris Santillan ([EMAIL PROTECTED]): hi everyone can you give me a sample code of using MSSQL stored procedures? and its explanation.. Here's a good place to start. http://php.net/mssql_execute Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP

[PHP] Fwd: Help! Reading from stdin

2004-04-13 Thread David G. Simmons
Fort some reason it looks as if this message never got posted with a body ... dg Begin forwarded message: From: David G. Simmons [EMAIL PROTECTED]> Date: April 13, 2004 5:16:40 PM PDT To: [EMAIL PROTECTED] Subject: Help! Reading from stdin Please respond directly, as I'm only on the digest and

[PHP] how to validate a domain

2004-04-13 Thread Elliot J. Balanza
I used to use a socket to whois database to validate if a domain name is available or not. Now i can't do that cause whois requires different parameters does anyone knows how i can validate if a domain name is available or not true .php? Vamp -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] storing an array in an ini file

2004-04-13 Thread David T-G
John, et al -- ...and then John Holmes said... % % David T-G wrote: % % to store array values in there since that is the logical place to keep % config data. If I can't, I could probably use a string with @@ or | in ... % % If you really need to define arrays, just put them in a .php file and

RE: [PHP] how to validate a domain

2004-04-13 Thread Vail, Warren
If you register as a domain name reseller, your registrar provider will usually provide you access to checking which domains that are available, sometimes beyond the usual .com/.net/.org/ etc. top level domain. you should be able to Google a list. I don't know of any that are free anymore.

[PHP] PHP tpop3d

2004-04-13 Thread Daryl Meese
If any one can help be with a PHP script that creates flat file format auth files for tpop3d please respond to me off list as this is only semi-PHP related. Actually, I already have the script but the authentication isn't working I think it might be because I don't understand the crypt()

[PHP] remote files handling

2004-04-13 Thread srivignesh sundarrajan
hello sir need help in remote files handling. i.e, i want to know the last modified date of a file on a remote server. for example www.abc.com/abc/Test.zip. i want to know the last modified date of that file. can u pls help me. thankz in advance with regards S.Srivignesh

RE: [PHP] how to validate a domain

2004-04-13 Thread Larry Brown
According to google there are several soap services that offer whois. It looks like a lot of them are old outdated links, however some still seem to exist. I'm not sure how anyone could ever profit from free soap services unless they gave the service for free for long enough to become the

Re: [PHP] automatic doc generation for classes

2004-04-13 Thread Richard Harb
Well, since you already mentionned it: Why not use phpdoc? I use it on a regular basis: it's pretty good. (Yes, it works like a charm on a windows box with enough memory) Richard Tuesday, April 13, 2004, 9:10:23 PM, you wrote: does anybody have any good recommendations for anything to do auto

Re: [PHP] Command line include path?

2004-04-13 Thread Richard Harb
If all else fails, try setting the include path in your project: http://at.php.net/manual/en/function.set-include-path.php (check out the comments section) hth Richard Tuesday, April 13, 2004, 10:45:23 PM, you wrote: I'm getting started with PEAR's DB_DataObject and am trying to follow along

Re: [PHP] automatic doc generation for classes

2004-04-13 Thread Andy B
so far it looks good... i got a test class/package to compile as far as the docs go but now when i try to do more with it it always crashes: c: c:\php\cli\php -t c:\src\test\ -o CHM:default:default -d c:\src\test\ fatal error: undefined member to object in c:\phpdoc\php