[PHP] Context

2003-01-30 Thread Boaz Yahav
HI I was reading this article : http://www.devarticles.com/art/1/397/2 And am a bit confused now. If I understand correctly, the author claims that : ?php $php_tags = PHP Tags ? Combining HTML output and ?php echo $php_tags; ? tags really wastes my time. Runs slightly faster than ?php

Re: [PHP] Re: domxml memberfunction not dom compliant??

2003-01-30 Thread Øyvind Vestavik
Thanks for your reply Stefan. I hadn't really read the manual, had just been working with DOM level 2 in java before, and the fact that attributes are not children of elements, puzzled me. But after reading the DOM level 2 spesification, it may seem that you are right. To me, the fact that

[PHP] quick question

2003-01-30 Thread Dale
I need to specify a absolute path to a file on my harddrive, but you can't use backslashes in php. Right? Thanks, Dale -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] content type header for downloading files

2003-01-30 Thread Ernest E Vogelsinger
At 02:04 30.01.2003, Dara Dowd said: [snip] $fname is the name of the file i want to download. It works in IE, as in the name of the file to be downloaded appears correctly in the dialog box. I changed 'application/octet' to 'application/octet-stream' and

Re: [PHP] if (a == b) ...

2003-01-30 Thread Ernest E Vogelsinger
At 02:36 30.01.2003, Webapprentice said: [snip] Hi, I have a conditional: if (a == b) a is the number 0, but b is a string Friday August 22. The condition is evaluating as true, which is not what I want. What am I misunderstanding?

Re: [PHP] quick question

2003-01-30 Thread Ernest E Vogelsinger
At 10:25 30.01.2003, Dale said: [snip] I need to specify a absolute path to a file on my harddrive, but you can't use backslashes in php. Right? [snip] Oh yes, you can. Just pay attention that the backslash is an

Re: [PHP] Is there a bug in fopen() - solved, maybe

2003-01-30 Thread Ernest E Vogelsinger
At 08:33 30.01.2003, zlu tarch said: [snip] I was not able to either telnet (via port 80), or connect using fopen() to www2.barchart.com. But it seems that it is fine now. Perhaps it was a temp problem on the site's server, but still, I had no problems

Re: [PHP] quick question

2003-01-30 Thread Jason Wong
On Thursday 30 January 2003 17:25, Dale wrote: I need to specify a absolute path to a file on my harddrive, but you can't use backslashes in php. Right? Please use a descriptive subject. You escape an intended literal backslash with a backslash. -- Jason Wong - Gremlins Associates -

Re: [PHP] __PHP_Incomplete_Class Object

2003-01-30 Thread Ernest E Vogelsinger
At 06:20 30.01.2003, Weston Houghton said: [snip] I'm trying to register an object in the session, and access that object from 2 different pages. I start off in the first file, and do: ?php include(nycmgMail.php); session_start(); $myMailer = new

[PHP] Please...

2003-01-30 Thread Øyvind Vestavik
Thanks dave for our comments on the use of the list, and sorry for sending this mail to your adress the first time around. When we're at it: If a question has already been answered, please do not follow up with a new reply that doesn't add important information/corrections. Regards Øyvind On

Re: [PHP] Use Pop3

2003-01-30 Thread Chris Hayes
At 07:49 30-1-2003, you wrote: Hello, Is it possible via PHP to : - join a pop3 server - make a query to recover mails header, subject, date, sender, to create a list. - we I have the list when I click on an element of the list recever the email content (text and attachment) and why not see

[PHP] SQLqry in PHP

2003-01-30 Thread Per
I try to use a SQLqry in PHP, but i get this anwser in my browser: FATAL: emalloc(): Unable to allocate 1073741824 bytes Somthing i can do to fix it in PHP? (I have no rights at the server) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] quick question

2003-01-30 Thread John W. Holmes
I need to specify a absolute path to a file on my harddrive, but you can't use backslashes in php. Right? You can also use forward slashes just as effectively. C:/path/to/your/file.php Or, if the file is on the C drive, you can use /path/to/your/file.php without even using the c: part.

