[PHP] require() in other directories?

2004-11-18 Thread Peter Lauri
Best groupmember, I have an webapplication that uses different languages and therefor I have set up different directorys for each language. All languages use the same classes. The problem I have is when I want to require() the classfile I can not require a file that is not in the same directory

Re: [PHP] require() in other directories?

2004-11-18 Thread Pluance
What error happen? On Thu, 18 Nov 2004 09:15:22 +0100, Peter Lauri [EMAIL PROTECTED] wrote: Best groupmember, I have an webapplication that uses different languages and therefor I have set up different directorys for each language. All languages use the same classes. The problem I have

Re: [PHP] require() in other directories?

2004-11-18 Thread Peter Lauri
I get the Failed to open stream, no such file in directory If you were in one of these folders: /fr/ /eng/ And your classfile was namned classes.php and in the directory: /classes/ And you wanted to include the classfile, how would you write it? I would assume: require(/classes/classes.php);

[PHP] converting a number

2004-11-18 Thread Octavian Rasnita
Hi all, I have a number like 1.0122E9 and I want to convert it into a real number in a common notation and not in that scientific one (with E). I have seen that very long numbers are always converted automaticly to that notation and I need to insert that number in a MySQL database and in that

[PHP] PHP-editor connected to FTP?

2004-11-18 Thread Peter Lauri
Best groupmember, What editor do you use when working with websites (php) connected directly to the FTP? I like Eclipse 3.0 with the PHP plugin, but it do not have the future to connect to the FTP. - Best Of Times /Peter Lauri -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] require() in other directories?

2004-11-18 Thread Jason Wong
On Thursday 18 November 2004 16:32, Peter Lauri wrote: I get the Failed to open stream, no such file in directory If you were in one of these folders: /fr/ /eng/ And your classfile was namned classes.php and in the directory: /classes/ And you wanted to include the classfile, how would you

Re: [PHP] PHP-editor connected to FTP?

2004-11-18 Thread Jason Wong
On Thursday 18 November 2004 16:41, Peter Lauri wrote: What editor do you use when working with websites (php) connected directly to the FTP? I like Eclipse 3.0 with the PHP plugin, but it do not have the future to connect to the FTP. Any KDE-aware editor would be able to take advantage of

Re: [PHP] adding a symbol in front of each line

2004-11-18 Thread Merlin
Jason Wong wrote: On Wednesday 17 November 2004 23:15, Merlin wrote: actually that is not as easy as it looks. Nowhere in your original post did you specify what exactly it is you wanted. Lets say we want to ad a \n after each 80 characters. There is always the problem what happens if the line

[PHP] [OOP] Class to handle PEAR::DB

2004-11-18 Thread valerie17
I'm making a counter using DB, 1 ?php 2 require_once 'DB.php'; 3 4 $sql_type = 'mysql'; 5 $sql_user = 'root'; 6 $sql_pass = ''; 7 $sql_host = 'localhost'; 8 $sql_db = 'valerie'; 9 10 $dsn= $sql_type://$sql_user:[EMAIL

[PHP] Re: What should I name my base class?

2004-11-18 Thread Philippe Jadin
Greg Beaver wrote: Avoid base classes like the plague. They only limit future flexibility. Use inheritance like salt - as an enhancement for flavoring, otherwise you might develop high blood pressure ;). Better is to use delegation, factory or singleton as a way to access needed features,

RE: [PHP] converting a number

2004-11-18 Thread Warren Vail
I have a number like 1.0122E9 and I want to convert it into a real number in a common notation and not in that scientific one (with E). I have seen that very long numbers are always converted automaticly to that notation and I need to insert that number in a MySQL database and in that

Re: [PHP] mp3 cropping

2004-11-18 Thread Alessandro Rosa
Anyone out there know of a tool or technique for cropping an MP3 file (e.g., cutting the first 30 sec out into another file)? PHP would be nice, but not necessary. TIA, ryan If your platform is Windows, you can look for 'CDex'. This tool works as you desire. Alessandro Rosa -- PHP

[PHP] Sequrity without HTTPS?

2004-11-18 Thread Peter Lauri
Best groupmember, I am about to develop an simple admintool for a webpage. My webhost (crappy but nonexpensive) does not support HTTPS and I still want to be able to create some sort of secure login. For the moment I am just using a form that sends the username and passwd with POST method that

Re: [PHP] converting a number

