[PHP] PHP and Paypal: no cURL

2002-02-28 Thread Phil Solomon
Hi There, Could anyone suggest where I can get a workaround script to handle postback variables to Paypal with PHP? I was all set to use cURL but now I've been told that the host hasnt and wont install it with their PHP. Thanx in advance Phil -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: create a file

2002-02-28 Thread Monty
Start here... http://www.php.net/manual/en/function.fwrite.php > From: [EMAIL PROTECTED] (Thomas Franz) > Newsgroups: php.general > Date: Fri, 1 Mar 2002 08:55:25 +0100 > To: [EMAIL PROTECTED] > Subject: create a file > > good morning, > > i want to create a new file and save it in the curren

[PHP] Re: create a file

2002-02-28 Thread Thomas Franz
I found it. "Thomas Franz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED].; > good morning, > > i want to create a new file and save it in the current dir. I look in the > manual but only i found how to create a dir. > > Thanks for help. > > Thomas > > -- PHP General Maili

RE: [PHP] RE: sending multiple frames to different pages

2002-02-28 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)
Thats a good option, 1 I will certainly look into. more questions then. 1.)Is there a way to do this within php ? 2.) how can I refresh my page generating the frame so that it will load the new Thanks, Matt. -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent:

Re: [PHP] Re: Does anybody have code for this?

2002-02-28 Thread Monty
Explain what you mean by "scramble" and what you are trying to accomplish? There isn't a built-in function for this that I've seen, so, you'll have to write your own function using various PHP commands. This function might be useful to that end: http://www.php.net/manual/en/function.levenshtein.ph

RE: [PHP] create a file

2002-02-28 Thread Niklas Lampén
fopen("file", "w") -Original Message- From: Thomas Franz [mailto:[EMAIL PROTECTED]] Sent: 1. maaliskuuta 2002 9:55 To: [EMAIL PROTECTED] Subject: [PHP] create a file good morning, i want to create a new file and save it in the current dir. I look in the manual but only i found how to

[PHP] create a file

2002-02-28 Thread Thomas Franz
good morning, i want to create a new file and save it in the current dir. I look in the manual but only i found how to create a dir. Thanks for help. Thomas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] error msg

2002-02-28 Thread mm fernandez
hi. i get this error message whenever i open my page (except during the first time i open it). Can someone tell me what this means? Warning: open(/tmp\sess_4ed4219513a84c54eba4c1117756c572, O_RDWR) failed: m (2) in C:\apache\htdocs\rs_alumni\alumni.php on line 2 Here is the beginning of my cod

RE: [PHP] RE: sending multiple frames to different pages

2002-02-28 Thread Niklas Lampén
You can use javascript. If you're calling this from a frame, this is how it works: parent.frames["first_frame" / zero based number].location.href = "my_page.php"; parent.frames["second_name" / zero based number].location.href = "my_page2.php"; Problem with this is that if user clicks Back button

Re: [PHP] Re: Does anybody have code for this?

2002-02-28 Thread Leif K-Brooks
on 3/1/02 2:43 AM, Monty at [EMAIL PROTECTED] wrote: > Maybe try looking into the crypt() or md5() functions on php.net. These will > encrypt a string more than "scramble," but maybe one of these serves the > purpose. No, that isn't what I'm looking for. It's not for encryption. I just need a f

[PHP] Re: Does anybody have code for this?

2002-02-28 Thread Monty
Maybe try looking into the crypt() or md5() functions on php.net. These will encrypt a string more than "scramble," but maybe one of these serves the purpose. > From: [EMAIL PROTECTED] (Leif K-Brooks) > Newsgroups: php.general > Date: Fri, 01 Mar 2002 02:30:04 -0500 > To: <[EMAIL PROTECTED]> > S

[PHP] Does anybody have code for this?

2002-02-28 Thread Leif K-Brooks
I'm looking for two functions. One to scramble a string, and one to check if one string is a scrambled version of another. Does anybody have these? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: OCILogin error message

2002-02-28 Thread Philippe Saladin
Have you stop / start your server ? or may be there are some dependencies needed? try to if a DLL is missing, using http://www.dependencywalker.com/ Regards, Philippe "Dharmesh Goradia" <[EMAIL PROTECTED]> a écrit dans le message news: [EMAIL PROTECTED] > Hi, >I'm having trouble with conn