RE: [PHP] Context

2003-01-30 Thread John W. Holmes
I was reading this article : http://www.devarticles.com/art/1/397/2 And am a bit confused now. If I understand correctly, the author claims that : ?php $php_tags = PHP Tags ? Combining HTML output and ?php echo $php_tags; ? tags really wastes my time. Runs slightly faster than

Re: [PHP] SQLqry in PHP

2003-01-30 Thread Chris Hayes
At 12:14 30-1-2003, you wrote: I try to use a SQLqry in PHP, but i get this anwser in my browser: FATAL: emalloc(): Unable to allocate 1073741824 bytes Somthing i can do to fix it in PHP? (I have no rights at the server) could you add some code, this is far too cryptic. also tell us what php

RE: [PHP] Problem with xml_parse_into_struct

2003-01-30 Thread John W. Holmes
I have various XML files that might contain tags inside the element body, for example: news id=1 shortDescription=Stuff Happened TodayToday on b1/29/03/b, stuff happened/news Your XML is not well formed, not properly nested use: news id=1 shortDescription=Stuff Happened

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Durwood Gafford
sure this would work but it'd be VERY inefficient in my application. It's a file browser application so i have hundreds of folder icons on a page .. the 'submit' element will pass back the name of the button clicked and it would be available immediately/directly, which is what i want. BUT an

Re: [PHP] Using custom button form element instead of standardsubmit?

2003-01-30 Thread Chris Hayes
At 12:18 30-1-2003, you wrote: sure this would work but it'd be VERY inefficient in my application. It's a file browser application so i have hundreds of folder icons on a page .. the 'submit' element will pass back the name of the button clicked and it would be available immediately/directly,

Re: [PHP] Email being blocked

2003-01-30 Thread Ben
No, its definitely not that. I've set the sendmail_from and it's still not working. Also, the mail() function actually fails to return a success code for the non-sitedomain addresses, implying that the problem is at the source, not the destination. Can anyone help? Thanks Ben Lowell Allen

RE: [PHP] SQLqry in PHP

2003-01-30 Thread Jon Haworth
Hi Per, I try to use a SQLqry in PHP, but i get this anwser in my browser: FATAL: emalloc(): Unable to allocate 1073741824 bytes 1,073,741,824 bytes is exactly 1 gig - that's a *lot* of memory... Is this an astonishingly large query? Seems the PHP interpreter can't grab enough memory to do

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Ernest E Vogelsinger
At 12:18 30.01.2003, Durwood Gafford spoke out and said: [snip] sure this would work but it'd be VERY inefficient in my application. It's a file browser application so i have hundreds of folder icons on a page .. the 'submit' element will pass back the name

Re: [PHP] Using custom button form element instead of standardsubmit?

2003-01-30 Thread Philip Olson
On Thu, 30 Jan 2003, Chris Hayes wrote: At 12:18 30-1-2003, you wrote: sure this would work but it'd be VERY inefficient in my application. It's a file browser application so i have hundreds of folder icons on a page .. the 'submit' element will pass back the name of the button clicked and

RE: [PHP] Email being blocked

2003-01-30 Thread Timothy Hitchens \(HiTCHO\)
The box does have a default route to get out of your network I trust?? Timothy Hitchens (HiTCHO) Web Application Consulting e-mail: [EMAIL PROTECTED] -Original Message- From: Ben [mailto:[EMAIL PROTECTED]] Sent: Thursday, 30 January 2003 9:45 PM To: [EMAIL PROTECTED] Subject: Re:

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Ernest E Vogelsinger
To add to my message, you could: $buttons = array('sample_a_x', 'sample_b', 'sample_c_x'); $button_pressed = array_intersect($buttons, array_keys($_REQUEST)); If you have everything perfect, i.e. all available buttons are held in the array, and there are no other input fields in your form that

[PHP] Passing Object Refs throught Arrays