2004-11-18 Thread Octavian Rasnita
Not exactly. And this query gives me an error. Thank you. Teddy - Original Message - From: Warren Vail [EMAIL PROTECTED] To: Octavian Rasnita [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, November 18, 2004 11:24 AM Subject: RE: [PHP] converting a number I have a number

Re: [PHP] converting a number

2004-11-18 Thread Jason Wong
On Thursday 18 November 2004 18:50, Octavian Rasnita wrote: Not exactly. And this query gives me an error. Fix the quotes. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development *

Re: [PHP] require() in other directories?

2004-11-18 Thread Peter Lauri
But if I am working on a webserver it would try to find it in the root of my webserver, or am I wrong? For example I use that notation with an image: I use this: img src='/image/theimage.gif' Is this not the case for the PHP-scripting? /Peter Jason Wong [EMAIL PROTECTED] skrev i meddelandet

[PHP] Re: Sorting multidim array and keeping associations

2004-11-18 Thread Sebastian Mendel
Peter Lauri wrote: I have an multidim array that looks something like this: [40] = [1]=32, [2]=55, [total]=87 [22] = [8]=2, [7]=105, [total]=107 [142] = [2]=3, [7]=8, [total]=11 I want to sort this array according to the total and still keep the acc. with the basekey. I know I can easily do this

[PHP] Re: Sequrity without HTTPS?

2004-11-18 Thread Sebastian Mendel
Peter Lauri wrote: Best groupmember, I am about to develop an simple admintool for a webpage. My webhost (crappy but nonexpensive) does not support HTTPS and I still want to be able to create some sort of secure login. For the moment I am just using a form that sends the username and passwd with

Re: [PHP] How to assure that php.ini is being obeyed?

2004-11-18 Thread Sebastian Mendel
Llc Mailit wrote: My problem: To upload large files. Although /etc/php.ini on my Linux server specifies upload_max_filesize = 8M post_max_size = 8M only files smaller than 512 kB are uploaded, while larger files fail with message This document contains no data quota? free space? try setting

Re: [PHP] [OOP] Class to handle PEAR::DB

2004-11-18 Thread Jason Wong
On Thursday 18 November 2004 17:05, [EMAIL PROTECTED] wrote: my problem is : everytime I execute this file in CLI mode I always got this [...] Standard Message: DB Error: no database selected Standard Code: -14 DBMS/User Message: SELECT * FROM country [nativecode=1046 ** No Database

Re: [PHP] require() in other directories?

2004-11-18 Thread Jason Wong
On Thursday 18 November 2004 19:45, Peter Lauri wrote: Please do not top post. But if I am working on a webserver it would try to find it in the root of my webserver, or am I wrong? For example I use that notation with an image: I use this: img src='/image/theimage.gif' That is your

[PHP] Re: require() in other directories?

2004-11-18 Thread Sebastian Mendel
Peter Lauri wrote: Best groupmember, I have an webapplication that uses different languages and therefor I have set up different directorys for each language. All languages use the same classes. The problem I have is when I want to require() the classfile I can not require a file that is not in

[PHP] Re: Sequrity without HTTPS?

2004-11-18 Thread Peter Lauri
If you use the Autority HTTP that pops up a login window by default, is that safe against listeners? /Peter Sebastian Mendel [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Peter Lauri wrote: Best groupmember, I am about to develop an simple admintool for a webpage. My

Re: [PHP] PHP-editor connected to FTP?

2004-11-18 Thread Greg Donald
On Thu, 18 Nov 2004 09:41:53 +0100, Peter Lauri [EMAIL PROTECTED] wrote: What editor do you use when working with websites (php) connected directly to the FTP? Editplus has this ability. http://editplus.com/ -- Greg Donald Zend Certified Engineer http://gdconsultants.com/

[PHP] Re: Sequrity without HTTPS?

2004-11-18 Thread Sebastian Mendel
Peter Lauri wrote: If you use the Autority HTTP that pops up a login window by default, is that safe against listeners? IMHO, the login-data is sent as plain text also, and this with every subsequent request! and not only with the first! -- Sebastian Mendel www.sebastianmendel.de www.warzonez.de

[PHP] Re: PHP-editor connected to FTP?

2004-11-18 Thread Sebastian Mendel
Peter Lauri wrote: Best groupmember, What editor do you use when working with websites (php) connected directly to the FTP? I like Eclipse 3.0 with the PHP plugin, but it do not have the future to connect to the FTP. did you tried the FTP-WebDAV plugin? -- Sebastian Mendel www.sebastianmendel.de

[PHP] Re: Sorting multidim array and keeping associations

2004-11-18 Thread Peter Lauri
The problem was more complex than I described, I instead wrote a sorting algorithm for this specific purpose. The array multi-dim array looks like this (short version). The total element is just the sum of the other. This is a point system for golftournaments. I wanted to sort them first on total

[PHP] Re: Sequrity without HTTPS?

2004-11-18 Thread Manuel Lemos
On 11/18/2004 10:23 AM, Peter Lauri wrote: If you use the Autority HTTP that pops up a login window by default, is that safe against listeners? It depends on the authentication method. Basic authentication method passes passwords as base64 encoded plain text. Digest and even NTLM are safer

[PHP] Re: Sorting multidim array and keeping associations

2004-11-18 Thread Sebastian Mendel
Peter Lauri wrote: The problem was more complex than I described, I instead wrote a sorting algorithm for this specific purpose. The array multi-dim array looks like this (short version). The total element is just the sum of the other. This is a point system for golftournaments. I wanted to sort

[PHP] HTML button as hyperlink

2004-11-18 Thread Mulley, Nikhil
Hi All, My Question is that , I have an HTML page , how can I make it as Hyperlink instead of a Form Button When user clicks on that button , it must be a href link . Please guide me. Thanks, Nikhil.

Re: [PHP] How do I get referer in php?

2004-11-18 Thread John Nichel
John Holmes wrote: John Nichel wrote: Didn't notice that those were commas and not periods either, eh? ;) Didn't notice the result is the same either way, eh? ;) Well, what do ya know, it is. Since when did a comma become a concatenation operator??? That's it, I'm going home. ;) -- John C.

Re: [PHP] HTML button as hyperlink

2004-11-18 Thread John Nichel
Mulley, Nikhil wrote: Hi All, My Question is that , I have an HTML page , how can I make it as Hyperlink instead of a Form Button When user clicks on that button , it must be a href link . Please guide me. Thanks, Nikhil. Oh, I don't know. Maybe you can research HTML, forms, and possibly

Re: [PHP] HTML button as hyperlink

2004-11-18 Thread Richard Davey
Hello Nikhil, Thursday, November 18, 2004, 2:04:51 PM, you wrote: MN My Question is that , I have an HTML page , how can I make it as MN Hyperlink instead of a Form Button Failing to see the PHP relevance here. Perhaps you want a Beginners Guide to HTML? Best regards, Richard Davey --

RE: [PHP] HTML button as hyperlink

2004-11-18 Thread Mulley, Nikhil
Hoped that this is the best list , I had my problems got solved under PHP always here , so mailed request to it. -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 7:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] HTML button as hyperlink

