[PHP] simple way to edit textfiles?

2003-01-21 Thread Patrick
ost? its probebly very simple, i just cant find it in the book :/ regards patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] activate an external link thru crontab

2003-01-21 Thread Patrick
Hi, i have a crontab that runs my script every 15min to check if anything has changed since the last control, if something has changed i want my page to send a report to a url, like a form. Is that possible thru php? regards patrick -- PHP General Mailing List (http://www.php.net/) To

[PHP] editing textfile

2003-01-23 Thread Patrick
); if ($ausername == $wtemp[0]) { $wserver = explode(";;", $wuser[$i]); } } fclose($fp); then the user will do some inputs on a form and submit em back, and i want to save em back to the database, how do i alter/delete just one post in a textfile? regards patrick -- PHP Ge

[PHP] Date Time

2002-09-20 Thread Patrick
Hi,, my server is located in the US and i live in Sweden, so when i try to run the following command i get a 8hour diffrence,, anyone got any idea of how to solve this? date("Y-m-j") regards Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] date functions

2002-09-23 Thread Patrick
i got 2 dates and i want to know how many minutes between em,, like: $date1 = date("Y-m-j H:i"); $date2 = date("Y-m-j H:i", strtotime("now") + 1800); $minutes = date_something($date1, $date2); echo "there are $minutes between, $date1 and $date2"; re

Re: [PHP] looking for some software (helpdesk, intranet)

2003-11-22 Thread Patrick
's free. Plus their forums have a number of hacks you can add in! -Patrick Patrick Schneider [EMAIL PROTECTED] Technical Support Specialist, RMS Treasurer, Midwest Animation Promotion Society Board of Directors External Operations Section Chief, ACEN 2k4 Director of Registration, ACEN 2

[PHP] PHP & Apache

2001-03-19 Thread Patrick
Ok I had this working once and again it is eluding me on win98 I have added ScriptAlias /php/ "d:/php/" AddType application/x-httpd-php .php .phtml Action application/x-httpd-php "/php/php.exe" but PHP still will not work I have got Perl working and had PHP working but I neglected to save

Re: [PHP] PHP & Apache

2001-03-19 Thread Patrick
OK it worked Thanks for the pointers Yoshi - Original Message - From: "Yoshi Melrose" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 19, 2001 4:34 AM Subject: Re: [PHP] PHP & Apache > Patrick, > > Here's how i have my http

[PHP] Hardware ?

2002-03-04 Thread Patrick
also dont want overkill Thanks Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem when configurin php+gd+libpng

2001-12-21 Thread Patrick
Hi,all when i configuring Php 4.0.6 with gd and libpng support i get an error like this: ... checking for the location of libpng... yes checking for png_info_init in -lpng... no configure: error: libpng not found! All help are liked well.Thanks

Re: [PHP] PHP Authentication

2001-03-26 Thread Patrick
- Original Message - From: "Jon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 26, 2001 1:38 AM Subject: [PHP] PHP Authentication > Hi, > > I have read that for using PHP authentication I must be able to user > variables such as $PHP_AUTH_USER that are only avaible whe

Re: [PHP] Anyone know whats the best way to learn PHP

2009-06-01 Thread Patrick
hour. The free ones are of course the place to start however. -Patrick Muhammad Hassan Samee wrote: > Hi > > Anyone know whats the best way to learn PHP? Every time I open an php book > or look the codes online, my mind goes "oh man, So many stuffs to learn and > gets frustrated

[PHP] IP to geo-location advice

2009-07-15 Thread Patrick
Hi Everyone Could anyone give me some advice on the best way to do IP to geo-location with php using open source code? Thanks in advance-Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] anyone interested in PHP? Call for moderator

2009-09-15 Thread Patrick
It seems that list list has degenerated into a kindergarten brawl. Is there a moderator here? Someone to silence all this name calling and of topic non-sense -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] call_user_func_array and mysqli_stmt_bind_result

2005-04-11 Thread Patrick
what I try to do is possible in any way? Btw, this is Win PHP v5.0.3 , Apache v2.0.53, Mysql v5.0.2-alpha-nt. cheers and thanks, Patrick from Belgium (Brussels) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: call_user_func_array and mysqli_stmt_bind_result