2003-01-30 Thread James
I'm having a problem, and I wrote this sample code to illistrate it. In this code, I'm trying to create a object, put it throught a que. I then want something to happen to this object, and this change to be reflected in the original object. I am aware that PHP uses copy symantecs not refrence

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Durwood Gafford
input type=submit name=sample_a input type=image name=sample_b src=myimg.gif With the first method, you'd need to test for a button named 'sample_a'. For the second method, you'd need to test for a button named 'sample_b_x'. no ... with the first example you can have numerous buttons on the

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Ernest E Vogelsinger
At 13:37 30.01.2003, Durwood Gafford spoke out and said: [snip] input type=submit name=sample value=a input type=submit name=sample value=b input type=submit name=sample value=c input type=submit name=sample value=d your php form handler can now simply

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread 1LT John W. Holmes
At 13:37 30.01.2003, Durwood Gafford spoke out and said: [snip] input type=submit name=sample value=a input type=submit name=sample value=b input type=submit name=sample value=c input type=submit name=sample value=d your php form handler can now

[PHP] php.net links page question

2003-01-30 Thread dan
i would like to suggest a link for the php.net links page, how would i go about doing that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ftp_ssl_connect

2003-01-30 Thread Markus Boettger
Hello, The problem is that I cannot find a way to set up an appropriate sftp-server. My tunneling with ssh does not work as it should; I'm still working on it... Bye Markus Jason Wong schrieb: On Tuesday 28 January 2003 20:19, Markus Boettger wrote: Hello, I try it again ... is anybody here

RE: [PHP] SQLqry in PHP

2003-01-30 Thread Jon Haworth
Hi, Yes, the field in the mssql database is 1073741824, but i want only to grab a few byte. I think you'll need to do this in the database, then. If you try and grab the whole field and then parse it in your script, you have to actually get that gig of data into your script - I assume this

Re: [PHP] php.net links page question

2003-01-30 Thread Maxim Maletsky
mail it to [EMAIL PROTECTED] -- Maxim Maletsky [EMAIL PROTECTED] dan [EMAIL PROTECTED] wrote... : i would like to suggest a link for the php.net links page, how would i go about doing that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Email being blocked

2003-01-30 Thread Ben
Problem solved ! The emails were being resolved on the box, and not escaping to the ISP DNS where they would have been MX redirected to the office. Other email is getting out fine. Sorry for the stupid and non-PHP related post. I will endeavor to contribute in future to make up for it ! Thanks,

[PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Mike Morton
I want to use the mcrypt functions to encrypt credit card numbers for storage in a mysql database, which mycrypt does admirably: $key = this is a secret key; $input = Let us meet at 9 o'clock at the secret place.; $iv = mcrypt_create_iv (mcrypt_get_iv_size (MCRYPT_RIJNDAEL_256, MCRYPT_MODE_CBC),

[PHP] problem with header

2003-01-30 Thread Martin
i have an script, it send a header response: ?php header (HTTP/1.1 206 Partial content); . it works fine im my server on windows2000 as apache module, but doesn´t work in my apache cgi on internet (linux). The following error appears when i run the script. [Wed Jan 29 11:07:18 2003]

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Jason Sheets
Not a good idea, you might look at some form of public key encryption where you encrypt the credit card information with the public key and the merchant decrypts it with their private key that is not on the server. You generally do not want to store the information encrypted with mcrypt because

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Lowell Allen
Could you use the Zend Encoder to encrypt the PHP script? http://www.zend.com/store/products/zend-safeguard-suite.php -- Lowell Allen From: Mike Morton [EMAIL PROTECTED] Date: Thu, 30 Jan 2003 09:30:36 -0500 To: [EMAIL PROTECTED] Subject: [PHP] Encryption using MMCrypt - whats the point?

[PHP] Re: Best PHP db wrapper?

2003-01-30 Thread Manuel Lemos
Hello, On 01/30/2003 02:48 AM, John Wells wrote: Trying to decide between wrappers for a rather large application, and wanted some input from the group as I haven't used any of these to any degree. So far, I've found PearDB, metabase, adodb, and MDB. What's the best option? My main concerns

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Adam Voigt
http://www.ioncube.com/ Encrypt PHP scripts (there pretty cheap to). On Thu, 2003-01-30 at 09:30, Mike Morton wrote: I want to use the mcrypt functions to encrypt credit card numbers for storage in a mysql database, which mycrypt does admirably: $key

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Mike Morton
Adam/Lowell: Thanks for the suggestions ­ but like all clients ­ they want maximum function for minimum $$ - encoders are therefore not a possibility (but I will keep that in mind for future apps :)) Thanks. On 1/30/03 9:55 AM, Adam Voigt [EMAIL PROTECTED] wrote: http://www.ioncube.com/

