[PHP] Gettting an XML file through a proxy

2001-05-04 Thread Steve Haemelinck
Hi All Anybody got an idea how I can get an XML file through a proxy. I tried fsockopen with a a GET request but this does not give me what I want :) Thx Haemelinck Steve Personal: Haemelinck.be - Developers Unite :) Junior WebDeveloper http://www.haemelinck.be:8080/ [EMAIL PROTECTED] Work:

Re: [PHP] MD5 password

2001-05-04 Thread elias
Get Input password into $pwd Get hashed password from db into $hashed_pwd do compare like: if (md5($pwd) == $hashed_pwd) { // good! } Yamin Prabudy [EMAIL PROTECTED] wrote in message 004901c0d462$ff394240$[EMAIL PROTECTED]">news:004901c0d462$ff394240$[EMAIL PROTECTED]... Hi there assume that I

Re: [PHP] BET News

2001-05-04 Thread Hrishi
posted mailed MTV Jams wrote: http://www.mp3.com/mcpedro from [EMAIL PROTECTED] The question is this, If you placed a Jamaican born MC on a Hip Hop/Trance/Techno track and told him to flow without losing his yard essence (Jamaican Vibes), what would you get? Most likely confusion of

Re: [PHP] OT-Please bare with me :)

2001-05-04 Thread Hrishi
Brandon Orther wrote: menu on the new Cobalt XTR server admin section. If anyone has a JavaScript or a tutorial how to make a drop down menu please send me a link. try http://www.webreference.com/dhtml/ cheers, Hrishi -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] HI

2001-05-04 Thread Hrishi
Jorge Amaya wrote: I am new user of php, I have installed apache 1.3.x, php3 and mysql, but I have a problem, My navigator doesn't recognize the files of php3, that is to say it doesn't work me php in the navigator, I have configured such and like says the manual in php.ini and also in the

Re: [PHP] Getting the first part out of a string

2001-05-04 Thread Hrishi
Richard Kurth wrote: I know how to get last part of a string out of a string But how do I get the first part before the needle On the example below I just what domain $hostdomain= domain.com $host = substr (strrchr ($hostdomain, .), 1); strrchr (two r) finds the first occurence

Re: [PHP] % always return int?

2001-05-04 Thread Wico de Leeuw
At 21:33 3-5-2001 -0300, Christian Dechery wrote: How can I get the modulus of an float by an integer? $time=3.345345; $time2=2.34234; $time3=$time%$time2; try $time3=(long)$time%$time2; something like that should work echo $time3; this outputs 1. $time=3.345345; $time2=2

Re: [PHP] Keyboard Hotkeys

2001-05-04 Thread elias
yes sure you can! you can with javascript do it! check www.javascript.com and search for keyboard-slider script! -elias www.eassoft.cjb.net Chris Aitken [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hey guys, Just a quick quesiton I was asked by someone

[PHP] File upload problems.

2001-05-04 Thread Hilbert Mostert
Hello all, I have some serious problems with file uploads, when i upload a file to the server it creates the $userfile, $userfile_type, $userfile_name and $userfile_size variables, but it doesn't create the actual file in the /tmp dir (the upload directory). I have used redhat 7.0 with apache

[PHP] RE: Searching for array keys

2001-05-04 Thread Tim Ward
if (isset($array[key])) Tim Ward Senior Systems Engineer Please refer to the following disclaimer in respect of this message: http://www.stivesdirect.com/e-mail-disclaimer.html -Original Message- From: Martin Skjöldebrand [mailto:[EMAIL PROTECTED]] Sent: 04 May 2001

Re: [PHP] how?

2001-05-04 Thread Geir Eivind Mork
On Thursday 03 May 2001 17:30, Jason Stechschulte wrote: On Thu, May 03, 2001 at 03:56:55PM -0700, elias wrote: i even tried the eval() which should work, but it didn't, scroll down to message with Subject: $hello I don't think you understand eval(). Either that or I don't. If I

[PHP] Choosing a random value out of two

2001-05-04 Thread Sebastian Sprenger
hi. i want to randomly assign either value1 or value2 to a $variable. how can that be done? thanks, Sebastian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators,

Re: [PHP] Choosing a random value out of two

2001-05-04 Thread Sebastian Sprenger
THANKSALOT! sebastian Taylor, Stewart [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... srand((double) microtime() * 100); $which = rand(0,1); $variable = ($which)? $value1 : $ value2; -Stewart -Original Message- From: Sebastian Sprenger

Re: [PHP] Shorten String or encode/decode a string

2001-05-04 Thread Christian Reiniger
On Thursday 03 May 2001 21:25, Jared Howard wrote: I want to shorten a string that I'll be throwing through the url. It's not so much that it's too long, but it's ugly. What it is, is my query string that I need to pass through to different pages, i.e. viewing multiple pages. Anyway, I was

[PHP] slashes \ appearing

2001-05-04 Thread magnus lawrie
I am using a form to test posting a variable. If my variable looks like this in script post_var.php3 : stringinaaform then it comes out like this in recieve.php3 : \stringinaaform\ why? thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] appended with \

2001-05-04 Thread magnus lawrie
I am using a form to test posting a variable. If my variable looks like this in script post_var.php3 : stringinaaform then it comes out like this in recieve.php3 : \stringinaaform\ why? thanks in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] appended with \

