[PHP] Re: mysql problems

2005-03-03 Thread Jed R. Brubaker
Thank you both for your responces. Unfotuantely there is no form that instantiates this action. So the double submit (while a good idea), is not possible. As for some sample code, it is part of a rather complicated system that makes a number of changes but essentailly what is going on is this:

[PHP] upload and resize image script

2005-03-03 Thread p80
hey all I'm looking for a simple script that would upload an image and resize it to thumbnail using a form to upload the picture. anyone has a good script for that? thanx in advance Pat -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] email attach and contain message together

2005-03-03 Thread agung
Hi all I have the problem which I would like to send email with contain and attachment ( excel file) together not just a part. What should I do with the term please help here the part of the code I use : \r \n"; $headers .= "Bcc: [EMAIL PROTECTED]"; $headers .= "Content-Type: application/xls\

[PHP] which class it is?

2005-03-03 Thread yangshiqi
I have a question that how to get the class name, which is initialized by other class or function. For example: Class a { Function a(){} } Class b { Function b() { $a= new a; ... } } How can I get class b's

Re: [PHP] Document root, preferred way to find it???

2005-03-03 Thread Leif Gregory
Hello Richard, Thursday, March 3, 2005, 1:15:38 PM, you wrote: RL> include_path In the php.ini? But wouldn't that affect every virtual host on the server? Meaning I'd have to put all the includes for every virtual host in the same place? Cheers, Leif Gregory -- TB Lists Moderator (and fellow

RE: [PHP] Preventing data from being reposted?

2005-03-03 Thread pmpa
Sorry, Wrong Reply!! My mistake :( - Hi! If I understand you correctly, I hope this helps: There are probably some errors I haven't run the code. Pedro. -Mensagem original- De: rory walsh [mailto:[EMAIL PROTECTED] Envia

RE: [PHP] Preventing data from being reposted?

2005-03-03 Thread pmpa
Hi! If I understand you correctly, I hope this helps: There are probably some errors I haven't run the code. Pedro. -Mensagem original- De: rory walsh [mailto:[EMAIL PROTECTED] Enviada: quinta-feira, 3 de Março de 2005 12:01 Para: php-general@lists.php.net Assunto:

Re[2]: [PHP] Document root, preferred way to find it???

2005-03-03 Thread Tom Rogers
Hi, Thursday, March 3, 2005, 11:54:48 AM, you wrote: A> If I'm reading you correctly, then a truly transportable include might look like A> this: A> $doc_root= (isset($_SERVER['path_translated'])? A> $_SERVER['path_translated'] : A> $_SERVER['document_root']; Exactly -- regard

Re: [PHP] Re: Authentication fails - problem line found

2005-03-03 Thread John Swartzentruber
I stripped down my original script until it started receiving POST data, then I kept modifying it until I figured out where the problem was. I found it, but I'm still as clueless as every. To summarize: I have a form that posts to the same script that contains the form. In its original state, w

Re: [PHP] What is the 'cli' interface.

2005-03-03 Thread Jochem Maas
Daniel Guerrier wrote: I am getting this error using ezpublish to import RSS feeds. Does anyone know what this means. if you want to ask a new question then dont reply to an existing post. post a new message. PHP is currently using the 'apache2handler' interface. Make sure it is using the 'cli' in

RE: [PHP] What is the 'cli' interface.

2005-03-03 Thread Jay Blanchard
[snip] Make sure it is using the 'cli' interface. [/snip] Command Line Interface -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [noob] can't submit simple form, need help

2005-03-03 Thread Jochem Maas
p80 wrote: any idea why this simple peace of code is not working? now lets see: 1. $submit_post will never equal 'yes' because your submit buttons value is 'submit' and its name is also 'submit', the POST value is are overwriting the GET value (thats default order for php anyway) removing the

RE: [PHP] [noob] can't submit simple form, need help

2005-03-03 Thread Warren Vail
> $submit_post=$_REQUEST['submit']; > > if ($submit_post=='yes') { looks like the value in your form is not 'yes' but 'submit' > > > if this is not it, perhaps we should see more. Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/u

RE: [PHP] [noob] can't submit simple form, need help

2005-03-03 Thread Jay Blanchard
[snip] any idea why this simple peace of code is not working? // code that will be executed if the form has been submitted: $submit_post=$_REQUEST['submit']; if ($submit_post=='yes') [/snip] Probably because $_REQUEST['submit'] !== 'yes' print_r($_REQUEST); to see the array -- PHP General

[PHP] What is the 'cli' interface.

2005-03-03 Thread Daniel Guerrier
I am getting this error using ezpublish to import RSS feeds. Does anyone know what this means. PHP is currently using the 'apache2handler' interface. Make sure it is using the 'cli' interface. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the b

[PHP] [noob] can't submit simple form, need help

2005-03-03 Thread p80
any idea why this simple peace of code is not working? http://hashphp.org/pastebin?pid=1880 thanx in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to handle a 64bit FILETIME?

2005-03-03 Thread M. Sokolewicz
Richard Lynch wrote: Tom Cannaerts wrote: I'm processing a binary file, and in that file there is a 64bit FILETIME value. This value represents the number of 100-nanoseconds since 1/1/1601. I would like to convert it to a somewhat more usable value, since I eventually will need to display that valu

Re: [PHP] Document root, preferred way to find it???

2005-03-03 Thread Richard Lynch
Leif Gregory wrote: > http://www.devtek.org/tutorials/dynamic_document_root.php > > I'm still looking for a better way, cause this is kludgy. include_path -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

Re: [PHP] Data Encryption

2005-03-03 Thread Richard Lynch
Erbacher Karl wrote: > I'm not sure if this is even a PHP question, but I'm hoping someone can > help > me. I need to encipher data to be stored in a database and then I need to > be > able to decipher it to use it. I was thinking of using DES and I obtained > a > pair of keys, but I'm not sure wh

Re: [PHP] Weird WMV/Media Player behaviour (Loading media file twice)

2005-03-03 Thread Richard Lynch
Cabbar Duzayak wrote: > My php file (used below) does nothing, but logs the requests+checks > access, opens the actual .wmv file and prints it out. The problem when > I use the following code is that, media player (for some reason) sends > 2 requests to the source (http://www.mydomain.com/aa/bb/cc.

Re: [PHP] Simple XML

2005-03-03 Thread Jochem Maas
Richard Lynch wrote: Uroš Gruber wrote: http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd"> And then bar.com foo.com But I cant get to this "cd" I

Re: [PHP] Read From COM1 port

2005-03-03 Thread Richard Lynch
Kim Madsen wrote: > I'm having trouble reading from COM1, writing works like a charm but I'd > like to be able to read the output from a switch or a router in order to > determine that the command was successful and the configuration actually > went fine :-) > > doing: > > $fp = fopen("COM1", "rwb"

[PHP] Re: Simple XML

2005-03-03 Thread Jason Barnett
http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0.xsd" > bar.com foo.com XML; $sxe = simplexml_load_string($xml); /** Just try to match any cd node we can find */ var_dump($sxe->xpath('//cd'

RE: [PHP] Preventing data from being reposted?

2005-03-03 Thread Richard Lynch
> POST is not a security measure. I think what's special about POST is > that it is meant to hold a lot more data. With GET there is a limit to > how long the querystring can be. POST also has a (larger) limit. Actually, both *could* be limitless. A server is require to have NO LESS THAN $x for

Re: [PHP] How to handle a 64bit FILETIME?

2005-03-03 Thread Richard Lynch
Tom Cannaerts wrote: > I'm processing a binary file, and in that file there is a 64bit FILETIME > value. This value represents the number of 100-nanoseconds since 1/1/1601. > > I would like to convert it to a somewhat more usable value, since I > eventually will need to display that value as a huma

Re: [PHP] Simple XML

2005-03-03 Thread Richard Lynch
Uroš Gruber wrote: >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 > epp-1.0.xsd"> > > And then > > > xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd"> > >

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread Jochem Maas
Richard Lynch wrote: Jochem Maas wrote: Gareth Williams wrote: Wouldn't using GET instead of POST help? in a way it could - but you don't usually want to use a GET as this can be easily spoofed (i.e. anyone could send you a link or post one in a forum that would do the post action without warning y

Re: [PHP] default mysql connection character-set

2005-03-03 Thread Richard Lynch
[EMAIL PROTECTED] wrote: > is there a Runtime Configuration variable (php.ini) that defines "default > mysql connection character-set" like my.cnf's "default-character-set =" in > the [client] segment ? > > otherwise i have to execute "mysql_query('SET CHARACTER SET latin5');" > everytime after con

Re: [PHP] Spam and this list

2005-03-03 Thread Jochem Maas
John Nichel wrote: Richard Lynch wrote: Jochem Maas wrote: AdamT wrote: On Tue, 01 Mar 2005 11:11:47 -0500, bob <[EMAIL PROTECTED]> wrote: Well, this time it took just 11 days to get my first bit of spam from this mailing list. F

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread Richard Lynch
Jochem Maas wrote: > Gareth Williams wrote: >> >> Wouldn't using GET instead of POST help? > > in a way it could - but you don't usually want to use a GET as this > can be easily spoofed (i.e. anyone could send you a link or post one in a > forum > that would do the post action without warning you)

RE: [PHP] Preventing data from being reposted?

2005-03-03 Thread Chris W. Parker
Jochem Maas on Thursday, March 03, 2005 5:57 AM said: > Gareth Williams wrote: >> >> Wouldn't using GET instead of POST help? > > in a way it could - but you don't usually want to use a GET as this > can be easily spoofed (i.e. anyone could send you a link or post

Re: [PHP] DB INSERT & CRON

2005-03-03 Thread Richard Lynch
Devraj Mukherjee wrote: > Depending on the urgency of the data being transported into the database > from the XML file, you could even run a server process that will wait > for a new file to be added to a nominated directory and add the data to > the database. > > As far as I know you could possibl

Re: [PHP] Spam and this list

2005-03-03 Thread John Nichel
Richard Lynch wrote: Jochem Maas wrote: AdamT wrote: On Tue, 01 Mar 2005 11:11:47 -0500, bob <[EMAIL PROTECTED]> wrote: Well, this time it took just 11 days to get my first bit of spam from this mailing list. Folks, I think the OP

Re: [PHP] Spam and this list

2005-03-03 Thread Richard Lynch
Jochem Maas wrote: > AdamT wrote: >> On Tue, 01 Mar 2005 11:11:47 -0500, bob <[EMAIL PROTECTED]> wrote: >>>Well, this time it took just 11 days to get my first bit of spam from >>>this mailing list. Folks, I think the OP set up a

Re: [PHP] mailserver logfile analyser

2005-03-03 Thread Richard Lynch
woldhekkie wrote: > thanks verry much RICHARD, > > learning to program is hell for newbies. > tried vb.net, autoit,purebasic,asp and more. > Not one of them is perfect. > It seems php is easyer learning than asp, so i will stick with php. Our > mail/webserver does both. > > I deeply respect program

[suspicious - maybe spam] Re: [PHP] php DBMS

2005-03-03 Thread Jochem Maas
... sqlite isn't written by the php devs. It's simply included in the distributions; just like bcmath is. SQLite itself is a free OS library, usable by pretty much everyone my apologies - i was under the impression that some/few of the php devs were also responsible for SQLite. -- PHP General Mail

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread Jochem Maas
rory walsh wrote: I'm pretty sure I am looking at cached pages but the problem with this seems to be that some browsers support these header directives and others don't, i.e. Firefox. The following work in IE but not Firefox header("Cache-control: private"); header("Cache-Control: no-store, no-c

Re: [PHP] mailserver logfile analyser

2005-03-03 Thread woldhekkie
thanks verry much RICHARD, learning to program is hell for newbies. tried vb.net, autoit,purebasic,asp and more. Not one of them is perfect. It seems php is easyer learning than asp, so i will stick with php. Our mail/webserver does both. I deeply respect programmers. it would be nice if i could

Re: [PHP] Re: PHP 5.1 CVS Interface Question

2005-03-03 Thread Jochem Maas
Gavin Roy wrote: Stolen from a oo reference site (who's URL I no longer have handy): "An object interface--or simply interface--defines methods that can be implemented by a class. Interfaces are declared like classes, but cannot be directly instantiated and do not have their own method definitions.

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread rory walsh
I'm pretty sure I am looking at cached pages but the problem with this seems to be that some browsers support these header directives and others don't, i.e. Firefox. The following work in IE but not Firefox header("Cache-control: private"); header("Cache-Control: no-store, no-cache, must-revalid

Re: [PHP] Spam and this list

2005-03-03 Thread Jochem Maas
AdamT wrote: On Tue, 01 Mar 2005 11:11:47 -0500, bob <[EMAIL PROTECTED]> wrote: Well, this time it took just 11 days to get my first bit of spam from this mailing list. Do you mean the spam was from php-general@lists.php.net ? Or do you mean that you know for sure that your address was harvested fr

Re: [PHP] Can't save multiple files if I'm using values pulled from another file...

2005-03-03 Thread Foofy
On Thu, 03 Mar 2005 09:06:22 -0500, <[EMAIL PROTECTED]> wrote: That's most likely your problem. The last line of your file most likely does not have a trailing NL character that is why it is the only line that works. Thank you for your help! My server dude looked around and yes, the files were be

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread Jochem Maas
rory walsh wrote: Yeah I got it, cheers. Actually the problem I am getting is more to do with my session variables I think? Here is the jist of the code. if(log out button has been pressed) { session_variable="no" } if(log in button has been pressed) { session_variable="yes" } if(session_variable

Re: [PHP] sql query

2005-03-03 Thread Jochem Maas
Jason Petersen wrote: On Wed, 2 Mar 2005 13:02:39 +0200, William Stokes <[EMAIL PROTECTED]> wrote: Hello Can someone explain this to me. I don't know how to read this. if (!$variable = mysql_query("select id,sessid from users where ... What is this "if(!" This is a way to run a SQL query, capture

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread rory walsh
Yeah I got it, cheers. Actually the problem I am getting is more to do with my session variables I think? Here is the jist of the code. if(log out button has been pressed) { session_variable="no" } if(log in button has been pressed) { session_variable="yes" } if(session_variable=="yes") { display

Re: [PHP] Can't save multiple files if I'm using values pulled from another file...

2005-03-03 Thread Jochem Maas
Foofy wrote: I'm writing a script that transfers files from a list file and saves them locally. M If I use values from the list for the filenames of the saved files, it appears that none of the files are saved 'cept for the last one. If I put the values in an array directly in the script fil

Re: [PHP] php DBMS

2005-03-03 Thread M. Sokolewicz
Jochem Maas wrote: Chris W. Parker wrote: Chris W. Parker <> on Wednesday, March 02, 2005 10:38 AM said: Gerben on Wednesday, March 02, 2005 10:22 AM said: Thanks for all your responses, but I think I wasn't clear enough of my intentions. Actually, that what I'm

Re: [PHP] php DBMS

2005-03-03 Thread Jochem Maas
Chris W. Parker wrote: Chris W. Parker <> on Wednesday, March 02, 2005 10:38 AM said: Gerben on Wednesday, March 02, 2005 10:22 AM said: Thanks for all your responses, but I think I wasn't clear enough of my intentions. Actually, that what I'm looking for; A data

Re: [PHP] Variable Replacement

2005-03-03 Thread Jochem Maas
James Williams wrote: Hey guys, I'm coding a forum right now and I just decided that I needed James, I'll assume that you're coding a forum because you feel like it. :-) (i.e. there are lots of forum 'packages' out there) to code some variable replacement to create a simple template system. This

Re: [PHP] Can't save multiple files if I'm using values pulled from another file...

2005-03-03 Thread Jason Wong
On Thursday 03 March 2005 19:53, Foofy wrote: > I'm writing a script that transfers files from a list file and saves > them locally. M > > If I use values from the list for the filenames of the saved files, it > appears that none of the files are saved 'cept for the last one. If I > put the values

Re: [PHP] Re: Authentication fails

2005-03-03 Thread John Swartzentruber
On 3/2/2005 5:21 PM Richard Lynch wrote: John Swartzentruber wrote: ServerName john.swartzentruber.us ServerAdmin webmasXXXtzentruber.us DocumentRoot "/var/www/vhosts/swartzentruber.us/john/html" AllowOverride AuthConfig Options Indexes Includes FollowSymLinks

Re: [PHP] php DBMS

2005-03-03 Thread Jochem Maas
Richard Lynch wrote: Chris W. Parker wrote: Gerben on Wednesday, March 02, 2005 10:22 AM said: Thanks for all your responses, but I think I wasn't clear enough of my intentions. Actually, that what I'm looking for; A database engine written in PHP. Even if something l

Re: [PHP] DB INSERT & CRON

2005-03-03 Thread Devraj Mukherjee
Hi Shaun, Depending on the urgency of the data being transported into the database from the XML file, you could even run a server process that will wait for a new file to be added to a nominated directory and add the data to the database. As far as I know you could possibly use the PHP engine t

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread Jochem Maas
eoghan wrote: i think ive missed a few mails there...? rory walsh wrote: Cheers, I'll take a look, I had tried a search but thunderbird didn't find anything, even with the exact thread title I had to google it? Anyway I'll take a look. my first google hit on search for the exact title gave me thi

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread Jochem Maas
Gareth Williams wrote: Wouldn't using GET instead of POST help? in a way it could - but you don't usually want to use a GET as this can be easily spoofed (i.e. anyone could send you a link or post one in a forum that would do the post action without warning you) which comes down to: you should be '

Re: [PHP] php DBMS

2005-03-03 Thread Devraj Mukherjee
We have been looking at implmenting Prevalyer for PHP but it to us seems impossible to do as the PHP engine is not designed like an application server. To add to this we are now in the process of writing an entpire PHP app server and will then be writing the Prevalyer layer as well as DB abstr

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread eoghan
i think ive missed a few mails there...? rory walsh wrote: Cheers, I'll take a look, I had tried a search but thunderbird didn't find anything, even with the exact thread title I had to google it? Anyway I'll take a look. Jochem Maas wrote: rory walsh wrote: Thanks Eoghan, I have tried the follo

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread rory walsh
Cheers, I'll take a look, I had tried a search but thunderbird didn't find anything, even with the exact thread title I had to google it? Anyway I'll take a look. Jochem Maas wrote: rory walsh wrote: Thanks Eoghan, I have tried the following but it still reposts the data from the form and goes

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread Gareth Williams
Wouldn't using GET instead of POST help? Gareth Williams venditor.com Buy cool stuff online at http://www.venditor.com";>venditor.com On 3 Mar 2005, at 14:20, Jochem Maas wrote: rory walsh wrote: Thanks Eoghan, I have tried the following but it still reposts the data from the form and goes back a

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread Jochem Maas
rory walsh wrote: Thanks Eoghan, I have tried the following but it still reposts the data from the form and goes back a page? header("Cache-control: private"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma:

Re: AW: [PHP] How to sort a Multidimensional array?

2005-03-03 Thread Jochem Maas
Mirco Blitz wrote: Sorry for multipost. My ISP delayed sends for about an houre. I didn't recognize it. ok - please realise that SMTP is quite robust - mail servers will keep trying for days before giving up (in which case you will eventually get a reply saying the sending failed) - your posts

Re: [PHP] How to handle a 64bit FILETIME?

2005-03-03 Thread Jochem Maas
Tom Cannaerts wrote: Hello, I'm processing a binary file, and in that file there is a 64bit FILETIME value. This value represents the number of 100-nanoseconds since 1/1/1601. I would like to convert it to a somewhat more usable value, since I eventually will need to display that value as a huma

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread rory walsh
Thanks Eoghan, I have tried the following but it still reposts the data from the form and goes back a page? header("Cache-control: private"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); Am I w

Re: [PHP] Preventing data from being reposted?

2005-03-03 Thread eoghan
you can use header() http://ie.php.net/header rory walsh wrote: Is there anyway I can prevent data from being reposted when I hit the back button on my browser? When I hit back I get a message from my browser asking do I want to repost the data, can I prevent this window from appearing? -- PHP

[PHP] Preventing data from being reposted?

2005-03-03 Thread rory walsh
Is there anyway I can prevent data from being reposted when I hit the back button on my browser? When I hit back I get a message from my browser asking do I want to repost the data, can I prevent this window from appearing? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Can't save multiple files if I'm using values pulled from another file...

2005-03-03 Thread Foofy
I'm writing a script that transfers files from a list file and saves them locally. M If I use values from the list for the filenames of the saved files, it appears that none of the files are saved 'cept for the last one. If I put the values in an array directly in the script file, all is wel

[PHP] default mysql connection character-set

2005-03-03 Thread arusp
hi, is there a Runtime Configuration variable (php.ini) that defines "default mysql connection character-set" like my.cnf's "default-character-set =" in the [client] segment ? otherwise i have to execute "mysql_query('SET CHARACTER SET latin5');" everytime after connecting the database . tha

[PHP] Simple XML

2005-03-03 Thread UroÅ Gruber
Hello! I have trouble parsing some XML data. I'm doing EPP client http://www.iana.org/assignments/xml-registry/ns.html And responses I get uses XML shemas. Header of response is http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="urn:ietf:params:xml:ns:epp-1.0 epp-1.0.xsd

[PHP] DB INSERT & CRON

2005-03-03 Thread Shaun
Hi, I have a web based system that allows users to upload XML files and insert them into the database, however some of these files are large and are causing the webserver to timeout. Is it possible to create a cron job that can insert the xml files say every hour, then the users of the site would

[PHP] DB INSERT & CRON

2005-03-03 Thread Shaun
Hi, I have a web based system that allows users to upload XML files and insert them into the database, however some of these files are large and are causing the webserver to timeout. Is it possible to create a cron job that can insert the xml files say every hour, then the users of the site wo

[PHP] How to handle a 64bit FILETIME?

2005-03-03 Thread Tom Cannaerts
Hello, I'm processing a binary file, and in that file there is a 64bit FILETIME value. This value represents the number of 100-nanoseconds since 1/1/1601. I would like to convert it to a somewhat more usable value, since I eventually will need to display that value as a human readable date. An

Re: [PHP] patch to php 4.3.10 to disabling URL wrappers in include like statements

2005-03-03 Thread Bostjan Skufca @ domenca.si
Well, of course this was never ment to protect you from inside attacks. But if you also disable eval() then I believe it's pretty much harder to create a successfull attack via chmod-777-write-exec procedure (from outside). This patch is ment to prevent accidental DOS attacks by recursive inclus

Re: [PHP] server compatibilty

2005-03-03 Thread Yannick Warnier
Le jeudi 03 mars 2005 à 10:48 +0530, Prateek Tambi a écrit : > I got php installed on my pc > my web server is apache tomcat 4.0 or something will it support php or not > how can i detect that... > in the installation readme file there is support for apache 1.3.x and > apache 2.0.x > if its not sup

[PHP] Read From COM1 port

2005-03-03 Thread Kim Madsen
Hi I'm having trouble reading from COM1, writing works like a charm but I'd like to be able to read the output from a switch or a router in order to determine that the command was successful and the configuration actually went fine :-) doing: $fp = fopen("COM1", "rwb"); fwrite($fp, $username