[PHP] Advanced PHP Debugger

2003-01-30 Thread Fredrik Johansson
Hey, Where can I find a compiled php_apd.dll for Windows 2000 / PHP 4.3.0? If you have it, it would be great if you could send it to me (to me personally and not the list). Thanks! // Fredrik Johansson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Encryption using MMCrypt - whats the point?

2003-01-30 Thread Adam Voigt
Title: Re: [PHP] Encryption using MMCrypt - whats the point? Granted, the $350 stand-alone encoder is a bit expensive. I'm talking about the online encoder though, you pass your PHP script through the online-control center and it output's the encrypted version, a typical PHP program is $5.00

[PHP] XML PHP question

2003-01-30 Thread Hardik Doshi
Hi everyone, Can you please tell me what is the best way of working with XML technology using PHP? I am not clear about integration of these two technologies. Suggest some books or links or good tutorials. thanks Hardik Doshi Web Application Developer Chicago

[PHP] $HTTP_USER_AGENT

2003-01-30 Thread Jan Mikes
hi all, do anyone know where I can get a full list of $HTTP_USER_AGENT strings ?? thanx a lot mtg

Re: [PHP] Passing Object Refs throught Arrays

2003-01-30 Thread Tom Rogers
Hi, Thursday, January 30, 2003, 10:36:20 PM, you wrote: J I'm having a problem, and I wrote this sample code to illistrate it. J In this code, I'm trying to create a object, put it throught a que. I J then want something to happen to this object, and this change to be J reflected in the

[PHP] Re: XML PHP question

2003-01-30 Thread Manuel Lemos
Hello, On 01/30/2003 01:17 PM, Hardik Doshi wrote: Can you please tell me what is the best way of working with XML technology using PHP? I am not clear about integration of these two technologies. Suggest some books or links or good tutorials. Either of these books reviewed here are very

RE: [PHP] $HTTP_USER_AGENT

2003-01-30 Thread Ford, Mike [LSS]
-Original Message- From: Jan Mikes [mailto:[EMAIL PROTECTED]] Sent: 30 January 2003 15:23 do anyone know where I can get a full list of $HTTP_USER_AGENT strings ?? Try http://www.psychedelix.com/agents.html -- it's about as comprehensive as they come! Cheers! Mike

[PHP] MySQL - setting relationships

2003-01-30 Thread Denis L. Menezes
hello friends, I am a newbie at MySQL. In MS Access we specifically set relationships. In MySQL, I have found no documentation regarding setting relationships. Is is that we do not need to set the relationships in MySQl and only matching the Field IDs in respectyive tables is suffecient?

[PHP] Reporting tools for PHP?

2003-01-30 Thread Denis L. Menezes
hello Friends? Is there any reporting toold for PNH/MySQL like there is Crystal Reports etc? Thanks denis

Re: [PHP] $HTTP_USER_AGENT

2003-01-30 Thread Jan Mikes
exactly what I needed thank you mtg - Original Message - From: Ford, Mike [LSS] [EMAIL PROTECTED] To: 'Jan Mikes' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 4:46 PM Subject: RE: [PHP] $HTTP_USER_AGENT -Original Message- From: Jan Mikes

Re: [PHP] $HTTP_USER_AGENT

2003-01-30 Thread Chris Shiflett
--- Jan Mikes [EMAIL PROTECTED] wrote: do anyone know where I can get a full list of $HTTP_USER_AGENT strings ?? There is no such thing. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTTP_GET_VARS[]