[PHP] RE: sending multiple frames to different pages

2002-02-28 Thread Matthew Darcy
Hello all I have just created a login script that works fine. At the moment I have a pretty simple (I have coded this but I am trying to keep it simple to explain what I am after if login != ok then generate HTML for error page else Generate HTML for ok page. end; what I want to do is

[PHP] Abnormal behaviour with php

2002-02-28 Thread Balaji Ankem
Hi ,    It z amazing behaviour...I am wondering how it is coming only for first time execution.   If I remove the two If conditions in authentication.php and if I execute then it is displaying the blank screen. And again if we replace those two if conditions and if you execute again

Re: [PHP] How to decompress .bz2 file

2002-02-28 Thread Jeff Sheltren
Search on google! Here's the bzip2 homepage with links to download a windows executable: http://www.digistar.com/bzip2/ Jeff At 10:55 AM 3/1/2002 +0530, dharmavatar wrote: >Hi, >Can any one tell me how to decompress .bz2 file,I am using WINDOWS-2000 so >what are the steps? >Thanks in advance.

[PHP] Re: PDF creation with PDF-LIB samples?

2002-02-28 Thread Jim Koutoumis
You could try: http://www.fpdf.org/ Someone posted recently and I've quickly whacked it into my toolbox :-) Jim . "Andras Kende" <[EMAIL PROTECTED]> wrote in message 004801c1c0e3$26bf6070$b59fb841@K...">news:004801c1c0e3$26bf6070$b59fb841@K...; > Hello, > > Trying to create some pdf doc

[PHP] Header calling HTTP Authenticate issue

2002-02-28 Thread Gaylen Fraley
The following code returns a 404 error on a friends host site. The environment is Apache/1.3.23 (Unix) mod_layout/3.0.4 PHP/4.1.1 rus/PL30.11 running under FreeBSD as2.centre.ru 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Other scripts work just fine from the same directory, so I know php is installed

[PHP] PDF creation with PDF-LIB samples?

2002-02-28 Thread Andras Kende
Hello, Trying to create some pdf documents on the fly with php and mysql.. I search the web but not yet found any easy way to do this... Tried Yaps but it requires ghostscript which didnt install on a cobalt raq4 because it it requires some more programs (glibc...etc..)... Anyone can give

[PHP] How to decompress .bz2 file

2002-02-28 Thread dharmavatar
Hi, Can any one tell me how to decompress .bz2 file,I am using WINDOWS-2000 so what are the steps? Thanks in advance. Regards Dharmavatar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] problem with mime mail (attachment part)

2002-02-28 Thread olev rumm
Hello. Have a submission form on my website with attachment possibility. Now, the problem is that it submits all the fields and takes the picture file with it.But when i recieve it in my outlook or outl.exprss the image is like encrypted - all in zeros and ones mixed with some other stuff. I chan

[PHP] OCILogin error message

2002-02-28 Thread Dharmesh Goradia
Hi, I'm having trouble with connection of Oracle. I have followed the following steps 1.I have installed oracle (client side) on my web server 2.I have installed php, copied php.ini file into WinNt/System32 directory 3.Uncommented extension = php_oci8.dll (even copied the php_oci8.dl

[PHP] preg_replace() ??

2002-02-28 Thread Monty
Is preg_replace() the best PHP command to use for parsing custom codes in text retrieved from a database (e.g., turning "[link= ]" into "")? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] patching a lower version.

2002-02-28 Thread Rasmus Lerdorf
So download 4.0.6 and patch that. Or walk through the patch manually and apply the relevant bits to the rfc1867.c file. On Thu, 28 Feb 2002, Steven Deaton wrote: > I'm trying to use the file upload patch..on 4.0.4pl1 > but it only says its for 4.0.6.so will it not work on 4.0.4pl1?

[PHP] session/cookies

2002-02-28 Thread Vlad Kulchitski
Hi again, I am doing a simple example of cookies and my server seems to get frozen. Basically, what I do is: file01.php: file02.php What ends up happening when I go to the second file is the server just opens the file forever never showing the content, and ends up giving me an error messag