Re: [PHP] fwrite() seems to destroy Special Characters

2004-11-18 Thread Marek Kilimajer
Dennis Lahay wrote: I'm having trouble with writing special charcaters to a text file. The characters are your run-of-the-mill accented characters. Passing them back and forth in the database and displaying them on screen is NOT a problem. code snippet: $row = mysql_fetch_array($query_result,

Re: [PHP] HTML button as hyperlink

2004-11-18 Thread Martin Holm
Mulley, Nikhil wrote: Hi All, My Question is that , I have an HTML page , how can I make it as Hyperlink instead of a Form Button When user clicks on that button , it must be a href link . Please guide me. Thanks, Nikhil. . first of all, i dont see anything regarding php in this question. form

[PHP] php/html displaying query

2004-11-18 Thread Angelo Zanetti
HI all, I have this situation think that maybe some of you could advise me on a solution. I have a field in my database which is about a few paragraphs long. When the user edits this paragraph using php/html in a textarea it displays correctly with the lines that separate the paragraphs. These

Re: [PHP] How do I get referer in php?

2004-11-18 Thread Jason Wong
On Thursday 18 November 2004 22:10, John Nichel wrote: Well, what do ya know, it is. Since when did a comma become a concatenation operator??? That's it, I'm going home. ;) It didn't. It works for echo because echo accepts more than one parameter passed to it separated by commas. -- Jason

Re: [PHP] HTML button as hyperlink

2004-11-18 Thread Angelo Zanetti
Hi, it can be set as type button then in the onClick method use javascript to call the target page. Hope this helps Angelo Mulley, Nikhil [EMAIL PROTECTED] 11/18/2004 4:04:51 PM Hi All, My Question is that , I have an HTML page , how can I make it as Hyperlink instead of a Form Button

RE: [PHP] HTML button as hyperlink