2005-04-12 Thread Patrick
x27;'; $args[1]=''; eval("\$rval=\$obj->\$mthd($args);"); The $args is primitive but only for testing purposes. The reason why I want to use this is because of variable arglist and don't want to work with switch. cheers, Pat "Patrick" <[EMAIL PROTECTED

[PHP] Re: call_user_func_array and mysqli_stmt_bind_result

2005-04-12 Thread Patrick
correction: I made $args as this: $args='$rr[0],$rr[1]'; "Patrick" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I ran into the same problem doing it oo style like this: > > call_user_func_array(array(&$stmt, 'bind_result'),$rr);

[PHP] HELP - I have tried to unsubscribe from this list mutiple times but cannot.

2007-06-28 Thread -Patrick
I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? TIA -Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
M. Sokolewicz wrote: Chris wrote: M. Sokolewicz wrote: Paul Scott wrote: On Fri, 2007-06-29 at 01:59 -0400, -Patrick wrote: I no longer have a need for this list and My mailbox is getting flooded, Can someone assist ? Read the footer on every single mail posted to this list to unsubscribe

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Simon wrote: Don't be jackasses - I specifically stated "I have tried to unsubscribe" What does that mean to you? That I just 'said i did' and didn't actually try it??? I used the official unsubscribe link at the bottom . IT DIDN"T WORK FOR ME! Call an ambulance too, just in case! Wow, have

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
this it occasionally did not send me a confirm-identity message. It appears to randomly ask for confirmation of identity. -Patrick Stut wrote: -Patrick wrote: Don't be jackasses - I specifically stated "I have tried to unsubscribe" What does that mean to you? That I just &

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
this message below should not have gone through as I tried to unsubscribe shortly before this reply -Patrick wrote: Yes, I am still having a problem,after trying to unsubscribe AGAIN, it sends me a confirm message. I reply to it then it sends me back the confirm-identity message, I reply with

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
if I am sure that I want to UNsubscribe. Great, I am stuck receiving the email equivalent of spam(since I do not want to receive it) for the rest of this email address's life. wtf. -Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
OTECTED]>> I'm done with you -- Edward Krack Tried that many time. And I'm done with you. Thanks. -Patrick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HELP - I have tried to unsubscribe from this listmutipletimes but cannot.

2007-06-29 Thread -Patrick
Yes, I've seen that page on php.net And no Jim, I'm not sure this is the 'exact' same problem. I understand what you are saying and it's not working. Ok, I am done for now with this list. Thanks for trying anyways. -Patrick Jim Lucas wrote: -Patrick wrote: Stut wro

[PHP] HELP <> PLEASE PHP

2004-01-29 Thread Patrick
Hi, I have an situation on my hands I have a form that I am stuck using PHP for thanks to my friends choice of hosting company, I have no idea on how to setup a form in PHP other than HTML or in Flash, I need some one any one to give me some advice on this Posted layout it seems to work but not re

[PHP] Regular expression

2006-02-14 Thread Patrick
q i was trying something like this, but it dosent seem to work: ^[a-zA-Z]{1}[!#%&$]+[a-zA-Z0-9_]+ Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] regular pattern to match �

2006-02-18 Thread Patrick
im trying to get my regular pattern to allow åäöÅÄÖ but it refuses to, i have something like this: [^a-zA-ZåäöÅÄÖ0-9-_ ] But this dosent seem to work, anyone got any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] regular pattern to match swedish characters

2006-02-18 Thread Patrick
im trying to get my regular pattern to allow åäöÅÄÖ but it refuses to, i have something like this: [^a-zA-ZåäöÅÄÖ0-9-_ ] But this dosent seem to work, anyone got any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Spaces

2002-12-07 Thread Patrick McKinley
Is there a way of getting a php to display all the spaces in a file. i have used this to display an nfo file on my site: ---nfoload.php nfo/$fol/ind.txt (tells the script filenames for the nfo files) now since nfo files tend

Re: [PHP] Spaces

2002-12-07 Thread Patrick McKinley
uhm, i feel silly now, ignore my question please :D - Original Message - From: "Leif K-Brooks" <[EMAIL PROTECTED]> To: "Patrick McKinley" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, December 07, 2002 8:08 PM Subject: Re: [PHP] Space

[PHP] force download with header()

2002-12-08 Thread Patrick McKinley
i was reading about php.net looking for a way to force a download of a txt file, rather than the browser displaying the file. i ran into header() that seems to be able to accomplish it... but seeing as i'm very much a newbie at php, i can't seem to make this work if the file i want to download is