2003-01-30 Thread Mike Tuller
I have created a page for editing a row in a MySql database where first I have a page listing the items in the table, and have the id as a hypertext link that then on then opens the editing page with the correct information using HTTP_GET_VARS[id] where the URL is

RE: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Matt Schroebel
-Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 11:02 AM Subject: [PHP] HTTP_GET_VARS[] The issue I am having now is that I have the editsoftwareassest.php's form action set to POST to a script called updatesoftwareasset.php

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread John Wells
Denis, I've been looking as well. My solution? Run Jasper Reports (http://jasperreports.sf.net) from a Tomcat container integrated with Apache via mod_jk.so. Don't have any reports finished yet, so not sure of speed, etc., but Jasper looks to be pretty full featured and it freely available.

Re: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Mike Tuller
I am using PHP 4.3.0. it looks a little confusing because I am not using the $_POST when calling variables, but that is because before that script I have this. $title = $_POST['title']; $version = $_POST['version']; $developer = $_POST['developer']; $serial_number = $_POST['serial_number'];

[PHP] PHP - mysql_info question

2003-01-30 Thread Mark McCulligh
I have written a PHP function that uses the MySQL command: LOAD DATA INFILE ... The command returns the result in mysql_info() Records: 42 Deleted: 0 Skipped: 0 Warnings: 5 My question is how do you find out what the 5 warnings are. Does MySQL put them in a log file somewhere and is there a way

[PHP] MySQL - setting relationships

2003-01-30 Thread Larry E. Ullman
In MS Access we specifically set relationships. In MySQL, I have found no documentation regarding setting relationships. Is is that we do not need to set the relationships in MySQl and only matching the Field IDs in respectyive tables is suffecient? Current versions of MySQL do not have ways

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread Tyler Lane
On Thu, 2003-01-30 at 08:57, Denis L. Menezes wrote: hello Friends? Is there any reporting toold for PNH/MySQL like there is Crystal Reports etc? Do you mean PHP/MySQL? if that is the case, why not use Crystal Reports? Setup MyODBC for your MySQL server and use ODBC to connect to it using

RE: [PHP] Adding HTTP URL Code

2003-01-30 Thread ELLIOTT,KATHERINE A (HP-FtCollins,ex1)
Hi all! Unfortunately, I didn't receive any replies to the problem I sent out on January 16th so I thought I'd send another email and perhaps clarify what I am seeing so that maybe someone CAN help and ask if folks on the list have just not seen this issue before. The program I am working on

[PHP] while loop- will this work?

2003-01-30 Thread SpyProductions Support Team
Should this work? $f1 = rand(999,999); while($check_sid = mysql_query(SELECT * FROM that_table WHERE this = '$f1')){ $f1 = rand(999,999); } i.e. put the random number in a loop to check and make sure it is already not in use? Thanks, -Mike -- PHP

[PHP] Mysterious gap