2004-11-18 Thread Mulley, Nikhil
Thanks Martin , it gelled :) -Original Message- From: Martin Holm [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 8:07 PM To: Mulley, Nikhil Cc: [EMAIL PROTECTED] Subject: Re: [PHP] HTML button as hyperlink Mulley, Nikhil wrote: Hi All, My Question is that , I have an HTML

RE: [PHP] HTML button as hyperlink

2004-11-18 Thread Jay Blanchard
[snip] Hoped that this is the best list , I had my problems got solved under PHP always here , so mailed request to it. [/snip] You're correct, this is the best list...but off-topic is still off-topic. The answer that ou seek is BASIC HTML ... a href=foo.phpimg scr=foo.jpg alt=Foo - Get Some!

Re: [PHP] Subscription Request

2004-11-18 Thread Philip Thompson
On Nov 16, 2004, at 10:55 PM, sujis sakethram wrote: Hello sir, Previously i was subscribed to this list with email id [EMAIL PROTECTED] but it is geniune account that receives all important mails i mean from companies and personal. So, please subscribe me to this mail-id. Thanking

RE: [PHP] php/html displaying query

2004-11-18 Thread Jay Blanchard
[snip] However when I want to display this field in HTML I have a problem that its all bunched into 1 paragraph, obviously because there are no p or br tags telling the browser there is a space in between, 1 way to get this to work is to to insert p or br statements in the paragraph but when the

RE: [PHP] php/html displaying query

2004-11-18 Thread Andrew Cherry
You'll need to looking at converting newline characters to br / tags on display, etc. Or p if you want to be a bit more semantic about it. A regex on the value to replace should work a treat. Google or php.net for the specifics of the regex use and form. Andrew -Original Message- From:

RE: [PHP] HTML button as hyperlink

2004-11-18 Thread Angelo Zanetti
well thats the whole point of a submit button: thats it submits the form to a specific file. I would suggest doing an HTML tutorial, it wont take long and it will really help. Angelo Mulley, Nikhil [EMAIL PROTECTED] 11/18/2004 4:39:35 PM Thanks Martin , it gelled :) -Original Message-

RE: [PHP] php/html displaying query

2004-11-18 Thread Angelo Zanetti
thanks Jay, exactly what I needed and it works like a charm! Angelo Jay Blanchard [EMAIL PROTECTED] 11/18/2004 4:46:36 PM [snip] However when I want to display this field in HTML I have a problem that its all bunched into 1 paragraph, obviously because there are no p or br tags telling the

[PHP] creating XML with simpleXML

2004-11-18 Thread Lorderon
Hi, I know how to parse XML files with simpleXML. It also allows to edit/modify elements contents. But, is there a way to create an XML from scratch using simpleXML? -thanks, Lorderon. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTML button as hyperlink

2004-11-18 Thread Marek Kilimajer
Mulley, Nikhil wrote: Hi All, My Question is that , I have an HTML page , how can I make it as Hyperlink instead of a Form Button When user clicks on that button , it must be a href link . Please guide me. My preference is CSS. Style your link to look like a button. -- PHP General Mailing

Re: [PHP] fwrite() seems to destroy Special Characters

2004-11-18 Thread Dennis Lahay
The file doesn't exist, so I need to create it first. So I did this: $filename = ../../../Volumes/FILEJOB/ . $row['currentSVVersion']; if (!$file = fopen($filename, 'w+')) { print Cannot open file ($filename); exit; } fclose($file); Then I wrote to it using your suggestion: if (!$file =

Re: [PHP] fwrite() seems to destroy Special Characters

2004-11-18 Thread Dennis Lahay
Ah, if were only that simple but, alas, it is not. I have opened other documents that contain these special characters and BBEdit has displayed them properly. On Nov 18, 2004, at 8:23 AM, Marek Kilimajer wrote: You are not loosing them, only bbedit does not display them in the original

[PHP] Re: creating XML with simpleXML

2004-11-18 Thread Manuel Lemos
Hello, On 11/18/2004 01:12 PM, Lorderon wrote: But, is there a way to create an XML from scratch using simpleXML? I don't know about SimpleXML because it is PHP 5 only and I do not intend to use PHP 5 most likely before 2006 . Anyway, I use this class for composing and outputing XML documents

RE: [PHP] mp3 parsing

2004-11-18 Thread Gryffyn, Trevor
Nice script.. Short and concise. Havn't tested it yet, but I like short and concise. :) One thing to note.. This appears to handle ID3v1 tags (which are stored at the beginning of the file). ID3v2 tags are stored at the end of the MP3 and are a little trickier to deal with but they can hold a