2001-05-04 Thread Jason Brooke
I am using a form to test posting a variable. If my variable looks like this in script post_var.php3 : stringinaaform then it comes out like this in recieve.php3 : \stringinaaform\ why? thanks in advance. Did you check the manual? http://www.php.net/manual/en/configuration.php

Re: [PHP] Getting the first part out of a string

2001-05-04 Thread Gyozo Papp
$pos = strpos($hostdomain, '.'); if ($pos === false) { /*no point found */} else $str = substr($hostdomain,0, $pos); or much better: $parts = explode('.', $hostdomain); and you get all parts of $domain name. from $hostdomain = www.behsci.sote.hu $parts = array('www', 'behsci', 'sote',

Re: [PHP] array 2 links

2001-05-04 Thread Gyozo Papp
Hi, You are really messed up with this 'if' statement. What you want is nicely described, so I won't repeat it, just make some correction... function array2links($cat, $arr) { $i = 0; $cat = rawurlencode($cat); while ( list( $key, $val ) = each($arr)) { $out .= a

Re: [PHP] Working with numbers

2001-05-04 Thread Gyozo Papp
Hello, Jennifer are you still struggling with the trailing zeros? Then try, echo round($number, 2); // with ie.: $number = 123.45 and 123.00 As I know there is no particular float, but double type in PHP. (double means double precision number -- ie.: 15 decimal places instead of 6 decimal

[PHP] Serious upload problems

2001-05-04 Thread Hilbert Mostert
Hello all, I have some serious problems with file uploads, when i upload a file to the server it creates the $userfile, = $userfile_type, $userfile_name and $userfile_size=20 variables, but it doesn't create the actual file in the /tmp dir (the = upload directory). I have used redhat 7.0 with

Re: [PHP] Serious upload problems

2001-05-04 Thread Plamen Slavov
Did you check if user nobody has write permission for the /tmp directory? - Original Message - From: Hilbert Mostert [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday 04 May 2001 ?. 1:55 PM Subject: [PHP] Serious upload problems Hello all, I have some serious problems with file

RE: [PHP] Need to know this

2001-05-04 Thread Grimes, Dean
I believe PHP stands for: PHP Hypertext Preprocessor where the first P actually stands for PHP. Just Like GNU: GNU Not Unix. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 10:37 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Need to know

[PHP] --register-globals - dev question

2001-05-04 Thread Jon Rosenberg
Can someone on the dev team remind me at what version --register-globals became the default way PHP works? I looked in the config manual, but it looks like that config optoin has been completely removed from the list. I think now it is in the php.ini file. Is this correct? Thanks Jon --

[PHP] Array help please

2001-05-04 Thread peter.beal
I'm trying to debug some software that I downloaded from the web. It seems to work fine most of the time however it occasionally crashed with database errors. When I look at the code it has a lot of array references that i don't understand e.g. $Session[clientID] most references at are of

Re: [PHP] how?

2001-05-04 Thread elias
Guys! Your solutions are great, and i though of that too! but what prevents what i'm thinking of to be done? Again, ...i have a .TXT file and not a PHP file and inside that .TXT file i have PHP variable names, like $myname, $hisemail I want like: $myname = elias; $hisemail = [EMAIL

Re: [PHP] appended with \

2001-05-04 Thread James Holloway
Magnus, $string = stripslashes($string); http://www.php.net/manual/en/function.stripslashes.php James. magnus lawrie [EMAIL PROTECTED] wrote in message 9cu11s$6k1$[EMAIL PROTECTED]">news:9cu11s$6k1$[EMAIL PROTECTED]... I am using a form to test posting a variable. If my variable looks like

[PHP] Life easy with MySQL

2001-05-04 Thread Hassan Arteaga
Who knows about some Visual Query Generator or/ and Visual Diagram Generator as MS SQL but for MySQL ? -- M. Sc. Hassan Arteaga Rodríguez Microsoft Certified System Engineer Network Admin, WEB Programmer FUNDYCS, Ltd [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] changing a file on the server using a web form

2001-05-04 Thread Jason Stechschulte
On Thu, May 03, 2001 at 04:02:32PM -0400, Sherman wrote: I have installed mod_php on my Apache web server and there is something I was curious about. I would like there to be a web page with a form that a user can enter some info into.. and it change a file in say /etc/file.txt when

Re: [PHP] slashes \ appearing

2001-05-04 Thread Jason Stechschulte
On Fri, May 04, 2001 at 12:41:57PM +0200, magnus lawrie wrote: I am using a form to test posting a variable. If my variable looks like this in script post_var.php3 : stringinaaform then it comes out like this in recieve.php3 : \stringinaaform\ why? thanks in advance. Because PHP is

Re: [PHP] Array help please

2001-05-04 Thread Jason Stechschulte
On Fri, May 04, 2001 at 01:19:57PM +0100, peter.beal wrote: I'm trying to debug some software that I downloaded from the web. It seems to work fine most of the time however it occasionally crashed with database errors. When I look at the code it has a lot of array references that i don't

Re: [PHP] Array help please

2001-05-04 Thread peter.beal
Thanks Peter Jason Stechschulte [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, May 04, 2001 at 01:19:57PM +0100, peter.beal wrote: I'm trying to debug some software that I downloaded from the web. It seems to work fine most of the time however it

[PHP] fargin sessions...

2001-05-04 Thread motorpsychkill
If anybody is remotely interested, this is how I got php 4.0.4 to do sessions without cookies and with register_globals=OFF. Tested on IE 4.something (I'm not really coherent right now ;) and Netscape 4.5. This took me a while to figure out and thought it might help save someone else the

Re: [PHP] Need to know this

2001-05-04 Thread Michael Kimsal
Go check the archives - marc.theaimsgroup.com has a link to them, and I think there's a link at php.net. We've also got a link to them at http://phphelpdesk.com/search/ (frames required). You'll find numerous arguments on both sides in the archives. More than you'll probably get in a response

Re: [PHP] Searching for array keys

2001-05-04 Thread Martin Skjldebrand
Mark Charette wrote: What's the best way of finding out if a specific array key is in an array? I have an associative array which *may* look like (car =saab, house = mansion, countyW= A) but can equally well look like (boat = daycruiser, house = flat, county = B). I want to

[PHP] how to get RAW POST DATA!

2001-05-04 Thread ondi
Hi there php people! Is there any way to get RAW POST DATA from cgi-bin php script with track_vars turned on? the array $HTTP_POST_VARS contains parsed data with _ instead of spaces and split all RAW data by = !!! thats too bad! is there any other variable? Have a nice day! -- PHP General

[PHP] ISAPI

2001-05-04 Thread Hassan Arteaga
I want to setup PHP on W2000 + IIS 5 PC as ISAPI..When I change from CGI to ISAPI ..I receive this error messages: 500 Internal Server Error Steps followed to install ISAPI.. IIS 4.0+ (isapi): 1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it

[PHP] user tool to admin groups, subgroups, and users.

2001-05-04 Thread Delbono
Is there any? I need to create a tool for creating administering users like this. user1, user2, user3, etc.. Under user1 there are subuserA, subuserB, subuserC, etc.. Under subuserA there are many other users... it's like a piramyd. Does anyone know any link about such a tool? Thanks

[PHP] PHP using Forms

2001-05-04 Thread Mike Mike
Hello, I have a form field TEXTAREA name=Home ROWS=10 COLS=40? echo $Home ?/TEXTAREA with this data in it: My Home 11 North 5th St St. Paul MN Phone: (555) 555- Fax: (555) 555- E-Mail: [EMAIL PROTECTED] When submited it goes into a mysql database. The problem i'm running into is that

Re: [PHP] PHP using Forms

2001-05-04 Thread Zak Greant
Use the nl2br() function --zak - Original Message - From: Mike Mike [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 04, 2001 8:11 AM Subject: [PHP] PHP using Forms Hello, I have a form field TEXTAREA name=Home ROWS=10 COLS=40? echo $Home ?/TEXTAREA with this data in

RE: [PHP] PHP using Forms

2001-05-04 Thread Jon Haworth
Try this: $Home = nl2br($Home); // nl2br converts newlines to brs See http://www.php.net/nl2br for more info. (Incidentally, I answered exactly the same question yesterday, in exactly the same way. *Please* check the list archives/last few days postings/manual before posting this sort of

Re: [PHP] MD5 password

2001-05-04 Thread Thimo von Rauchhaupt
Hi there assume that I had a password field in md5 format like this $1$uJ8d$jJKOHnfh^79824/. how do i compare an input password to the password that I sore in database so it can return right or wrong password Just compare the md5 hashed password with the md5 hashed string from the database.

[PHP] IMAP, krb4 and PHP4.

2001-05-04 Thread Liam Hoekenga
I'm trying to use UW IMAP c-client w/ the kerberos v4 patches with PHP 4.0.x and IMP 2.2.x I've tried both IMAP 4.7c and IMAP2000 - both the c-clients build fine. I had some problems getting IMAP 4.7c working with PHP4, but I've confirmed that it does work (I can open IMAP streams using a clear

[PHP] date calculation

2001-05-04 Thread Gary
Is there a way to do calculations with dates? Preferably ignoring weekends. Thanks, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] Array Assignment

2001-05-04 Thread Mark Cain
I'm new to PHP (which will be obvious in just a minute). In Perl I can assign dynamic keys ad infinitum to an array such as: $sku{$id}{$line}{$price} = 99; But the syntax is escaping me for the same function in PHP. As I was trying to debug my thinking, I ran the following little test and am

Re: [PHP] ISAPI

2001-05-04 Thread Phil Driscoll
As it says in the installation notes, the ISAPI module is not ready for production use - and what you are witnessing is its favourite trick! If you are an IIS wizard and are able to investigate why it goes wrong, your input would be most welcome! Cheers -- Phil Driscoll Dial Solutions +44

[PHP] Help please

2001-05-04 Thread Alain ROMERO
This code works fine on Win NT/IIS with Netscape but not with IE4 : cookie is not set ? ?php include include.php; if (authUser($username,$userpass)) { // do not work with IIS //$exp = gmdate (M d Y H:i:s, time()-3600);

RE: [PHP] PHP using Forms

2001-05-04 Thread Altunergil, Oktay
The below does the newline and takes care of html tags which might otherwise get parsed by the web browser. # This function is to fix the characters. It replaces all htmlentities with their amp kind representation # and converts newlines to html breaks (BR) function fix($string)

[PHP] Need help cookie

2001-05-04 Thread Alain ROMERO
This code works fine on Win NT/IIS with Netscape but not with IE4 : cookie is not set ? ?php include include.php; if (authUser($username,$userpass)) { // do not work with IIS //$exp = gmdate (M d Y H:i:s, time()-3600);

Re: [PHP] date calculation

2001-05-04 Thread James Holloway
Gary, Yes. Check the manual for mktime(); and getdate(); http://www.php.net/quickref.php James Is there a way to do calculations with dates? Preferably ignoring weekends. Thanks, Gary -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] Need to know this

2001-05-04 Thread Johnson, Kirk
People Hate Perl ;) Kirk I need to find out what PHP stands for. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] HTTP_HOST or SERVER_ADDR

2001-05-04 Thread Wei Weng
Which one is more adequate for representing server ip? Thanks -- Wei Weng Network Software Engineer KenCast Inc. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] BET News

2001-05-04 Thread John Monfort
Ok...all together now, in how many languages can you say, OUT OF PLACE !!! --Spammers, sheesh ! -- On Thu, 3 May 2001, MTV Jams wrote: http://www.mp3.com/mcpedro from [EMAIL PROTECTED] The question is this, If you placed a Jamaican born MC on a Hip Hop/Trance/Techno track and

RE: [PHP] session_register()

2001-05-04 Thread Johnson, Kirk
-Original Message- From: Jennifer [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] session_register() 1. What browser are you using? I, and others, have seen erratic results with sessions using Netscape 4.x. If this is your browser, try your code with another browser, if

RE: [PHP] PHP using Forms

2001-05-04 Thread Mike Mike
Thank you all!! :-) --- Altunergil, Oktay [EMAIL PROTECTED] wrote: The below does the newline and takes care of html tags which might otherwise get parsed by the web browser. # This function is to fix the characters. It replaces all htmlentities with their amp kind representation # and

RE: [PHP] session_register()

2001-05-04 Thread Matthew Luchak
I would be very interested in hearing of any developments with session anomilies.. Netscape® Communicator 4.76 M$2000 PHP Version 4.0.4pl1 System Windows NT 5.0 build 2195 Server API CGI ZEND_DEBUG disabled Thread Safety enabled works using: ?php session_register (sidcount);

RE: [PHP] Array Assignment

2001-05-04 Thread Gyozo Papp
Mark Cain [EMAIL PROTECTED] wrote in message 9cufuv$s20$[EMAIL PROTECTED]">news:9cufuv$s20$[EMAIL PROTECTED]... Two things: 1) Why does the code below produce this result? 2) How do I assign to an multidimensional array with dynamic keys? Here is the test code: $first = Elementary;

[PHP] Generating thumbnails of JPEG/GIF images

2001-05-04 Thread Richard
Greetings. Is there any quick way to generate thumbnails of existing pictures in a directory? It would seem quite worthless to create 120x120 images of ones that already exist, and upload duplicates.. Therefore, dynamic thumbnails would be perfect. Any solutions? PHP 4.0+ thanks. -

[PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Thomas Edison Jr.
gosh, i just downloaded the new PHP file from www.php.net, the file i downloaded is : *** PHP 4.0.5 [4,590Kb] - 30 April 2001 (CGI binary plus server API versions for Apache, AOLserver, ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as zip) *** i'm using win98 PWS

Re: [PHP] Generating thumbnails of JPEG/GIF images

2001-05-04 Thread Web master
I wrote a small function like the following to create my won thumbnails. function make_tumb_nail($url){ $size=GetImageSize(image/$url); $ht=$size[1]; $wd=$size[0]; if($ht$wd){ $h=$ht; for($i=1.01;;){ if($h121){ break; } $h=$ht/$i; $w=$wd/$i; $i=$i+0.01; } }

RE: [PHP] Need to know this

2001-05-04 Thread S.J. Black
People Hate Perl ;) That's gorgeous! g Alpha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] preg vs ereg (performance)

2001-05-04 Thread Matthew Aznoe
I am in the process of writing an application that does a lot of parsing in which performance is the key. In the process, I performed some rudimentary speed testing that yielded some interesting results. Rather than keep them to myself, I thought I would share them. I am currently parsing out

Re: [PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Phil Driscoll
If you were replacing an earlier version of php, your registry should already have contained the correct stuff - did you change anything? What does ka-BOom actually mean in terms of error messages etc? From the command line, change to the folder containing php.exe, type php.exe -i and see if

[PHP] PHP Java ?

2001-05-04 Thread Jack Sasportas
While working on some web sites which contain mouse over java, and then adding in some db stuff via php/mysql, the java seems to break. Is there something special I need to do to prevent that break? Is this a common problem? Does using templates get around that problem ? Thanks !

Re: [PHP] HELP!! PHP not working Suddenly!!!

2001-05-04 Thread Thomas Edison Jr.
i was gonna die until u came along, at least you have given me some hope. i'm not able 2 eat since this happened. anyway, already have contained the correct stuff - did you change anything? yes, because the earlier php were in very different folders..i had a pretty pretty early version of

Re: [PHP] PHP Java ?

2001-05-04 Thread Michael Stearne
They are totally un-related. Make sure that the final HTML on the page (some of it generated by PHP) is corrent and doesn't break the Java/Javascript. Michael Jack Sasportas wrote: While working on some web sites which contain mouse over java, and then adding in some db stuff via

Re: [PHP] PHP Java ?

2001-05-04 Thread Peter Dudley
If it's javascript, then be careful about echoing PHP variables into Javascript strings. If you have something like (in Javascript) var myString = '?php echo $phpString; ?'; and $phpString contains any apostrophes, then the javascript will break because Javascript thinks the string has ended

Re: [PHP] restrict access of Copy command

2001-05-04 Thread Pandrac
Yep, that was most of the problem. I was coding and testing from one machine on my network so all the files had the same owner. When I changed the owner for the files for each virtual host to the user for that virtual hosts, and set permissions to 705, everything seems to work as it should. Now

Re: [PHP] PHP Java ?

2001-05-04 Thread Jack Sasportas
I am echoing the javascript and other html, and at this point *not* putting values into the javascript. I take a string like so: $string= JavaCode HTMLStuff ; I make sure that *everything* in the quotes has only sinlge quotes no double quotes so that PHP doesn't think its the end of the

RE: [PHP] PHP Java ?

2001-05-04 Thread Brian Paulson
Is there any way that we can see the page? That might help in sorting out the problem Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Jack Sasportas [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 11:22

[PHP] hdml simulator?

2001-05-04 Thread Data Driven Design
I'm writing some wireless content in PHP and I've found several wml simulators but none for hdml. The up.sdk says it works for hdml but displays my wml content. Anybody know where to find a hdml simulator? Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084

php-general Digest 4 May 2001 17:36:44 -0000 Issue 666

2001-05-04 Thread php-general-digest-help
php-general Digest 4 May 2001 17:36:44 - Issue 666 Topics (messages 51369 through 51450): Re: Working with numbers 51369 by: Jennifer 51374 by: Oliver Heinisch 51397 by: Gyozo Papp Re: Searching for array keys 51370 by: mailing_list.gmx.at 51375 by:

Re: [PHP] hdml simulator?

2001-05-04 Thread Jon Rosenberg
The up.sdk phone sim works for me with both wml and hdml as well. You just have to make sure you are sending the correct headers, etc... Jon - Original Message - From: Data Driven Design [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 04, 2001 1:39 PM Subject: [PHP] hdml

[PHP] problem with PHP and .htaccess

2001-05-04 Thread Tom Carter
Hi, I have a quite complex site organised into a series of subdirectories, all referrencing one single include directory, specified by a global variable required on each page. This file has sym links to all the directories, and I've done a test output so that is not the cause of the problem.

[PHP] PHP on PWS not working!

2001-05-04 Thread Thomas Edison Jr.
don't know why still my PHP 4.0.5 is NOT working on my PWS 4.0!! the PHP module is now working perfectly on my Apache server (At Last)!! but what is wrong with PWS??? I have left the doc_root field blank in php.ini And the extension_dir points to C:\php4 which actually contains php.exe and

[PHP] Cant add new Header

2001-05-04 Thread Andy
Hello, I am a newi. Currently I try to relocate the viewed page after entering successful a form. I tryed it like that: HEADER(Location:http://$HTTP_HOST/admin/admin.php?content=upload;); But I did get an errormessage which said that I already have sent a header ( which was a body tag). Can

[PHP] Finding out the date on the client machine

2001-05-04 Thread Andy
Hi, I am trying to find out the date via PHP of the clients machine, or from the server to store it to a mysql database. Does anybody know the syntax? Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] Can not send new Header

2001-05-04 Thread Andy
Hello, I am a newbi. Currently I try to relocate the viewed page after entering successful a form. I tryed it like that: HEADER(Location:http://$HTTP_HOST/admin/admin.php?content=upload;); But I did get an errormessage which said that I already have sent a header ( which was a body tag).

RE: [PHP] Can not send new Header

2001-05-04 Thread Altunergil, Oktay
You have to send the HEADER before anything is sent to the browser. If you have sent html tags like HTML,BODY etc or anything else the browser will parse, subsequent calls to HEADER stuff will not work. (that is unless you do output buffering of some sort) oktay -Original Message- From:

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Data Driven Design
I use PWS what errors are you getting? Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084 http://www.datadrivendesign.com http://www.rossidesigns.net - Original Message - From: Thomas Edison Jr. [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, May 04, 2001 2:00 PM

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Thomas Edison Jr.
i'm not getting errors, when i do open my page (http://localhost/test.php3) or any php3 page on my PWS, i get an HTTP 500 - Internal server error. All the HTML files and stuff are running on my PWS. Only php3 is not!! i did not make any changes to my PWS while installing this new php4.0.5 file

Re: [PHP] Array Assignment

2001-05-04 Thread Christian Reiniger
On Saturday 05 May 2001 16:55, Mark Cain wrote: In Perl I can assign dynamic keys ad infinitum to an array such as: $sku{$id}{$line}{$price} = 99; Same in PHP: $sku [$id] [$line] [$price] = 99; if $sku is an array. If unsure, initialize it as one: $sku = array (); Here is the test code:

Re: [PHP] PHP on PWS not working!

2001-05-04 Thread Data Driven Design
Did you check the execute box uder the home directory properties? I think that's when I got that error. Also you need to reboot after you make the registry entries, even though the instructions don't say so. Data Driven Design P.O. Box 1084 Holly Hill, Florida 32125-1084

Re: [PHP] Need to know this

2001-05-04 Thread John Monfort
www.php.net __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com The world is waiting, are you ready? -+___+- On Fri, 4 May 2001, YoBro wrote: Hello, I need to find

Re: [PHP] Need to know this

2001-05-04 Thread John Monfort
PHP Stands for Hypertext Pre-Processor (PHP) You can more info at www.php.net The battle between ASP and PHP is ongoing. Same thing for Perl. www.UDzone.com has an article on this, it's called 'Seven Reasons Why PHP is better than ASP. __John Monfort_

[PHP] Script invocation similar to ASP %= %

2001-05-04 Thread Bjoern Werkmann
Hi there, pedantic as it might seem, ..., but is there a way to implement the following ASP snippet in PHP % Dim PAGE_TITLE PAGE_TITLE = My Page % html head title %=PAGE_TITLE% /title /head ... /html Especially important is the use of '%='. I'd like to get rid of the echo in '?php

RE: [PHP] Script invocation similar to ASP %= %

2001-05-04 Thread Hoover, Josh
I believe you want something like this: ? $PAGE_TITLE = My Page; ? html head title ?=$PAGE_TITLE? /title /head ... /html For the short cut syntax on echo checkout: http://www.php.net/manual/en/function.echo.php This assumes that you have shortags on in your php.ini file.

[PHP] PHP Flat File Support--Where,How?

2001-05-04 Thread John Monfort
Hello everyone, I remember noticing a PHP Flat File Support function, or script, or something. While reading the PHP manuals, and online tutorials. However, I have not been able to find concreate information about it. Does that function exists? If so, then where can I find some

RE: [PHP] Script invocation similar to ASP %= %

2001-05-04 Thread Renzi, Sebastian
? $PAGE_TITLE = My Page; ? html head title ?echo($PAGE_TITLE)? /title /head ... /html Sebastián Renzi Consultoría Desarrollo de Sistemas. CODES S.A -Mensaje original- De: Bjoern Werkmann [SMTP:[EMAIL PROTECTED]] Enviado el: viernes 4 de mayo de 2001 16:05

[PHP] session_register() behavior

2001-05-04 Thread Jon Peccarelli
When I was running PHP 4.0.4 on Apache 1.3/RH Linux 6.1, the following code worked perfect: file1.php session_start(); session_register(var1); $var1 = a value; file2.php session_start(); session_register(var2); $var2 = some value; file3.php session_start(); print

Re: [PHP] how?

2001-05-04 Thread heinisch
At 04.05.01 15:32, you wrote: // Read myfile.TXT into $lines, The sentence in your textfile is I have to check my E-Mails $var unnecessary $var1 $var=for; $var1=Quotes; $fp=fopen(filename,mode); //open database connection while(!feof($fp)) { $buffer=fgets($fp,how many bytes);

[PHP] Even more dynamic page

2001-05-04 Thread Martin Skjldebrand
Is there some way of making PHP even more dynamic? What I would like is that selecting a value from a SELECT box would change some info on the page - without having to click a refresh button or something like that. Or do I have to resort to javascript for such things? M. -- PHP General

Re: [PHP] Even more dynamic page

2001-05-04 Thread Steve Werby
Martin Skjöldebrand [EMAIL PROTECTED] wrote: Is there some way of making PHP even more dynamic? What I would like is that selecting a value from a SELECT box would change some info on the page - without having to click a refresh button or something like that. Or do I have to resort to

[PHP] nslookup function ?

2001-05-04 Thread Matthew Luchak
I'm working on a email address verification script and need to do a DNS lookup given the IP number of a remote host. ie: is [EMAIL PROTECTED] a viable address? get IP gethostbyname(here.net); nslookup IP to get mail server address pfsockopen blah...blah..blah... sois there a nifty yet

[PHP] trying to activate php4 module

2001-05-04 Thread Jeff Orrok
Below is the transcript of my attempt and the error that results: [gatchaman:/packages/apache_1.3.19] root# ./configure --enable-module=so --activate-module=/src/modules/php4/libphp4.a Configuring for Apache, Version 1.3.19 + using installation path layout: Mac OS X Server (config.layout)

RE: [PHP] trying to activate php4 module

2001-05-04 Thread Andrew Hill
Jeff, You have an extra / this: --activate-module=/src/modules/php4/libphp4.a should be: --activate-module=src/modules/php4/libphp4.a Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access Data Integration Technology

Re: [PHP] Cant add new Header

2001-05-04 Thread Dan Lowe
See ob_start(). http://php.net/manual/en/function.ob-start.php Previously, Andy said: I tryed it like that: HEADER(Location:http://$HTTP_HOST/admin/admin.php?content=upload;); But I did get an errormessage which said that I already have sent a header ( which was a body tag). -- If

Re: [PHP] Even more dynamic page

2001-05-04 Thread Philip Olson
Check out : chainedSelectors: A Better Way to Drop-down a PHP List : http://zend.com/zend/tut/drop-down.php Loading JavaScript Arrays with MySQL Data :

[PHP] Vanishing files.

2001-05-04 Thread Andrzej Swedrzynski
Hello! Recently I wrote a php script which handle file uploads. I took an example from manual (and added some text fields) and every thing seemed to work. After I called move_uploaded_file( $userfile, $destination ) the file appeared in correct place. But after a few minutes the

[PHP] Couldn't run PHP script from CGI-BIN

2001-05-04 Thread Nguyen, David M
I can run PHP script from any directories on my web server but except cgi-bin directory. When I put PHP script inot CGI-BIN and run it from my browser, I receive below error. Does anyone know why? Please help. Internal Server Error The server encountered an internal error or misconfiguration

  1   2   >