[PHP] REPLY NEEDED

2002-12-12 Thread PATRICK KOFI
ASSISTANCE WE ARE MEMBERS OF A SPECIAL COMMITTEE FOR BUDGET AND PLANNING OF THE NIGERIA NATIONAL PETROLEUM CORPORATION (NNPC)IN WEST AFRICA. THIS COMMITTEE IS PRINCIPALLY CONCERNED WITH CONTRACT AWARDS AND APPROVAL. WITH OUR POSITIONS, WE HAVE SUCCESSFULLY SECURED FOR OURSELVES

[PHP] temporary DNS lookup in php?

2003-01-15 Thread Patrick Hsieh
however, I hope I can customized the temporary DNS lookup in the php program for special purpose without modifying the /etc/resolv.conf or other system configuration files. Is it possible? How? -- Patrick Hsieh<[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Root Commands

2003-02-19 Thread Patrick Armour
there any way to accomplish this? If somebody were to point me in the direction of a tutorial on this subject I would really appreciate it. Sincerely, Patrick Armour www.greatplainsinternet.com

Re: [PHP] Root Commands

2003-02-19 Thread Patrick Armour
Great idea. However, that opens up a whole other can of worms that I'm not really prepared to dive into yet. I searched php.net for the setuid function, but didn't find anything. Is this a php function? Do you know where any documentation on it is? Thanks again Patrick - Origin

Re: [PHP] Root Commands

2003-02-21 Thread Patrick Armour
rrect password. When I try to send $password to the shell, the shell thinks they are seperate commands. Any suggestions to get around this? Thanks for your help. Patrick - Original Message - From: "Jason Sheets" <[EMAIL PROTECTED]> To: "Adam Voigt" <[EMA

[PHP] Problem with Arrays?

2003-02-22 Thread Patrick Teague
ray inside the function it would actually work - function getMaxSize( $maxSize ) { $byteSize[0] = "bytes"; $byteSize[1] = "kb"; $byteSize[2] = "mb"; echo $byteSize[0] . "\n"; echo $byteSize[1] . "\n"; echo $byteSize[2] . "\n"; } what

[PHP] Problem with readfile on jpegs

2003-02-24 Thread Patrick Teague
rmine whether it should be viewable or not prior to releasing it to the web. Either way, simply displaying the jpeg from a web viewable directory works. Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Page per page

2003-02-24 Thread Patrick Teague
know this is more of a SQL answer & doesn't solve the problem of having the code written, but I figured this small part out from phpMyAdmin. Now there's plenty of code & it definately lists X records per page & has links for next & previous :) Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Value of $var as a variable?

2003-02-24 Thread Patrick Teague
I know I've seen something about this (I can't remember whether yea or nay), but I can't remember where I found it as at the time I was looking for something else... and now that I'm looking for it I can't find it again. Anyways, what I've done is store variable names that end up being passed as p

Re: [PHP] text file reading and overwrite

2003-02-24 Thread Patrick Teague
ding a file, see Example 1 under fgets(). For deleting files, see unlink(). Patrick p.s. you'll want to html encode $var before dumping it into either one of these or else the contents of $var could mess up the html in the page. -- PHP General Mailing List (http://www.php.ne

[PHP] Object programming with PHP5

2003-02-25 Thread Patrick LOK
Is there anyone out there can tell me do I have to rewrite my PHP4 object programs in PHP5? ./pl

[PHP] IMAP error while compiling PHP-4.3.0

2003-02-28 Thread Patrick Teague
annot find imap library (libc-client.a). Please check your IMAP installation any ideas? I checked the php.net faq on building, but I haven't found any info about this. I've searched the imap rpms I have & even searched the whole system, but it couldn't find 'libc-clien

[PHP] Is PHP Reinstall required?