Re: [PHP] Help with functions.

2002-02-28 Thread Greg Donald
> I need some help with functions. Does anyone know of a good place to learn > about functions? Will someone be willing to teach me what I need to know about > functions in PHP? Thank you, Here's a really simple example: \n"; // build up some more html $html .= "\$global_var + \$local_var + \$p

[PHP] Re: Help with functions.

2002-02-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Sean Kennedy) wrote: > I need some help with functions. Does anyone know of a good place to learn > about functions? > Will someone be willing to teach me what I need to know about > functions in PHP? If you find after

[PHP] Re: Auto_prepend_file

2002-02-28 Thread Pete Lacey
It's not 'php' but 'php_value'. php_value auto_prepend_file "pathtoscript/uniemail.php" Richard Baskett wrote: > What I want to do is have a function available to all my php files without > having to use an include in every page. So what I did was put this line in > my .htaccess file: > > php

[PHP] Re: php include path setting in .htaccess

2002-02-28 Thread Pete Lacey
php_value include_path "../includefiles/:../../includefiles/" Bill wrote: > How can I set the php include path on an Apache machine using .htaccess. > > Assuming I'm puting it outside of the web root, I think it is something > like: > > php_include_path "../includefiles/:../../includefiles/" >

[PHP] patching a lower version.

2002-02-28 Thread Steven Deaton
I'm trying to use the file upload patch..on 4.0.4pl1 but it only says its for 4.0.6.so will it not work on 4.0.4pl1? and if so..how does it work? I got this when running it.. Hmm... Looks like a unified diff to me... The text leading up to this was: -

RE: [PHP] elseif without else

2002-02-28 Thread Martin Towell
In this case I would assign false to $error before your if's - just to make sure it's set to something definite - that is unless you have already set it furthur up in your code... Martin -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 11:59 AM

[PHP] php include path setting in .htaccess

2002-02-28 Thread bill
How can I set the php include path on an Apache machine using .htaccess. Assuming I'm puting it outside of the web root, I think it is something like: php_include_path "../includefiles/:../../includefiles/" but that generates server errors. Any suggestions? kind regards, bill hollett -- P

Re: [PHP] interesting problem / NETSCAPE-related

2002-02-28 Thread Billy S Halsey
Vlad, Try IMAGE /bsh/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] interesting problem / NETSCAPE-related

2002-02-28 Thread Vlad Kulchitski
Hi guys, I hope someone out there can help me. I just ran into an interesting issue. Basically, I am working on a php-powered template which works in two different languages (English and Ukrainian): http://www.kulchitski.com/btl/template.php?lang=eng When you go to this address (!in Netscape),

[PHP] Re: Auto_prepend_file

2002-02-28 Thread Richard Baskett
Actually I did give the absolute path.. Any more ideas? Rick "If you're going to be able to look back on something and laugh about it, you might as well laugh about it now." - Marie Osmond > From: "Timothy J. Luoma" <[EMAIL PROTECTED]> > Date: Thu, 28 Feb 2002 20:06:39 -0500 (Eastern Standard T

[PHP] Re: Auto_prepend_file

2002-02-28 Thread Timothy J. Luoma
On Thu, 28 Feb 2002, Richard Baskett wrote: > What I want to do is have a function available to all my php files without > having to use an include in every page. So what I did was put this line in > my .htaccess file: > > php auto_prepend_file "pathtoscript/uniemail.php" On my system I had to

Re: [PHP] elseif without else

2002-02-28 Thread Erik Price
On Thursday, February 28, 2002, at 07:42 PM, Jeff Sheltren wrote: > If you are setting a variable inside of the if statements, and then > checking that variable later, then I would say you should either use an > else statement to give that variable a default value, or you should set > the va

Re: [PHP] Upgrading PHP

2002-02-28 Thread Jeff Bearer
One issue I've come across is if you have a site up and running, make php and install php and make and install apache, php won't be upgraded. You need to stop apache before you install the new apache so. after you make apache, stop the running apache, install apache, and then start apache up aga

Re: [PHP] elseif without else

2002-02-28 Thread Erik Price
On Thursday, February 28, 2002, at 07:56 PM, Dennis Moore wrote: > Perfectly legitimate... it is much like having a switch statement > without a > default clause. > Oh, I didn't know that that was legitimate either. :) Thanks Dennis Erik Erik Price Web Developer Temp Media Lab, H.

Re: [PHP] Variables containing HTML?

2002-02-28 Thread Erik Price
Since your function stripslashes the data, does that mean that it's not a good idea to use on code that has backslashes? (For instance, if I have some data that I've already run through addslashes or something). Essentially all I'm asking is if it's safe to encode() any string data or just c