2003-01-30 Thread Lightfirst
Hello All, I am hoping someone can help me with a problem I am having with PHP (3.23.49) and mysql (4). My objective is to fill a table with data from a database. My problem is that I cannot figure out why I get a gap (noticeable with about 20 records) at the top of the page (just below the text

RE: [PHP] HTTP_GET_VARS[]

2003-01-30 Thread Matt Schroebel
$query = UPDATE assets SET title = '$title', version = '$version', developer = '$developer', serial_number = '$serial_number', WHERE asset_id = '$HTTP_GET_VARS[id]' ; Change the var to '{$HTTP_POST_VARS['id']}' (with the curly braces since the array reference is inside a double

[PHP] Re: Reporting tools for PHP?

2003-01-30 Thread Mark McCulligh
You can now buy Crystal Reports that runs on non-windows platforms. Crystal Reports 9 advance has mult-platform version. But is not cheap, $1,900 US. (also only 3-thread, unlimited threaded reports cost 25,000 US per CPU) Are you looking to put reports online, for users can run and view report

RE: [PHP] while loop- will this work?

2003-01-30 Thread Matt Schroebel
-Original Message- From: SpyProductions Support Team [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 12:57 PM To: [EMAIL PROTECTED] Subject: [PHP] while loop- will this work? Should this work? $f1 = rand(999,999); while($check_sid =

Re: [PHP] Mysterious gap

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 02:00, Lightfirst wrote: Hello All, I am hoping someone can help me with a problem I am having with PHP (3.23.49) and mysql (4). My objective is to fill a table with data from a database. My problem is that I cannot figure out why I get a gap (noticeable with about

Re: [PHP] content type header for downloading files

2003-01-30 Thread Sascha Braun
Hi, I would like to test you code in my webpage, but i dont really know how to get along with path informations like ../images/pictures/image24.jpg Do I have to split the string in multiple parts, so i at last only got the picture name? But how then do i open the file? - thru fopen() or

[PHP] mySql session handler

2003-01-30 Thread R'twick Niceorgaw
Hi all, Is it possible to setup a mysql session handler on a server basis ( something in php.ini file) so that individual pages do not have to set it up using call to session_set_save_handler() ? -R'twick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Using custom button form element instead of standard submit?

2003-01-30 Thread Durwood Gafford
1lt John W. Holmes [EMAIL PROTECTED] wrote in message If that's what you want, then just make each button a normal a href link and pass an variable to the next page in the link (like someone has already suggested). You'd get the same end result. a href=page.php?sample=aimg/a a

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread John Wells
Because Crystal Reports is an overpriced rip-off. To get full web report functionality, you have to pay anywhere from $1-$10 for their enterprise edition. If you pay anything less, you're limited to only three connections. Why buy anything when good open source solutions exist? Makes

RE: [PHP] XML PHP question

2003-01-30 Thread Hardik Doshi
Hi Chris, Thanks for your nice reply. I would like to know what are the applications of XML with PHP. I know how to write and parse XML files but i dont know where can i use this power? Either you or any other member of this group can solve my problem then i would be thankful to him/her.

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread Tyler Lane
I didn't comment on the price of Crystal Reports. I was informing the poster that it is possible to use Crystal Reports with mysql. As for using open source tools, I totally agree with using OpenSource whenever possible. On Thu, 2003-01-30 at 11:27, John Wells wrote: Because Crystal Reports is

[PHP] Re: Removing elements of multidimensional array

2003-01-30 Thread Erich C. Beyrent
Hey everyone, I am reading an ini file into an array using the parse_ini_file() function. What I want to do is delete a section from the ini file, and thought that the best way to do it would be to unset one of the keys in the array returned by the parse function. I then want to write

[PHP] Removing elements of multidimensional array

2003-01-30 Thread Erich C. Beyrent
Hey everyone, I am reading an ini file into an array using the parse_ini_file() function. What I want to do is delete a section from the ini file, and thought that the best way to do it would be to unset one of the keys in the array returned by the parse function. I then want to write the

[PHP] Sorting multidimensional arrays..

2003-01-30 Thread Chad Day
I'm struggling with array_multisort, was hoping someone could give me some help. I have a multidim array, such as: $myarray[0][FIRSTNAME] = JOE $myarray[1][FIRSTNAME] = TIM $myarray[2][FIRSTNAME] = BOB $myarray[0][LASTNAME] = SMITH $myarray[1][LASTNAME] = BROWN $myarray[2][LASTNAME] = JONES

[PHP] PHP Apache

2003-01-30 Thread Aaron Stephan William Boeren
Hi, Maby you could help me on why I get this message when using variables: Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php on line 15 I have PWS being used, PHP 4.3.0 Apache 2.0.34. OS is Windows 2k If you could help that would be great because I need it for testing

[PHP] Re: PHP Apache

2003-01-30 Thread Christoph Grottolo
[EMAIL PROTECTED] (Aaron Stephan William Boeren) wrote: Hi, Maby you could help me on why I get this message when using variables: Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php on line 15 I have PWS being used, PHP 4.3.0 Apache 2.0.34. OS is Windows 2k If you could

Re: [PHP] PHP Apache

2003-01-30 Thread 1LT John W. Holmes
Maby you could help me on why I get this message when using variables: Undefined variable: UN1 in c:\inetpub\wwwroot\sdd\pages\redirection.php on line 15 Because you have an undefined variable. You have a variable that has not been assigned a value. Assign it a default value or use isset() in

[PHP] Re: Installation Configuration Question

2003-01-30 Thread Götz Lohmsnn
Mike At Spy schrieb: Has anyone ever had an issue where PHP, for whatever reason, stopped .htaccess files from working? Thanks, -Mike maybe using reserved words in the .htaccess which belong to PHP ? what is in the htacces ? sorry not enough informations to get a hint ... -- PHP

Re: [PHP] Installation Configuration Question

2003-01-30 Thread Paul Marinas
did you check php.ini file? On Wed, 29 Jan 2003, Mike At Spy wrote: Has anyone ever had an issue where PHP, for whatever reason, stopped .htaccess files from working? Thanks, -Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Send commands to a shell program

2003-01-30 Thread Antti
I want to for example give commands to mpg321 when it is executed with the -R option (remote control mode). Is this possible with exec() or other execute php functions. What I mean is to execute commands while being in a shell program. Hope you got it! antti -- PHP General Mailing List

[PHP] problems with include()

2003-01-30 Thread Daniel Negron/KBE
I have this code : ?php if(!isset($mainfile)) { include(mainfile.php); } include(open_session.php); include('config.php'); include ('header.php'); Coverted html in here. include ('footer.php'); ? which works great from the root dir where these files are stored. [all content is showing

Re: [PHP] Re: Installation Configuration Question

2003-01-30 Thread Paul Marinas
htacces it's use by apache when you whant to give distinct user privileges to a certain directory, also uses htpasswd, etc. more information you could find in apache documentation. On Thu, 30 Jan 2003, [ISO-8859-1] Götz Lohmsnn wrote: Mike At Spy schrieb: Has anyone ever had an issue where

[PHP] mysq_connect()

2003-01-30 Thread Cesar Rodriguez
Hi there, my name is Cesar Rodriguez and I am trying to upgrade from Caldera Linux Server 2.3 into RedHat Server 8.0. The problem I encounter is that after testing different scripts, php is working, except when I make an MySQL call like mysql_connect() or mysql_pconnect(). The call is as follows:

RE: [PHP] while loop- will this work?

2003-01-30 Thread Roedel, Mark
-Original Message- From: SpyProductions Support Team [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 11:57 AM To: [EMAIL PROTECTED] Subject: [PHP] while loop- will this work? Should this work? Nope...because the value returned by mysql_query() isn't the number

[PHP] Variable Fun

2003-01-30 Thread James E Hicks III
This code: ? $var1 = 02061030012452; $var2 = 02061030012451; $test1 = (string) $var1 $test2 = (string) $var2; echo gettype($test2).---.gettype($test1).BRBR; echo $test2.---.$test1.BRBR; if ( $test2 != $test1){ echo (The variables are not equal.); } ? Produces the following output

[PHP] HTML embedding

2003-01-30 Thread Todd Barr
Hello, I am having an issue. I am using an access database, where the names have whitespace. Now, when I try to generate a link within the php script I get just their first name But in the link itself I get the whole name so the html link looks something like this a

Re: [PHP] HTML embedding

2003-01-30 Thread Andrew Brampton
Try urlencode your data before outputing it. php.net/urlencode Andrew - Original Message - From: Todd Barr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 10:11 PM Subject: [PHP] HTML embedding Hello, I am having an issue. I am using an access database,

Re: [PHP] HTML embedding

2003-01-30 Thread Chris Shiflett
--- Todd Barr [EMAIL PROTECTED] wrote: I am having an issue. I am using an access database, where the names have whitespace. Now, when I try to generate a link within the php script I get just their first name But in the link itself I get the whole name So, you are talking about two

Re: [PHP] Sorting multidimensional arrays..

2003-01-30 Thread Tim Ward
if 'EXTENSION' is unique then you can make life a lot easier by making that the key of the root array (this is a heirarchy of arrays). Tim Ward http://www.chessish.com mailto:[EMAIL PROTECTED] - Original Message - From: Chad Day [EMAIL PROTECTED] To: php general [EMAIL PROTECTED] Sent:

Re: [PHP] Variable Fun

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 05:55, James E Hicks III wrote: This code: ? $var1 = 02061030012452; $var2 = 02061030012451; $test1 = (string) $var1 $test2 = (string) $var2; echo gettype($test2).---.gettype($test1).BRBR; echo $test2.---.$test1.BRBR; if ( $test2 != $test1){ echo

[PHP] Re: problems with include()

2003-01-30 Thread Al
Looks like you are only backing up 2 levels when you need 3. Why not try something like: $root= the absolute path to your root folder; Then simply: include ($root . mainfile.php); etc. Daniel Negron/Kbe wrote: I have this code : ?php if(!isset($mainfile)) { include(mainfile.php); }

[PHP] php question - query string

2003-01-30 Thread Anthony Ritter
The following script is from Kevin Yank's book on page 59-60. (Sitepoint) I'd like to get some clarification about the line: (almost next to last line in the script) ... echo(pa href='$PHP_SELF?addjoke=1'Add a Joke!/a/p); He has a link called Add a Joke!.

[PHP] php as shell script

2003-01-30 Thread David H
Hi, I am trying to run php as shell script. I have this: helloworld.php: ? echo Hello World.; ? I run php helloworld.php then I got this: Hello World. Fatal error: Nesting level too deep - recursive dependency? in Unknown on line 0 I am using Redhat 8, anyone knows what is the problem is?

[PHP] Re: php question - query string

2003-01-30 Thread Philip Hallstrom
You've got it right... look at the man page for parse_str() for more info on the QUERY_STRING stuff as well as the register_globals configuration option. Looking at the script below, there is nothing special about setting $addjoke to 1. It's just important that it is set to *something* (because

Re: [PHP] php as shell script

2003-01-30 Thread Khalid El-Kary
maybe, but not sure, you need to replace ? with ?php, just try it! maybe it works Hi, I am trying to run php as shell script. I have this: helloworld.php: ? echo Hello World.; ? I run php helloworld.php then I got this: Hello World. Fatal error: Nesting level too deep - recursive

[PHP] PHP Compile Error

2003-01-30 Thread Robert Fitzpatrick
Running Redhat 8.0 PHP 4.3.0 When I try to configure with the following: ./configure --with-apxs=/web_root/bin/apxs --enable-track-vars --enable-versioning --with-mysql=/usr/mysql --with-gd=/usr/local --with-jpeg-dir=/usr/local/bin/ --with-png-dir=/usr/lib --with-zlib-dir=/usr/lib --with-zlib

Re: [PHP] Context

2003-01-30 Thread Justin French
AFAIK, PHP skips over anything out side the ? and ?... so yes, technically, it would be a little faster. End of the day, such a small gain could probably be made up elsewhere by optimising a function you use on every page, or something else like that. It's been said on the list many times

Re: [PHP] mysq_connect()

2003-01-30 Thread Khalid El-Kary
is PHP configured with --with-mysql ? Hi there, my name is Cesar Rodriguez and I am trying to upgrade from Caldera Linux Server 2.3 into RedHat Server 8.0. The problem I encounter is that after testing different scripts, php is working, except when I make an MySQL call like mysql_connect()

RE: [PHP] XML PHP question

2003-01-30 Thread Chris McCluskey
There are lots of applications for XML in general. the most common one is the interchange of data between servers. here are some other links to wet your appetite: http://www.devshed.com/Server_Side/PHP/AmazonAPI/AmazonAPI1/page1.html

[PHP] POST without a form

2003-01-30 Thread arthur.chereau
Hi, A PHP page (main.php) loads another page (doit.php) via a form. doit.php gets the data via $_POST. Now, from a third page (other.php), I need to load doit.php with other data, but automatically, without a form. How can I redirect to doit.php and send POST data at the same time ? (as

  1   2   >