2003-02-26 Thread Patrick LOK
I have to uninstall my Apache 2.0.x that came along with RedHat 8.0 because the httpd (rpm) in RH8.0 does not have Apache apxs (why dont they include it). I need apxs to install lxp... (it seems lxp can only be installed on a customized Linux platform... USER NOT FRIENDLY :( ) I already have PH

Re: [PHP] Is PHP Reinstall required?

2003-02-26 Thread Patrick LOK
But where is the package? rgds ./pl "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Just install the apache-devel package which is where the apxs tool lives. > > -Rasmus > > On Thu, 27 Feb 2003, Patrick LOK wrote: > > >

Re: [PHP] IMAP error while compiling PHP-4.3.0

2003-03-02 Thread Patrick Teague
I saw somewhere that if you don't have the kerberos stuff installed you'll have problems compiling with imap, so as far as I can figure I have all the rpms I need installed for imap support - imap-2001a-9mdk imap-devel-2001a-9mdk krb5-devel-1.2.5-1mdk krb5-libs-1.2.5-1mdk Patrick

[PHP] 'make' PHP4.3.1 returns the use of function`tempnam' is dangerous --- WHY?

2003-03-02 Thread Patrick LOK
When I tried to 'make' PHP-4.3.1, it returns warning message and died. I am using RH8.0 + Apache 2.0.44 The warning tells me the use of function name 'tempnam' is dangerous (why? who can tell?), and the 'make' process died. The error is: ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':

Re: [PHP] 'make' PHP4.3.1 returns the use of function`tempnam' is dangerous --- WHY?

2003-03-02 Thread Patrick LOK
I tried to complete the installation (I did 'make install') but the test on 'php -l' didn't return anything; it keeps on running... nothing returns, no core-dump... any further help? Ok! I just want helpers can have a full investigation on the suspected error. Best best regards ./pl "Rasmus

Re: [PHP] 'make' PHP4.3.1 returns the use of function`tempnam' is dangerous --- WHY?

2003-03-02 Thread Patrick LOK
ooops... Should be 'php -i'... ./pl "Patrick Lok" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I tried to complete the installation (I did 'make install') but the test on > 'php -l' didn't return anything; it ke

[PHP] Is anyone use / evaluate lxp before?

2003-03-04 Thread Patrick LOK
Is anyone use / evaluate lxp before? How do u comment this product? rgds ./pl

[PHP] Performance Question

2003-03-04 Thread Patrick Teague
What's the difference in performance between print( file_get_contents("myfile.html") ); and include("myfile.html"); is there any particular reason for using one over the other? Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Patrick Schnegg
Hi Instead of worrying how to pass the individual parameters to foo2, simply pass the whole array to it and process it within the function itself. Seems more logical to me. "Christian Bartels" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello! I'm new here on the list. I hope you

Re: [PHP] Re: How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Patrick Schnegg
he Nachricht- Von: Patrick Schnegg [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 4. März 2003 11:11 An: [EMAIL PROTECTED] Betreff: [PHP] Re: How to use the fields of an array as individual parameter for a function Hi Instead of worrying how to pass the individual parameters to foo2, simply pass the

[PHP] Re: mail() function

2003-03-04 Thread Patrick Schnegg
The mail() function will only send one mail at a time, to send multiple mails you would write a loop like this (presuming you had your mail addresses ready in an array called $emails): foreach ($emails as $email) { mail($email, "your subject", "your message"); } "Denis L. Menezes" <[EMAIL PRO

[PHP] Re: mail() function

2003-03-04 Thread Patrick Schnegg
Just in case you don't know, you can easily make an array out of your string of emails by exploding using the commas as separators: $emails = explode (",", $stringOfEmails); "Patrick Schnegg" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The

Re: [PHP] Re: mail() function

2003-03-04 Thread Patrick Schnegg
Oh, silly me. Commas are indeed accepted. My apologies. - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Tuesday, March 04, 2003 2:18 PM Subject: Re: [PHP] Re: mail() function > On Tuesday 04

[PHP] Re: Remember scrolled position

2003-03-04 Thread Patrick Schnegg
I would tend to make this with common html using named anchors. Just enclose every button with a an anchor and define its name numbering it with php. Then simply make sure that when the button is pressed that number is appended to the url so it will look like yourdocument.php?yourdata=blah#5 making

[PHP] Re: Compiling PHP5 In Linux

2003-03-05 Thread Patrick LOK
Don't panic... it is just a warning according to some expert users. The same WARNING appears in building PHP4 too. I also suffered & spent 3 days trying to fix! Many many people asked WHY. Nobody tells why! Nobody is going to fix it! I would also really want to know why such STUPID message

Re: [PHP] Get data from 5 tables

2003-03-06 Thread Patrick Schnegg
To keep those similiar column names apart and more readable, you might want to use AS. SELECT table1.data AS data1, table2.data AS data2 ... FROM table1, table2 ... Of course this is optional, you can always use table1.data, table2.data instead. Hope that answers your actual question as to how yo

[PHP] Cannot connect PostgreSQL 7.3.1. Using PHP thru...

2003-03-07 Thread Patrick LOK
I have the following setups: *PostgreSql 7.3.1 and MSSQL on Win2k server (A) *Apache 1.3.x + PHP 4.3.1.1(using CGI & loaded w/ php_pgsql.dll) + ODBC for PostgreSql v7.02.00.05 on Win2K server (B) I tried to use phppgadmin 2.4.2 and odbc for postgresql to connect PostgreSql in (A) but both connec

[PHP] Re: Cannot connect PostgreSQL 7.3.1. Using PHP thru...

2003-03-07 Thread Patrick LOK
tcpip_socket is enabled! access to postgresql is granted; ip-address is added to pg_hba.conf - METHOD = trust ./pl "Patrick Lok" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have the following setups: > *PostgreSql 7.3.1 and MSSQL on Win2k server (A)

[PHP] PHP ODBC

2003-03-06 Thread Patrick LOK
Is there ODBC for PHP4 for LINUX to connect MS-SQL? p.s. other than openlink software rgds ./pl

[PHP] dynamic/multidimensional arrays in classes

2003-03-09 Thread Patrick Teague
I've tried this both with & without the commented section & still $r = 0 even if you use '$class->add_something("my value");' 50 times. I'm guessing once this problem is solved it will work for multidimensional arrays as well? Patrick -- PHP General Mailing L

Re: [PHP] Is PHP designed (have the capability) to access remote DB?

2003-03-12 Thread Patrick LOK
> Clint > > -Original Message- > From: Patrick LOK [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 12, 2003 7:26 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; > [EMAIL PROTECTED] > Subject: [PHP] Is PHP designed (have the capability) to access remote > DB? &

[PHP] Re: [PHP-DEV] Is PHP designed (have the capability) to access remote DB?

2003-03-12 Thread Patrick LOK
IT IS ABOUT THE DESIGN AND DEVELOPMENT OF PHP "Derick Rethans" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Stop posting user questions to the php-dev and php5-dev list, as I > explained before. > > Derick > > On Wed, 12 Mar 2003, Patric

Re: [PHP] Re: [PHP-DEV] Is PHP designed (have the capability) to access remote DB?

2003-03-12 Thread Patrick LOK
ing that ASP, ColdFusion, or JSP does in the > way of connecting to a databse. They can all access a database that is not > on the localhost. It is not about the design and development of PHP. > > -Original Message- > From: Patrick LOK [mailto:[EMAIL PROTECTED] > Se

Re: [PHP] Re: [PHP-DEV] Is PHP designed (have the capability) to access remote DB?

2003-03-12 Thread Patrick LOK
em is in: a) db configuration b) your way of trying to connect to db c) your firewall d) remote firewall e) all above Niklas -Original Message----- From: Patrick LOK [mailto:[EMAIL PROTECTED] Sent: 12. maaliskuuta 2003 15:33 To: [EMAIL PROTECTED] Subject: [PHP] Re: [PHP-DEV] Is PHP de

Re: [PHP] dynamic/multidimensional arrays in classes

2003-03-12 Thread Patrick Teague
quot;2", [2]=>"3", ) } For some reason the first while() does not print anything, but comment the first while() & let the 2nd run & it prints. What's up with this? Is this correct or am I missing something obvious again? Thanks again Patrick - Original Message --

[PHP] GIF images

2003-03-13 Thread Patrick Teague
version from php.net on my windows box with the php_gd.dll extension, I've also tried using the php_gd2.dll, but neither seems to work. Thanks for any help :) Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Patrick LOK
There is no firewall within the LAN environment. I tried the mssql_connect too using mssql_connect("testdb","sa","") but same error returned! Any idea? ./pl "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wednesday

Re: [PHP] Re: [PHP-DB] How to Connect remote DB server?

2003-03-12 Thread Patrick LOK
ROTECTED] Possibly the db-server is accepting only localhost connections. Niklas -Original Message- From: Patrick LOK [mailto:[EMAIL PROTECTED] Sent: 12. maaliskuuta 2003 14:39 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Re: [PHP-DB] How to Connect remote DB server? There is n

[PHP] Problem with 4.3.2 built as DSO

2003-07-14 Thread Patrick Hutchinson
. -- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Patrick Hutchinson [EMAIL PROTECTED] Engineering Web Systems Administrator 408.527.0305 direct Cisco Systems, Inc. 408.527.2313 fax -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Problem with 4.3.2 built as DSO

2003-07-14 Thread Patrick Hutchinson
Yeah, I have all that in the conf file. I've rebuilt it twice and made sure it was pointing to the propper apxs and everything. Even did a make clean to be sure. Still doesn't work. I've checked everything I can think of. -Patrick Ray Hunter wrote: Here is how i trouble sho

[PHP] Compiling with LDAP support

2003-07-31 Thread Patrick Hutchinson
where. Anyone have any idea what I need to d/l from Sun to do this? I can't use OpenLDAP for my environment. Thanks. -- /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Patrick Hutchinson [EMAIL PROTECTED] Engineering Web Systems Adm

[PHP] Reading GIF images in Win2k + Apache + PHP

2003-03-17 Thread Patrick Teague
imagecreatefromjpeg($filename); break; case "png": $orig_img = imagecreatefrompng($filename); break; } Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dynamic/multidimensional arrays in classes

2003-03-27 Thread Patrick Teague
t even bother entering the loop. However if I say $mine = myClass(array( 'item1'=>array('a','b','c'), 'item2'=>array('a','b','c') ) ); it prints both... is there some reason why I need to repeat the default valu

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Patrick Teague
Not sure if you've looked at it already or not, but www.webmonkey.com has great web programming info. I followed a couple php tutorials from there & was up & running... then again I've done alot of programming prior to PHP so maybe I'm just warped. Patrick - Orig

[PHP] REPLY NEEDED

2003-04-03 Thread PATRICK KOFI
STRICTLY CONFIDENTIAL WE ARE MEMBERS OF A SPECIAL COMMITTEE FOR BUDGET AND PLANNING OF THE NIGERIAN NATIONAL PETROLEUM CORPORATION (NNPC). THIS COMMITTEE IS PRINCIPALLY CONCERNED WITH CONTRACT AWARDS AND APPROVAL. WITH OUR POSITIONS, WE HAVE SUCCESSFULLY SECURED FOR OURSELVES TH

RE: [PHP] secure sockets

2002-07-23 Thread Patrick Lynch
Hi Josh, I have not done this myself but afaik, you can use curl to so this. http://www.php.net/manual/en/ref.curl.php Best Regards, Patrick Lynch. Optip Ltd, Internet & Mobile Development Co. Clare, Ireland. http://www.optip.com/ -Original Message- From: Josh Levine [mailto:[E

[PHP] Url of frame in php variable

2002-08-01 Thread patrick anderson
Hi, does anyone know of an elegant way to get the Url of the current frame in a php variable. Thanks for any suggestions. Patrick PS I know that PHP_SELF will provide the url of the main frame -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Url of frame in php variable

2002-08-01 Thread patrick anderson
I would like to include a style sheet based on the url; the references to the style sheet are stored in MySQL. I guess the way to code this would be to use php to create the javascript code with the list of style sheets. thanks, patrick Justin French wrote: > the only way would be w

[PHP] QUery success, but blank results/variables

2002-09-09 Thread Patrick Hartnett
Hello everyone..tryin to run this qry against a mysql db, but after it runs, it doesn't assign anything to the variables as it should. If i return all rows, and spit out each record in the result in an array, i have the same problem, but have 24 'blank' records instead of 1. Any ideas? Thanks f

[PHP] Replace linefeed/newline from text inputs with tag?

2002-09-22 Thread Patrick Lebon
If i have a textarea form input for users and they enter in return spaces, how can i replace the ascci chars with html tags? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Wrap content with a layout file

2002-09-22 Thread Patrick Lebon
Is there a way to create a layout file that can wrap around other pages with data in them. I am currently using two includes (one at the start of the page and one at the end) but was wondering if there is a better way to do this. Thanks -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Set a default global - $_GET[]

2002-09-25 Thread Patrick Lebon
How do i set a default value for a url parameter ($_GET[".."]) in PHP 4.1? I currently have a class that sets a default global value but this does not work in this version - the script displays an error if no url value is passed in the url. Thanks -- PHP General Mailing List (http://www.php.n

[PHP] using curl to get part of the html

2002-10-24 Thread Patrick Hsieh
/large_output.cgi";; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 3); $result = curl_exec($ch); curl_close($ch); echo $result; ?> -- Patrick Hsieh<[EMAI

[PHP] Upgraded and now apache just dies

2002-06-21 Thread Patrick Aland
I use postgres but have tried compiling without it also to see if that was it. Any help would be appreciated. Thanks. -- -------- Patrick Aland [EMAIL PROTECTED] Network Administrator Voice: 386.82

Re: [PHP] Upgraded and now apache just dies

2002-06-21 Thread Patrick Aland
, Jun 21, 2002 at 06:14:21PM -0700, Rasmus Lerdorf wrote: > Without the actual error message, there is nothing we can do. > > On Fri, 21 Jun 2002, Patrick Aland wrote: > > > Hey all, > > I just upgraded to 4.2.1 on apache 1.3.26 and now apache won't start. > > If

Re: [PHP] Upgraded and now apache just dies

2002-06-21 Thread Patrick Aland
wrote: > Patrick, > > Try running it thus: > > truss -f apachectl start > > That should tell you where it's dying. > > [billy] > > -- > > > /-=[ BILLY S HALSEY ]=--\ > | Member of Technical Staff,

Re: [PHP] Upgraded and now apache just dies

2002-06-21 Thread Patrick Aland
ly endorsed by my employer." | > \--=[ [EMAIL PROTECTED] ]=/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- ---

[PHP] Detecting Browser Type/OS from HTTP_USER_AGENT

2002-06-27 Thread Patrick Teague
ther. Another reason is because we're cheap & can't afford hardware to seperate wireless clients from everyone else so we're trying to do this by parsing the browser info & sending people to the correct page. Is there an easier way of doing this on the server side? Something I

Re: [PHP] FOXED - no success in replacing file content using fgets/fputs and str_replace

2002-06-27 Thread Patrick Teague
variable even within the if statement. Could this be the problem you've been having? Hope this helps. Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Detecting Browser Type/OS from HTTP_USER_AGENT - Answer!?!

2002-07-02 Thread Patrick Teague
ng several functions using eregi to find stuff... with no success. Then again I am pretty pathetic in using ereg/eregi to find more than a couple characters. Thanks for your help guys :) Patrick - Original Message - From: "Chris Garaffa" <[EMAIL PROTECTED]> To: "Erik

[PHP] Going Nuts with Ereg/Eregi

2002-07-02 Thread Patrick Teague
This works fine except on some browsers which like to return Windows multiple times such as this - "Mozilla/5.0 (Windows; U; Win98; en-US;" Knowing that it's Windows doesn't help, I need to know it's Win98, etc. Thanks for any help :) Patrick -- PHP General Ma

[PHP] Sort with PHP or SQL?

2002-07-04 Thread Patrick Teague
nti-Bot etc... I need something more like - Win Programs Utils - Anti-Bot - Find Ascii Games - Game Pack Online Projects - Anti-Bot etc... Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] AdRotator for PHP?

2002-07-04 Thread Patrick Teague
Hey, I'm wondering if anyone has found or ended up writing something similar to the MSWC AdRotator object in ASP, but for PHP? Or is there already a module on apache.org that I missed? Thanks for any help :) Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Going Nuts with Ereg/Eregi - thanks

2002-07-05 Thread Patrick Teague
Woohoo! it works great now :) Thanks much! Patrick - Original Message - From: "Analysis & Solutions" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, July 02, 2002 9:19 AM Subject: Re: [PHP] Going Nuts with Ereg/Eregi > O

Re: [PHP] Detecting Browser Type/OS from HTTP_USER_AGENT

2002-07-05 Thread Patrick Teague
; when printing out $browser_name, it equals "amaya/V4.3.2 libwww/5.3.1" I've thought of using - eregi_replace( "libwww[\/\.a-z0-9]*", "", $browser_name ); - but not sure if I really want to do it this way or not. Any suggestions? Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Sort with PHP or SQL?

2002-07-05 Thread Patrick Teague
ood at :) The other problem is that any pages that end up having no Header "disappear", which is a good thing on the menu, but a bad thing on the admin pages when you're trying to connect all of them. Patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   >