RE: [PHP] elseif without else

2002-02-28 Thread Martin Towell
if there's nothing to do in the else block, then it's a bit pointless to have one eg value="xxx" name="blah"> see what I mean? Martin -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 11:32 AM To: PHP Subject: [PHP] elseif without else For any

[PHP] Help with functions.

2002-02-28 Thread Sean Kennedy
Hello, I need some help with functions. Does anyone know of a good place to learn about functions? Will someone be willing to teach me what I need to know about functions in PHP? Thank you, -Sean Kennedy -http://www.gdesigns.vcn.com -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] elseif without else

2002-02-28 Thread Dennis Moore
Perfectly legitimate... it is much like having a switch statement without a default clause. - Original Message - From: "Erik Price" <[EMAIL PROTECTED]> To: "PHP (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, February 28, 2002 7:32 PM Subject: [PHP] elseif without else > For any of yo

Re: [PHP] elseif without else

2002-02-28 Thread Jeff Sheltren
If you are setting a variable inside of the if statements, and then checking that variable later, then I would say you should either use an else statement to give that variable a default value, or you should set the variable to a default value before the if statements. Your code is "legitimat

[PHP] elseif without else

2002-02-28 Thread Erik Price
For any of you PHP legal eagles: I rtfm'd, but the "elseif" page doesn't say -- is it okay to have if ($x) { // do something } elseif ($y) { // do something } elseif ($z) { // do something } without a final "else"? My code works fine -- so I know that you -can- do this. What I was wondering

RE: [PHP] Variables containing HTML?

2002-02-28 Thread Demitrious S. Kelly
Consider it returns 's:4:"blah";' now, consider encode('blah'); it returns '098108097104' now consider which of the two output strings you end up having to escape special characters for... :) -Original Message- From: Erik Price [mailto:[EMAIL PROTECTED]] Sent: Thursday, February

[PHP] Testing patch for 4.0.6

2002-02-28 Thread Chris Mason
I am using 4.0.6 as a apache module in a redhat server, compiling the src rpm with a couple of custom commands in the spec file. I can't upgrade to a newer version due to changes in the xmltree() function that breaks some of my projects. With the recent vunerability, I needed to generate a patched

[PHP] php compiler project(s)?

2002-02-28 Thread Demitrious S. Kelly
Are there any win32 / *nix PHP compilers out there to make a binary executable. I remember one for win32 a while back but that's no longer even a glimmer in somebody's eyes anymore. Anyone have any info on the subject? (I'm not even looking for something GTK compliant... just something that works)

[PHP] Radius.cgi to PHP conversion.

2002-02-28 Thread Josiah Wallingford
I am working with this Radius.cgi script and know nothing about cgi... I need all of the content to be in php. Can anybody help? radius-cgi.tar.gz Description: GNU Zip compressed data -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP MAIL function...why wont it work????

2002-02-28 Thread Brad Wright
Yep it is a linux box. > From: "DL Neil" <[EMAIL PROTECTED]> > Reply-To: "DL Neil" <[EMAIL PROTECTED]> > Date: Thu, 28 Feb 2002 22:55:59 - > To: "Brad Wright" <[EMAIL PROTECTED]>, "PHP General List" > <[EMAIL PROTECTED]> > Subject: Re: [PHP] PHP MAIL function...why wont it work > > Hi Br

Re: [PHP] Upgrading PHP

2002-02-28 Thread PHP List
Yes, you have to re-compile php because php compile and install a module under apache_1.3.xx/src/modules > Thanks for the reply. I have another question. If I have to recompile > Apache can I take this opportunity to upgrade it as well. I'm using 1.3.14 > but would like to upgrade to a more

Re: [PHP] MacOS-style pager

2002-02-28 Thread Philip J. Newman
We'll for give you - Original Message - From: "James Arthur" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 01, 2002 12:39 PM Subject: Re: [PHP] MacOS-style pager > Sorry -- that was supposed to go to the KDE list :) > > On Monday 25 Feb 2002 20:12, James Arthur wrote:

Re: [PHP] MacOS-style pager

2002-02-28 Thread James Arthur
Sorry -- that was supposed to go to the KDE list :) On Monday 25 Feb 2002 20:12, James Arthur wrote: > Hi > > Does anyone know of any MacOS-style pager applets? Something that would sit > in the panel and display the current app, and give me a drop down list of > running apps. > > GNOME has a ver