RE: [PHP] PHP-editor connected to FTP?

2004-11-18 Thread Gryffyn, Trevor
I use Crimson Editor which will save directly to an FTP location fairly easily. I'm not sure if they fixed this, but in earlier versions it wouldn't save a local backup copy and I ran into problems where it would fail to send via FTP, I'd have a zero byte file on the remote web server and would

Re: [PHP] require() in other directories?

2004-11-18 Thread Ryan King
Peter Lauri wrote: I get the Failed to open stream, no such file in directory If you were in one of these folders: /fr/ /eng/ And your classfile was namned classes.php and in the directory: /classes/ And you wanted to include the classfile, how would you write it? I would assume:

Re: [PHP] fwrite() seems to destroy Special Characters

2004-11-18 Thread Marek Kilimajer
Dennis Lahay wrote: Ah, if were only that simple but, alas, it is not. I have opened other documents that contain these special characters and BBEdit has displayed them properly. Are you using the same charset for both? What is the original source of the data? html form? then they are in the

[PHP] problem in my php code

2004-11-18 Thread Hongwei Li
Hi, I have a problem in my php code. I simplify the code as the 4 pieces below and hope somebody can help me to fix the problem. 1. tsstart.php: -- this is the start point to be browsed ?php include tsdata.php; include tsshow.php; ? 2. tsdata.php: -- to get data, here I set it as a 2-d array

Re: [PHP] fwrite() seems to destroy Special Characters

2004-11-18 Thread Jason Wong
On Thursday 18 November 2004 23:46, Dennis Lahay wrote: Ah, if were only that simple but, alas, it is not. I have opened other documents that contain these special characters and BBEdit has displayed them properly. After creating the file, use PHP to read it back and display its contents. --

RE: [PHP] PHP Supremacy...

2004-11-18 Thread Gryffyn, Trevor
Thanks for the link. Here's one relating to Yahoo's use of PHP: http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm Also, out of curiosity I recently did a search trying to find some numbers comparing ASP usage to PHP usage. Market dominance and penetration and such. I didn't look too

Re: [PHP] HTML button as hyperlink

2004-11-18 Thread Marek Kilimajer
Chris Boget wrote: My preference is CSS. Style your link to look like a button. What would the CSS look like to do this, I'm curious... For default Mozilla button: A.button { padding: 0px 6px 0px 6px; border-width: 2px; border-style: outset; border-color: ButtonFace; background-color:

Re: [PHP] problem in my php code

2004-11-18 Thread Richard Davey
Hello Hongwei, Thursday, November 18, 2004, 4:46:00 PM, you wrote: HL no values are displayed. Apparently, $obj is not passed to HL tsnext.php and tsshow.php (the second time), but $ind is. What is HL wrong in the above codes? Can somebody help me? Unless there was some code missed out, I

RE: [PHP] PHP-editor connected to FTP?

2004-11-18 Thread Chris W. Parker
Peter Lauri mailto:[EMAIL PROTECTED] on Thursday, November 18, 2004 12:42 AM said: What editor do you use when working with websites (php) connected directly to the FTP? I like Eclipse 3.0 with the PHP plugin, but it do not have the future to connect to the FTP. HTML-Kit

[PHP] $_FILES and move_uploaded_file showed no directories name???

2004-11-18 Thread Scott Fletcher
I found that $_FILES and move_uploaded_file doesn't contain directories name when I uploaded multiple files/folders. On the unix machine, all I saw are files as if the tree is being stripped out and the remaining files is placed together as if there's no folder. Why is that? I really need this

Re: [PHP] how to parse a string parse with ereg

2004-11-18 Thread Mark-Walter
Helo, I meant explode each *line* (at the EOL character(s)), so this: xxx.x.x.x | 0.0.0.0 255.255.255.255 UH 0 | | | 0 | | | | 0 ppp0 is an element of the array. And this: 192.168.0.0 0.0.0.0 255.255.255.0 U | | 0 | | | 0 | | | | 0 eth1 is another element, etc. 0.0.0.0 | |

Re[2]: [PHP] PHP Supremacy...

2004-11-18 Thread Richard Davey
Hello Trevor, Thursday, November 18, 2004, 4:55:50 PM, you wrote: GT Roughly 1/3 of the web servers on the internet these days run IIS GT Roughly 2/3 run Apache in some fashion I know you said roughly, but it's less than 1/3 running IIS, quite a bit less infact. The latest Nov. 2004 Netstat