Re: [PHP] Upgrading PHP

2002-02-28 Thread Michael Kimsal
Frank Miller wrote: > Thanks for the reply. I have another question. If I have to recompile > Apache can I take this opportunity to upgrade it as well. I'm using > 1.3.14 but would like to upgrade to a more recent version. Also, I > remember when I compiled PHP the first time I had to have t

[PHP] What dll files do I need to go in my SYSTEM32 dir on the server?

2002-02-28 Thread Philip J. Newman
Someone tell me what DLL files you actually need to run PHP on isapi, do I need to have all the files in the /php/ dir? Takes up heaps of HDD space. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MacOS-style pager

2002-02-28 Thread James Arthur
Hi Does anyone know of any MacOS-style pager applets? Something that would sit in the panel and display the current app, and give me a drop down list of running apps. GNOME has a very good one, and I miss it having switched to KDE. --jaa -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Help with Array Walk

2002-02-28 Thread DL Neil
Hello Vidyut, > I have a question regarding array_walk.. I couldn't find any help on > the website or on irc.. didn't know where else to look. You've come to the right place. > I'm stumped, and about to just copy the function on top of this script > to make it work.. any ideas from anyone else

[PHP] Tracking mail() problems

2002-02-28 Thread Brad Wright
Hi all, I am running PHP 4.03 on a linux box and am having problems with the mail() function. I use the syntax: ("[EMAIL PROTECTED]", "if this works, ring me and we party", "Line 1\nLine 2\nLine 3", "From: [EMAIL PROTECTED]") When the script is run, i get no error msg, and the rest of the script

Re: [PHP] the date90 fucntions gone haywire!

2002-02-28 Thread DL Neil
Hi Georgie, > The date() function is returning the 19th of Januray 2038 as *ALL* dates no > matter what timestamp i feed it! whats goin on?? Result outside the UNIX epoch. Sounds like DATE()'s being fed some crazy data. What is the server's ToD clock showing? Make sure you debugECHO the source

Re: [PHP] PHP MAIL function...why wont it work????

2002-02-28 Thread DL Neil
Hi Brad, > Hi all... I have a line in a page that should send me an email when the page > is loaded. > mail("[EMAIL PROTECTED]", "worked", "Line 1\nLine 2\nLine 3"); > when i load the page...i get NO error msgs, but the function does not send > the mail. There is no record of any activity in the

RE: [PHP] loading Arrays

2002-02-28 Thread Martin Towell
sure, you can add/remove/modify element whenever you want your syntax is wrong though try this // add value to array if($flag == "true"){ $samplearray[] = $samplevalue; // append value to end of array } -Original Message- From: sundogcurt [mailto:[EMAIL PROTECTED]] Sent: Friday, M

[PHP] loading Arrays

2002-02-28 Thread sundogcurt
Do I have to fully load up an array when I declare it or can I assign more values to it later? What I want to do is something like this : // create empty array $samplearray = array(); // add value to array if($flag == "true"){ $samplearray => $samplevalue; } This doesn't work, can anybody

Re: [PHP] OMG your right ... $REMOTE_ADDR don't work in Samber 5.1, PHP4

2002-02-28 Thread Philip J. Newman
Is this a server thing, becuse I have just updated the server, and I used to use it all ver the site and it worked ... is there anything else that could do the job of $REMOTE_ADDR ? I run the windows isapi 4.0.5 on Sambar 5.1 if that healps - Original Message - From: "Simon Willison" <[E

[PHP] Auto_prepend_file

2002-02-28 Thread Richard Baskett
What I want to do is have a function available to all my php files without having to use an include in every page. So what I did was put this line in my .htaccess file: php auto_prepend_file "pathtoscript/uniemail.php" It didn¹t work, I also tried php_auto with the underscore in the above.. And

RE: [PHP] Reference problem

2002-02-28 Thread Martin Towell
Title: RE: [PHP] Reference problem I wrote an xml parsing class, and xml tag class, that might help you there see the attachment -Original Message- From: John English [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 12:35 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject:

[PHP] the date90 fucntions gone haywire!

2002-02-28 Thread Georgie Casey
The date() function is returning the 19th of Januray 2038 as *ALL* dates no matter what timestamp i feed it! whats goin on?? -- Regards, Georgie Casey [EMAIL PROTECTED] *** http://www.filmfind.tv Ireland's Online Film Production Directory *** --

Re: [PHP] Reuse variables?

2002-02-28 Thread Simon Willison
Tim Thorburn wrote: > I've setup a form that users to our site fill out to request to be > added to our listings. Currently its setup so that the user fills out > the form, and the information is emailed to me for reviewing - however > I'd like to carry it a step further and enter only some o

Re: [PHP] OMG your right ... $REMOTE_ADDR don't work in Samber 5.1, PHP4

2002-02-28 Thread Simon Willison
Philip J. Newman wrote: >OK yah, this is a pain in the butt, $REMOTE_ADDR Dose not work in Sambar 5.1. Anyone >have anyone have any solutions that can be used insteard? > Whenever you have a problem like this run phpinfo(); and have a look at the available environment variables. Useing print_r

[PHP] Reuse variables?

2002-02-28 Thread Tim Thorburn
Hi, I've setup a form that users to our site fill out to request to be added to our listings. Currently its setup so that the user fills out the form, and the information is emailed to me for reviewing - however I'd like to carry it a step further and enter only some of the emailed informatio

RE: [PHP] Help me!!!Can I use PHP to send SMS message???

2002-02-28 Thread Frank Hertogs
Another way of doing it is thru an e-mail to sms gateway; free or paid. That way you could make a simple form and use mail(); Just a thought. Frank. -Oorspronkelijk bericht- Van: Simon Willison [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 28 februari 2002 12:30 Aan: hei CC: [EMAIL

[PHP] OMG your right ... $REMOTE_ADDR don't work in Samber 5.1, PHP4

2002-02-28 Thread Philip J. Newman
OK yah, this is a pain in the butt, $REMOTE_ADDR Dose not work in Sambar 5.1. Anyone have anyone have any solutions that can be used insteard? Philip J. Newman Philip's Domain - Internet Project. http://www.philipsdomain.com/ [EMAIL PROTECTED] Phone: +64 25 6144012

Re: [PHP] Writing to files

2002-02-28 Thread William Lovaton
There is no need to use cookies, sessions, write to a file or somethings like that... just pass the vars from a page to another through hidden fields in the next page form. Eg. William El mié, 27-02-2002 a las 02:18, Chris Kay escribió: > > Question I have is, Anyway know of a better way t

Re: [PHP] Variables containing HTML?

2002-02-28 Thread Simon Willison
Erik Price wrote: > > What's the difference between this and the serialize() function? > > Erik It solves a different problem to serialize(). serialize can take pretty much any PHP object / array / data structure and convert it into a string, but the resulting string will still need addslashe

[PHP] Overriding session headers

2002-02-28 Thread Daniel Grace
Is there a way to override the headers that session_start() sends to the browser from within a PHP script? On php 4.0.4pl1 (will be upgrading to 4.1.1 later) on SOME browsers (notably, IE 6.0 on XP -- my setup), a script I have that outputs a PDF document will misbehave in IE when the "No-store" p

Re: [PHP] Upgrading PHP

2002-02-28 Thread Frank Miller
Thanks for the reply. I have another question. If I have to recompile Apache can I take this opportunity to upgrade it as well. I'm using 1.3.14 but would like to upgrade to a more recent version. Also, I remember when I compiled PHP the first time I had to have the Apache source and when I

Re: [PHP] Sessions and switching between php and htm documents

2002-02-28 Thread William Lovaton
Did you register de variable? look for session_register() in the manual. You can see this articles too: http://www.phpbuilder.com/columns/mattias2312.php3 http://www.phpbuilder.com/columns/mattias2105.php3 William. El mar, 26-02-2002 a las 23:36, Dave escribió: > login.htm > f

Re: [PHP] Variables containing HTML?

2002-02-28 Thread Erik Price
What's the difference between this and the serialize() function? Erik On Monday, February 25, 2002, at 11:27 PM, Demitrious S. Kelly wrote: > It breaks the individual characters down into their ascii equivalent, > and makes it one big 'numerical' string... then breaks the string back > in

[PHP] Upgrading PHP

2002-02-28 Thread Frank Miller
All, I have a question about upgrading php. With the CERT advisory coming yesterday and the quick response from the PHP website I thought today would be a good day to upgrade my PHP. I initially installed the php 4.03 src in /usr/src and built it as an apache module DSO. To

[PHP] Re: Tech Tip

2002-02-28 Thread Josiah Wallingford
It would also be nice to have a script that will let me add new ones whenever I want and delete any ones I want but I think I can figure that out. I also need these tech tips to be able to be in html so that I can add pictures. On Thursday, February 28, 2002, at 02:23 PM, Josiah Wallingford w

[PHP] MySql - PHP

2002-02-28 Thread Josiah Wallingford
I am in the process of creating a php script that will do the following for users in the ISP that I work at: First screen: Which department do you work for? (List of all departments, in this example we will use the salesman) Second Screen: username - password (employee enters user-pass) They are

[PHP] check on pictures

2002-02-28 Thread Martin Kampherbeek
Can someone help me with this problem? Someone fills in my form. One field on the form is galleryurl. Here he types a url with some pictures on it. On this page the are thumbnail with links to bigger pictures. Now I want to check if the pictures are realy on it. And I want to check if there is a

[PHP] Sockets

2002-02-28 Thread Karl Pietri
Hello i am trying to write a php script to monitor some tcp services running on our network. i use fsockopen to open it. I use this code to get all the data off the port in one block. while(!feof($sock)){ $indata.=fgets($sock,256); } the code is roughly like this co

[PHP] Re: how to: variable = php parsed file include

2002-02-28 Thread Julio Nobrega Trabalhando
Find on phorm.php where you want to put your nav bar, and use: include('file_name.php'); -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Brian Petro" <[EMAI

[PHP] Using SSL - slightly OT

2002-02-28 Thread Darren Gamble
Good day, I'm trying to set up a site that will use SSL for all of its web and control transactions. Currently I get an error when Apache is started up with PHP and SSL compiled together (on FreeBSD). There's a bug report on it, so it's just a matter of waiting. In the meantime, I'd like to se

[PHP] Help with the record, here isn't visibility!!!

2002-02-28 Thread Michele Salerno
The page is http://www.coopmediante.net/page/utenti/master.php In the database i have 3 records. the page no print a video the records, because?? Help me...help me! Tanks you very much!...is correct much? Bey bey Michele http://www.interakt.ro/ require("./../../adodb/adodb.inc.php");

[PHP] how to: variable = php parsed file include

2002-02-28 Thread Brian Petro
I've got a site that I've used php to include the navigation bar as a separate file. Within that nav-bar is a small php application. I have no problem including the php nav-bar file and it gets parsed by php and the application works. The problem is that I also want to use the same file include

Re: [PHP] PHP and passwords

2002-02-28 Thread Sam Masiello
What you could do is have a script called connect.inc which has your pg_pconnect statement, then use the "include" directive to include your connect.inc on all of your subsequent PHP pages. This way you only have the username/password hard coded in one location so if the username/password were t

Re: [PHP] fsockopen and HTTP Authorization

2002-02-28 Thread Mika Tuupola
On Thu, 28 Feb 2002, Bas Jobsen wrote: > I try to do a HTTP Authorization with a fsockopen, but it doesn't seem to > work. Who can help? > $user and $passwd are set well, my code: I think you can spy from PEAR HTTP_Request class how it can be done: http://chora.php.net/

[PHP] regular expression; problem with '-' character

2002-02-28 Thread Lee P Reilly
Hi, Could someone be kind enough to have a look at this regular expression and perhaps tell me why is returns false when a '-' character is included in the $center string? if (eregi("^[a-zA-Z0-9!@#\$%^&\*\(\),/.//<>\?;':\"~`_\+\|\-\\\t\n\ ]*$", $center)) { return true; } else {

Re: [PHP] class effeciency

2002-02-28 Thread Mika Tuupola
On Thu, 28 Feb 2002, Nick Wilson wrote: > It is only the *properties* that are different in each language class > not the methods so I'm including all the same methods twice! That > doesn't seem terribly efficient. There is no need to rewrite the methods. See: http://www.php.net

Re: [PHP] Apache Server Side Includes mixed with PHP pages

2002-02-28 Thread Joel Boonstra
> Thanks Martin - that does work. I was just thinking in ASP terms. But I > am curious as to whether Server Side Includes can work together with > php. Nope, at least not with Apache <= 2.0. Apache 2 will let you have multi-pass parsing, so your PHP could output SSI, which would then be parsed.

RE: [PHP] URGENT: CERT Advisory CA-2002-05 Multiple Vulnerabilities in PHP fileupload

2002-02-28 Thread Nathan Cassano
I'm finished! Patched all my servers, recompiled and installed. We're safe. -Original Message- From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 9:58 AM To: [EMAIL PROTECTED] Subject: [PHP] URGENT: CERT Advisory CA-2002-05 Multiple Vulnerabilities in P

[PHP] PHP and BrowserHawk

2002-02-28 Thread Richard Fox
Hi Richard, I have finally got Java working with PHP. My Java is JSDK 1.4.0, the latest release of the SDK from Sun. How do I know it's working? I put $system = new Java("java.lang.System"); print "Java version=".$system->getProperty("java.version")." \n"; print "Java

[PHP] Won't display session information

2002-02-28 Thread jeremy spielmann
I'm working on a simple session management program for logging in and I can't seem to get the information to properly display. I would really appreciate a second look from someone. Code is below Execute($strSQL); if ($rs->EOF) { Access_Denied(); } else { $_SESS

Re: [PHP] Simple chat

2002-02-28 Thread Dean Householder
You can try a very cheesy solution. Totalsimplicity will host a free chat room without any installation. All you have to do is go to the following link: http://www.totalsimplicity.com/genchat.php?fromj=y and specify the name of the chat room you want to create and it will generate the code to ad

Re: [PHP] PNG Lib

2002-02-28 Thread PHP List
Thanks, Sorry I asked, I should have just searched for it, but my clue-x-4 is broken. > > Does anyone know where the PNG library went? > > The manual points to cdrom.com/pub/png, but that does not exist anymore. > > http://www.libpng.org/pub/png/ > > --

Re: [PHP] Stupid Question

2002-02-28 Thread PHP List
RE: [PHP] Stupid QuestionThanks for all the responses. Just to be clear, I have php installed as a module, so I have to re-compile apache. - Original Message - From: Adam Plocher To: 'PHP List' Sent: Thursday, February 28, 2002 9:46 AM Subject: RE: [PHP] Stupid Question

[PHP] Simple chat

2002-02-28 Thread Danilo Dias
I have 2 problems. Problem #1: I need to make a simple chat page. When a user logs in, he should be able to see everyone that is logged in, and send messages to all. Just that. Its not necessary that they send messages to a particular person. I need just one room. It may be simple, but I ha

[PHP] URGENT: CERT Advisory CA-2002-05 Multiple Vulnerabilities in PHP fileupload

2002-02-28 Thread Bogdan Stancescu
Hello everybody! For whever's interested... < @cert.org="">< @cert.org="">CERT Advisory CA-2002-05 Multiple Vulnerabilities in PHP fileupload Original release date: February 27, 2002 Last revised: -- Source: CERT/CC A complete revision history can be found at the end of this file.

[PHP] PHP and passwords

2002-02-28 Thread webmaster
Is there a way to connect to your database using php without hard coding a password into the php file? We run PostgreSQL 7.1 on a Linux 7.2 server with the latest version of apache. I don't want to change the authentication within Postgres to not require a password. But I also, for security rea

  1   2   >