[PHP] Re: $_FILES and move_uploaded_file showed no directories name???

2004-11-18 Thread Scott Fletcher
I mean full file path, it only show the filename without the filepath... Scott Fletcher [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I found that $_FILES and move_uploaded_file doesn't contain directories name when I uploaded multiple files/folders. On the unix machine, all I saw

Re: [PHP] Problem typing in PHP forms on Mac OS

2004-11-18 Thread Jeff - Webmaster
Brent, Declaring the DOCTYPE did it! I completely overlooked that. Thank you very much for your help. Jeff At 06:40 AM 11/17/2004, Brent Baisley wrote: For the record, this is NOT a PHP problem. I have no problem on my Mac using Safari or FireFox, or even Camino .7. However, there is a problem

Re: [PHP] Re: $_FILES and move_uploaded_file showed no directories name???

2004-11-18 Thread Richard Davey
Hello Scott, Thursday, November 18, 2004, 6:05:09 PM, you wrote: SF I mean full file path, it only show the filename without the filepath... That's because it only uploads the file, not the full path worth of files and certainly not any folders. In short - you cannot find out what you need

[PHP] mail() issue...

2004-11-18 Thread Paul Danko
I am building an application that uses the mail() command. I am running on RedHat v9 with Apache v2 and PHP v4.3.8. The problem is, when I run the mail() function, the submitting page is very slow (1-2 seconds), I assume because it is waiting for the message to be queued up by SendMail. Is there a

Re: [PHP] problem in my php code

2004-11-18 Thread Philip Thompson
On Nov 18, 2004, at 10:46 AM, Hongwei Li wrote: Hi, I have a problem in my php code. I simplify the code as the 4 pieces below and hope somebody can help me to fix the problem. [snip] no values are displayed. Apparently, $obj is not passed to tsnext.php and tsshow.php (the second time), but

Re[2]: [PHP] problem in my php code

2004-11-18 Thread Richard Davey
Hello Philip, Thursday, November 18, 2004, 6:52:19 PM, you wrote: PT Someone correct me if I'm wrong on this, but globals are only PT global to that specific file. I'm being pedantic here, but they're not really global to *files*, more to sessions (not in the $_SESSION sense of course). All I'm

Re: [PHP] Re: $_FILES and move_uploaded_file showed no directories name???

2004-11-18 Thread Scott Fletcher
Well, I had successfully uploaded the files/folders. PHP just stripped out the folders for no reasons. A file can be a folder too. Scott Richard Davey [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello Scott, Thursday, November 18, 2004, 6:05:09 PM, you wrote: SF I mean full

Re: [PHP] mail() issue...

2004-11-18 Thread Scott Fletcher
I did have that similar problem when it took about a minute or two on unix machine. It turn out to be a DNS issue, so the successful workaround I made was to use the host file instead in /etc/hosts by added the machine name to it since that what the sendmail use. Maybe this is in your case?

RE: Re[2]: [PHP] PHP Supremacy...

2004-11-18 Thread Gryffyn, Trevor
GT Roughly 1/3 of the web servers on the internet these days run IIS GT Roughly 2/3 run Apache in some fashion I know you said roughly, but it's less than 1/3 running IIS, quite a bit less infact. The latest Nov. 2004 Netstat survey puts it at well under a quarter (21.25% to be exact) with

Re: [PHP] Re: $_FILES and move_uploaded_file showed no directories name???

2004-11-18 Thread Jason Wong
On Friday 19 November 2004 03:28, Scott Fletcher wrote: Well, I had successfully uploaded the files/folders. PHP just stripped out the folders for no reasons. A file can be a folder too. Could you explain how you did that (upload a folder)? -- Jason Wong - Gremlins Associates -

Re: [PHP] Re: $_FILES and move_uploaded_file showed no directories name???

2004-11-18 Thread Marek Kilimajer
Jason Wong wrote: On Friday 19 November 2004 03:28, Scott Fletcher wrote: Well, I had successfully uploaded the files/folders. PHP just stripped out the folders for no reasons. A file can be a folder too. Could you explain how you did that (upload a folder)? I guess using Raditha's Rad Upload.

[PHP] splitting arrays

2004-11-18 Thread Reinhart Viane
hey all, I have a question concerning arrays. Folowing situation: usertable $sql=select * from users; $result=mysql_query($sql) or die (mysql_error()); $array=mysql_fetch_array($result); Now this give me an array, i can get specific information with array['username'] What i need to do

Re: [PHP] splitting arrays

2004-11-18 Thread Afan Pasalic
$sql=select * from users; $result=mysql_query($sql) or die (mysql_error()); while($array=mysql_fetch_array($result)) { array1[]=$array['name']; array2[]=$array['picture']; } Reinhart Viane wrote: hey all, I have a question concerning arrays. Folowing situation: usertable

Re: [PHP] How to assure that php.ini is being obeyed?

2004-11-18 Thread Mailit, LLC
Sebastian Mendel, I am using simple scripts to verify this file size issue: The Html file that accepts the job is as follows: form enctype=multipart/form-data action=uploading.php method=POST input type=hidden name=MAX_FILE_SIZE value=800 / pSend this file: input name=userfile type=file

Re: [PHP] PHP Supremacy...

2004-11-18 Thread Peter Risdon
Richard Davey wrote: Hello Trevor, Thursday, November 18, 2004, 4:55:50 PM, you wrote: GT Roughly 1/3 of the web servers on the internet these days run IIS GT Roughly 2/3 run Apache in some fashion I know you said roughly, but it's less than 1/3 running IIS, quite a bit less infact. The latest

[PHP] About problem in my php code

2004-11-18 Thread Hongwei Li
Thanks for all help from Philp and Richard. I learned the session issue and fixed the problem. For some reason, I could not receive any email from this list. I checked the message only from the list's web site, but did not receive any (my post, reply, or any other posts) in my mail. I did

[PHP] RE: **[SPAM]** Re: [PHP] PHP Supremacy...

2004-11-18 Thread Jay Blanchard
[snip] And this includes the use of extensions to the languages. PHP extensions are free, ASP ones invariably cost. This has implications for the future of any project as well as the starting point: extending an ASP site could cost...well, it's impossible to know right now. Depends what

RE: [PHP] PHP Supremacy...

2004-11-18 Thread Mike
[snip] There's a Netcraft survey based graph at php.net that shows about 17 million PHP-powered sites. And we don't need to make assumptions about ASP either: PHP overtook classic in 2002 and ASP.Net powers fewer than 3 million sites. [\snip] Also remember that all you need to dev PHP is a

Re: [PHP] [OOP] Class to handle PEAR::DB

2004-11-18 Thread valerie17
object(DBku)#1 (6) { [type]= string(5) mysql [user]= string(4) root [pass]= string(0) [host]= string(9) localhost [db]= string(7) valerie [dbhandler]= NULL } Standard Message: DB Error: no database selected Standard Code: -14 DBMS/User Message: SELECT * FROM country [nativecode=1046 ** No

Re: [PHP] Re: $_FILES and move_uploaded_file showed no directories name???

2004-11-18 Thread Scott Fletcher
Yep, that Java applet, Raditha's Rad Upload... Just found the documentation there that the file path worked before PHP 4.3.6 but not with 4.3.6 and up. I don't know what the PHP developer did with the $_FILE codes before releasing PHP 4.3.6 Scott Marek Kilimajer [EMAIL PROTECTED] wrote in

[Fwd: Re: [PHP] PHP Supremacy...]

2004-11-18 Thread Peter Risdon
Whoops, didn't include the list. -- the circle squared network systems and software http://www.circlesquared.com ---BeginMessage--- Pedro Irán Méndez Pérez wrote: Hello my friends, I need your help in convince to my boss in adopt php for development of a tool for intranet in my office, he told me

Re[2]: [PHP] Re: $_FILES and move_uploaded_file showed no directories name???

2004-11-18 Thread Richard Davey
Hello Scott, Thursday, November 18, 2004, 7:28:00 PM, you wrote: SF Well, I had successfully uploaded the files/folders. PHP just SF stripped out the folders for no reasons. A file can be a folder SF too. If you insist. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP

[PHP] Understanding Static Methods

2004-11-18 Thread Jordi Canals
Hi all, I'm trying to understand static methods in a test class. Reading the manual, it says: A member or method declared with static can not be accessed with a variable that is an instance of the object and cannot be re-defined in an extending class. Test code: ?php class B {

RE: [PHP] Understanding Static Methods

2004-11-18 Thread Sylvain Girard
I'm taking a wild guess here, but doesn't that got anything to do with the public declaration of the method? -Oorspronkelijk bericht- Van: Jordi Canals [mailto:[EMAIL PROTECTED] Verzonden: vrijdag 19 november 2004 2:29 Aan: PHP List Onderwerp: [PHP] Understanding Static Methods Hi all,

[PHP] access the under hood dom object from c code inside php-extension

2004-11-18 Thread luise.hans
Is there any way/document/direction to access the under hood dom object which is created in php land from the c code inside php extensions? something like this: in the php code, I do: $domdoc = new DOMDocument; $domdoc-loadXML($strXMLData); $domnode = $domdoc-firstChild; //... some operations on

Re: [PHP] Sequrity without HTTPS?

2004-11-18 Thread Chris Shiflett
--- Peter Lauri [EMAIL PROTECTED] wrote: Can someone from outside set a $_SESSION variable with some hacker techniqe? For all practical purposes, no. Session data is kept on the server and therefore less exposed and less vulnerable than other data. Chris = Chris Shiflett -

Re: [PHP] Re: Sequrity without HTTPS?

2004-11-18 Thread Chris Shiflett
--- Peter Lauri [EMAIL PROTECTED] wrote: If you use the Autority HTTP that pops up a login window by default, is that safe against listeners? Assuming you mean HTTP Basic Authentication, it is not encrypted, so it is not safe from snooping. Chris = Chris Shiflett - http://shiflett.org/

[PHP] Re: php/html displaying query

2004-11-18 Thread David Robley
On Fri, 19 Nov 2004 00:44, Angelo Zanetti wrote: HI all, I have this situation think that maybe some of you could advise me on a solution. I have a field in my database which is about a few paragraphs long. When the user edits this paragraph using php/html in a textarea it displays

Re: [PHP] Sequrity without HTTPS?

2004-11-18 Thread Ramil Sagum
On Thu, 18 Nov 2004 12:41:01 +0100, Peter Lauri [EMAIL PROTECTED] wrote: Best groupmember, My webhost (crappy but nonexpensive) does not support HTTPS and I still want to be able to create some sort of secure login. Someone with some tips and tricks to get a secure system without using

Re: [PHP] Is Perl faster than PHP?

2004-11-18 Thread Chris Shiflett
--- Merlin [EMAIL PROTECTED] wrote: it came to my attention that most of the high traffic portals are using perl in the backend. Those sites do also apear to me to be very fast in comparison to most php sites. Are there any known performance comperissons between the two available? Or can one

[PHP] PEAR::SOAP return tag trouble in migration to PEAR::SOAP from NuSOAP

2004-11-18 Thread Jeff Rodriguez
I'm trying to migrate to PEAR::SOAP from NuSOAP, but I'm confused as to why the result sent back from a function is wrapped in a return tag. The return part of my code is simple enough: return array('lastStatus' = 'ok'); But this gets wrapped in a return tag: return xsi:type=xsd:string

Re: [PHP] PHP-editor connected to FTP?

2004-11-18 Thread Chris
On Thu, 18 Nov 2004 09:35:42 -0800, Chris W. Parker [EMAIL PROTECTED] wrote: Peter Lauri mailto:[EMAIL PROTECTED] on Thursday, November 18, 2004 12:42 AM said: What editor do you use when working with websites (php) connected directly to the FTP? I like Eclipse 3.0 with the PHP plugin, but

RE: [PHP] Is Perl faster than PHP?

2004-11-18 Thread Mulley, Nikhil
It all depends on the factors like Computer Hardware, Optimization of PHP for that System/OS , Network Factors and all . Though it has been the perl way , as it is almost more than a teenager of age now and has more modules written for it than for PHP , PHP is the beggining , but I am sure the

[PHP] I am new - Having problems displaying something

2004-11-18 Thread Brian Heibert
Hi, I am new to this list. I am trying to do a php script that will say what song is currently playing in iTunes/NiceCast Internet Radio broadcaster Onto my website Every attempt I have made so far has failed I got a file called playing.php With this text inside it: ?php echo Current Song:

RE: [PHP] I am new - Having problems displaying something

2004-11-18 Thread Warren Vail
Looks like the URL you are trying to passthru is missing a domain, No? ;-) Warren Vail -Original Message- From: Brian Heibert [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 9:33 PM To: [EMAIL PROTECTED] Subject: [PHP] I am new - Having problems displaying something

[PHP] getting the highest number in 3 db fields?

2004-11-18 Thread Louie Miranda
I have a db field of 3. - prolog - transmodal - asian I wish to get the highest number of those three, in different fields. Im thingking of.. if (row0 = row1) ... how about row2? confused.. -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To

  1   2   >