Re: [PHP] meet problem while use imap_close

2004-06-03 Thread php maillist
Let me answer my question myself my os is installed redhat 9.0 and use imap rpm after I start deamon imap and imaps (I didn't start imaps deamon at startup) everything goes well~! but it still need to add /notls behind protocol Frederick Kuo 6/3 Php Maillist wrote: hello everybody, I need help for

AW: [PHP] how to insert form data // BigMark

2004-06-03 Thread Shahed, Raja
BigMark wrote $sql = INSERT INTO whosaid (name,quote) VALUES ('$name', '$quote'); //$sql = INSERT INTO whosaid (name,quote) VALUES ('','$name', '$quote'); //if you have auto_incrementing id $result = mysql_qeury($sql); Try this way! Best regards Raja shahed -Ursprüngliche

[PHP] Alternative to freetype?

2004-06-03 Thread Victor Spång Arthursson
Hi! Since it's almost impossible to find a web server which has freetype installed, I wonder which the alternatives are to put text on an image? Sincerely Victor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [PHP-General] - LOC/FP for PHP.

2004-06-03 Thread francesco[AT]automationsoft[DOT]biz
Hi all, I have a question about PHP in relation with software engineering, and in particular, in order to apply COCOMO metod in a web-oriented software. I want to do a cost estimation of a software write in PHP-MySQL (and Linux-Apache) for a LAN. I know the teory about the software enginnering

Re: [PHP] Re: Can session.save_path data be saved to a database instead of a file system?

2004-06-03 Thread Marek Kilimajer
Caleb Walker wrote: This is how I would do it and would require no additional changes to the code - just set your auto prepend in a .htaccess file if you're using Apache. This sounds interesting. Could you elaborate a little more? I mean what is the auto prepend and what is the syntax for the

[PHP] Sophisticated rss builder class

2004-06-03 Thread electroteque
Hi there, I am wanting to know if there is any good rss builder classes, that is similar to what the PEAR XML_Tree class can do. Sadly there is no pear rss builder out there, and the ones on PHP classes are dodgy. Please let me know thanks. -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP and HVCI

2004-06-03 Thread Arndt Touby
Hi, does anybody have an idea how to implement HBCI-functionality to a PHP-Site? greetings Arndt Touby -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: how to insert form data

2004-06-03 Thread Ford, Mike [LSS]
On 03 June 2004 03:57, Ligaya Turmelle wrote: shouln't be QUOTE: input type = textarea name=quote... If that was a question, then: No, it shouldn't. Some versions of a certain browser may have supported this, but it has never been part of any HTML standard. Cheers! Mike

[PHP] (Newbie question) Advice on comment system (no db!) design issues

2004-06-03 Thread Yngve
Hi! I am about to write a comment system in PHP, but as i am not any good at PHP i am seeking some advice. This is what i want from the system: * Flexibility! I want to be able to attach it where i want let the user give comments easily. For example comments could be on a blog entry or on a

[PHP] IMPORTANT MASSAGE FROM THE BANK

2004-06-03 Thread Davies Harries
FROM:Mr DAVIES HARRIES bills and exchange director GUARANTY TRUST BANK PLC Email:[EMAIL PROTECTED] Fax No:14134519233 Dear Sir, I am Mr.Davies Harries the bills and exchange director at the GUARANTY TRUST BANK PLC, I am writing this letter to solicit for support and assistance from you to carry

[PHP] Class Syntax Help or Globals issue

2004-06-03 Thread bob pilly
Hi All I am new to classes and are trying to work out whether they will make my coding experience easier. I have written the following test class which is trying to take three variables from a mssql query and add them as variables in a new class. This isnt working as i keep getting an error that

Re: [PHP] Class Syntax Help or Globals issue

2004-06-03 Thread Marek Kilimajer
bob pilly wrote: Hi All I am new to classes and are trying to work out whether they will make my coding experience easier. I have written the following test class which is trying to take three variables from a mssql query and add them as variables in a new class. This isnt working as i keep

[PHP] PHP 4.3.7 Released

2004-06-03 Thread Ilia Alshanetsky
PHP Development Team is proud to announce the release of PHP 4.3.7. This is a maintenance release that in addition to several non-critical bug fixes, addresses an input validation vulnerability in escapeshellcmd() and escapeshellarg() functions on the Windows platform. Users of PHP on Windows

[PHP] Re: mail() problem

2004-06-03 Thread Ben Ramsey
I would also suggest adding the following headers to the message, as they are supposed to help keep the spam filters from recognizing a message as spam: X-Priority: 3 X-MSMail-Priority: Normal Of course, you can read up on the various priority levels and change them if you want, but these

Re: [PHP] php installation verification

2004-06-03 Thread Ben Ramsey
Did you fix this problem yet? The lines below are fine for your apache httpd.conf file. The only thing that appears out of the ordinary is the location of libphp4.so. In my setup (I'm also using Red Hat and Apache 2.0), when I compile PHP, it places libphp4.so in the modules directory

[PHP] Best way to sort?

2004-06-03 Thread Brian Dunning
I'm not sure if this is a complex SQL query or a PHP array sorting thing, but what's the best way to take this data: Tom Greg Brian Tom Brian Tom And return the following results, sorted by number of records: Tom - 3 Brian - 2 Greg - 1 Any thoughts? -- PHP General Mailing List

Re: [PHP] Best way to sort?

2004-06-03 Thread John Nichel
Brian Dunning wrote: I'm not sure if this is a complex SQL query or a PHP array sorting thing, but what's the best way to take this data: Tom Greg Brian Tom Brian Tom And return the following results, sorted by number of records: Tom - 3 Brian - 2 Greg - 1 Any thoughts? MySQL's

RE: [PHP] Best way to sort?

2004-06-03 Thread Angelo Zanetti
select thename, count(thename) from tablename order by thename asc group by thename Try this -Original Message- From: Brian Dunning [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 3:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Best way to sort? I'm not sure if this is a complex

RE: [PHP] php installation verification

2004-06-03 Thread Nguyen, Long P (Mission Systems)
I removed the line AddType application/x-httpd-php .php and add Files *.php SetOutputFilter PHP SetInputFilter PHP /Files restarted httpd and didn't work - what displayed on the browser was: ?php phpinfo(); ? -Original Message- From: R'twick Niceorgaw [mailto:[EMAIL

[PHP] Re: IMPORTANT MASSAGE FROM THE BANK

2004-06-03 Thread Stephen Lake
wonders if this is the exact same scam that cost millions of dollars in Canada last year as I do not see a LEGIT bank URL or email address besides what is this BS doing here??? this a PHP MAIL LIST!!! Not a scam list!!! Davies Harries [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]

Re: [PHP] php installation verification

2004-06-03 Thread Ben Ramsey
Please reply to the list so that everyone can benefit from the conversation. I am running Apache 2.0.49 and PHP 4.3.7, but that shouldn't make too much difference. Did you check to make sure that libphp4.so is, in fact, in your modules directory? Also, use the AddType statements instead of the

Re: [PHP] php installation verification

2004-06-03 Thread Ben Ramsey
I also noticed that you're using .php and .phps in your AddType statement. Take out the dot (.) so that it's just php and phps. That may be the cause of the problem. Ben Ramsey wrote: Please reply to the list so that everyone can benefit from the conversation. I am running Apache 2.0.49 and

[PHP] weird error

2004-06-03 Thread pagongski
Hi guys, I recently installed easy-php on my laptop so i could work on the go without having to upload my scripts to the server to test them out. The problem is that when i tried one of my scripts on it, i get some weird errors, and the script works fine on the online server.

Re: [PHP] Best way to sort?

2004-06-03 Thread Rob Adams
Angelo Zanetti [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] select thename, count(thename) from tablename order by thename asc group by thename or... to sort by number of records select name, count(name) as ncnt from table group by name order by ncnt desc -- Rob -- PHP

[PHP] $_FILES passed by value

2004-06-03 Thread Daniel Guerrier
If I pass a $_FILES to an object by value. Does it create a copy of the actual posted files as well? In other words if I post a 2MB file to save.php and in turn pass $_FILES to an object $file-fileis($_FILES); Does that create 4MB of data in memory? Thanks Danny

Re: [PHP] weird error

2004-06-03 Thread Miguel J. Jiménez
Better if you use $_SERVER['REMOTE_ADDR'] and so on... pagongski wrote: Hi guys, I recently installed easy-php on my laptop so i could work on the go without having to upload my scripts to the server to test them out. The problem is that when i tried one of my scripts on it, i

[PHP] Re: weird error

2004-06-03 Thread Ben Ramsey
Pardon me for asking, but what is easy-php? Pagongski wrote: Hi guys, I recently installed easy-php on my laptop so i could work on the go without having to upload my scripts to the server to test them out. The problem is that when i tried one of my scripts on it, i get some

RE: [PHP] php installation verification

2004-06-03 Thread Nguyen, Long P (Mission Systems)
I think I know what I did wrong... I should place the test.php file under the Document_Root directory and I should be bringing up the test.php file on the browser address as: http://localhost/test.php right??? What I was doing before was just going to the browser's File -- Open -- and

Re: [PHP] Re: weird error

2004-06-03 Thread pagongski
Pardon me for asking, but what is easy-php? Easy-php is a simple solution to install apache+php+mysql+phpmyadmin, all in a nice simple to admin package. Its great to test locally your scripts and DB access. Sorry, i sound like a salesman, i am in no ways affilliated to it, just a happy

[PHP] Re: weird error

2004-06-03 Thread Rob Adams
Pagongski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] snipped / Here are some example errors: Notice: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' in c:\win2kapp\easyphp1-7\www\index.php on line 35 These aren't exactly 'errors.' If this is

Re: [PHP] php installation verification

2004-06-03 Thread Ben Ramsey
Yes, you should be accessing it through http://localhost/test.php That's most definitely the cause of the problem. Long P Nguyen wrote: I think I know what I did wrong... I should place the test.php file under the Document_Root directory and I should be bringing up the test.php file on the

[PHP] Re: $_FILES passed by value

2004-06-03 Thread Rob Adams
Daniel Guerrier [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If I pass a $_FILES to an object by value. Does it create a copy of the actual posted files as well? In other words if I post a 2MB file to save.php and in turn pass $_FILES to an object $file-fileis($_FILES); Does

RE: [PHP] php installation verification

2004-06-03 Thread Nguyen, Long P (Mission Systems)
OK - thanks for all the help everyone!! -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:02 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] php installation verification Yes, you should be accessing it through http://localhost/test.php That's

[PHP] FW: Your Request

2004-06-03 Thread Nguyen, Long P (Mission Systems)
Is anyone else getting this email whenever you send an email to the [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] list? I get this whenever I send a post. -Original Message- From: Information Desk [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 11:09 AM To: Nguyen, Long P

Re: [PHP] $_FILES passed by value

2004-06-03 Thread John W. Holmes
From: Daniel Guerrier [EMAIL PROTECTED] If I pass a $_FILES to an object by value. Does it create a copy of the actual posted files as well? In other words if I post a 2MB file to save.php and in turn pass $_FILES to an object $file-fileis($_FILES); Does that create 4MB of data in memory?

Re: [PHP] weird error

2004-06-03 Thread John W. Holmes
From: pagongski [EMAIL PROTECTED] Notice: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' in c:\win2kapp\easyphp1-7\www\index.php on line 35 Notice: Undefined variable: HTTP_REFERER in . I have register globals on. (was off so i turned them on

Re: [PHP] Re: $_FILES passed by value

2004-06-03 Thread Marek Kilimajer
Rob Adams wrote: Daniel Guerrier [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If I pass a $_FILES to an object by value. Does it create a copy of the actual posted files as well? In other words if I post a 2MB file to save.php and in turn pass $_FILES to an object

Re: [PHP] weird error

2004-06-03 Thread Marek Kilimajer
John W. Holmes wrote: From: pagongski [EMAIL PROTECTED] Notice: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' in c:\win2kapp\easyphp1-7\www\index.php on line 35 Notice: Undefined variable: HTTP_REFERER in . I have register globals on. (was off so i

[PHP] When did mysql_query quit allowing multiple queries separated by a semicolon

2004-06-03 Thread James Harrell
Hi PHP gurus, Asked this question on the PHP-DB list, no response there. Hoping someone here may have the answer. :) Mostly a research question. I recall (a long time ago - php3?) that some php packages could be compromised by injecting a secondary query though GET/POST variables when they were

RE: [PHP] weird error

2004-06-03 Thread Ford, Mike [LSS]
On 03 June 2004 15:52, pagongski wrote: Hi guys, I recently installed easy-php on my laptop so i could work on the go without having to upload my scripts to the server to test them out. The problem is that when i tried one of my scripts on it, i get some weird errors,

Re: [PHP] Best way to sort?

2004-06-03 Thread Daniel Clark
SELECT DISTINCT person_name, count(*) FROM table_name GROUP BY person_name ORDER BY 2 DESC I'm not sure if this is a complex SQL query or a PHP array sorting thing, but what's the best way to take this data: Tom Greg Brian Tom Brian Tom And return the following

Re: [PHP] weird error

2004-06-03 Thread John W. Holmes
From: Marek Kilimajer [EMAIL PROTECTED] The second error shows you did not turn on register globals. Look at a phpinfo() page to confirm you edited the right php.ini. You must restart your webserver after the change, also. Or he typed the url into the location bar, or selected a bookmark,

[PHP] FW: Variables within Variables

2004-06-03 Thread Nunners
I've had no luck on the smarty list. does anyone else know? _ From: Nunners [mailto:[EMAIL PROTECTED] Sent: 03 June 2004 16:22 To: '[EMAIL PROTECTED]' Subject: Variables within Variables (Sorry for the naff subject - that's the only way I could describe it.!) I'm trying to

Re: [PHP] When did mysql_query quit allowing multiple queries separated by a semicolon

2004-06-03 Thread John W. Holmes
From: James Harrell [EMAIL PROTECTED] Mostly a research question. I recall (a long time ago - php3?) that some php packages could be compromised by injecting a secondary query though GET/POST variables when they were not properly sanitized. ex: $query=select a from $b; mysql_query($query);

[PHP] OT (Re: IMPORTANT MASSAGE FROM THE BANK)

2004-06-03 Thread Mark Pecaut
On Thu, Jun 03, 2004 at 11:14:29AM -0300, Stephen Lake wrote: wonders if this is the exact same scam that cost millions of dollars in Canada last year as I do not see a LEGIT bank URL or email address besides what is this BS doing here??? this a PHP MAIL LIST!!! Not a scam list!!!

Re: [PHP] Best way to sort?

2004-06-03 Thread Raúl Castro
The best way is: SELECT person_name, count(*) FROM table_name GROUP BY person_name ORDER BY 2 DESC - Original Message - From: Daniel Clark [EMAIL PROTECTED] To: Brian Dunning [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, June 03, 2004 10:30 AM Subject: Re: [PHP] Best way to

Re: [PHP] When did mysql_query quit allowing multiple queries separated by a semicolon

2004-06-03 Thread Marek Kilimajer
James Harrell wrote: Hi PHP gurus, Asked this question on the PHP-DB list, no response there. Hoping someone here may have the answer. :) Mostly a research question. I recall (a long time ago - php3?) that some php packages could be compromised by injecting a secondary query though GET/POST

[PHP] Asuming query without the ?

2004-06-03 Thread Robert Winter
Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154-- assumes www.myserver.com/path/index.php?code=154 The only thing I could do is avoid writing index.php but I still have to write the ?:

Re: [PHP] Asuming query without the ?

2004-06-03 Thread John Nichel
Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154-- assumes www.myserver.com/path/index.php?code=154 The only thing I could do is avoid writing index.php but I still have to write the ?:

[PHP] Fatal Error Help

2004-06-03 Thread Ryan Schefke
Can someone verify that the solution to this problem is to change my php.ini file's memory_limit = 8M; line to memory_limit = 16M;? My script was working fine (file uploading) before. Then, last night I upgraded to php 4.3.6 and installed Turck mmcache. Now I get the following error:

Re: [PHP] Fatal Error Help

2004-06-03 Thread Marek Kilimajer
Ryan Schefke wrote: Can someone verify that the solution to this problem is to change my php.ini file's memory_limit = 8M; line to memory_limit = 16M;? What about verifying it yourself? Yes, that should help. If not, try higher values. Don't forget to restart the webserver. -- PHP General

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Marek Kilimajer
Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154-- assumes www.myserver.com/path/index.php?code=154 The only thing I could do is avoid writing index.php but I still have to write the ?:

RE: [PHP] Fatal Error Help

2004-06-03 Thread Ryan Schefke
I will try it but I wanted to make sure that was the best way to solve the issue. Why would the same script work before (with memory_limit = 8MB) and now it has that error? That's where I'm confused. -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Thursday,

Re: [PHP] Fatal Error Help

2004-06-03 Thread raditha dissanayake
Ryan Schefke wrote: I will try it but I wanted to make sure that was the best way to solve the issue. Why would the same script work before (with memory_limit = 8MB) and now it has that error? That's where I'm confused. depends on the data you are working with. What about verifying it

[PHP] Re: PHP and HVCI

2004-06-03 Thread Torsten Roehr
Hi, google for 'php pear hbci'. You'll find some useful sites. Regards, Torsten Roehr Arndt Touby [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, does anybody have an idea how to implement HBCI-functionality to a PHP-Site? greetings Arndt Touby -- PHP General Mailing

[PHP] Re: Sophisticated rss builder class

2004-06-03 Thread Manuel Lemos
Hello, On 06/03/2004 06:28 AM, Electroteque wrote: Hi there, I am wanting to know if there is any good rss builder classes, that is similar to what the PEAR XML_Tree class can do. Sadly there is no pear rss builder out there, and the ones on PHP classes are dodgy. Please let me know thanks. Did

[PHP] Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
Hi everyone, I am trying to work within someone elses modular system so my flexibility is rather limited. I'm trying to do this: header(Location: javascript:this.print()); Which of course does not work. Anyone know how I might do it? Many thanks... -- Nick W -- PHP General Mailing List

[PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Torsten Roehr
Nick Wilson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi everyone, I am trying to work within someone elses modular system so my flexibility is rather limited. I'm trying to do this: header(Location: javascript:this.print()); Which of course does not work. Anyone know

Re: [PHP] Call JS Function with PHP Header()?

2004-06-03 Thread John Nichel
Nick Wilson wrote: Hi everyone, I am trying to work within someone elses modular system so my flexibility is rather limited. I'm trying to do this: header(Location: javascript:this.print()); Which of course does not work. Anyone know how I might do it? Many thanks... You can't call JS functions

Re: [PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
* and then Torsten Roehr declared header(Location: javascript:this.print()); Which of course does not work. Anyone know how I might do it? try this: echo script language=\JavaScript\ !-- this.print(); //-- /script; Thanks Torsten, I have managed to do that, but it's in the

Re: [PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
* and then Nick Wilson declared !-- script type=text/javascript this.print(); /script //-- Right in the middle of the body. It doesnt work LoL! - Seems to me that it should do...? Ah... XHTML Strict - Gotta remove the comment tags ;-) Thanks mate.. -- Nick W -- PHP General

[PHP] imploding a multi-dimensional array

2004-06-03 Thread Tom Wuyts
Hi, I want to implode a multi-dimensional array into 1 string. I use the next code to put it into the array: $spots = Array(); $rows = explode( @, $row['spots'] ); foreach( $rows as $rij ) { $spots[] = explode( , $rij );

Re: [PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Dennis Seavers
You should be able to use the comment tags, just put them inside the script tags: echo script language=\javascript\ type=\text/javascript\ !-- this.print() //-- /script; I don't believe you need a semi-colon after this.print within the javascript script. [Original Message] From: Nick Wilson

Re: [PHP] Re: Call JS Function with PHP Header()?

2004-06-03 Thread Nick Wilson
* and then Dennis Seavers declared You should be able to use the comment tags, just put them inside the script tags: echo script language=\javascript\ type=\text/javascript\ !-- this.print() //-- /script; I don't believe you need a semi-colon after this.print within the

Re: [PHP] imploding a multi-dimensional array

2004-06-03 Thread John W. Holmes
From: Tom Wuyts [EMAIL PROTECTED] I want to implode a multi-dimensional array into 1 string. Any reason you need to implode() instead of serialize() the array? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CAUTION FRAUD: IMPORTANT MASSAGE FROM THE BANK

2004-06-03 Thread Jordi Canals
Some time ago, I was working for a governement departament, and I asked about this kind of messages. The answer was clear and explicit: This kind of message are a FRAUD (I don't now how they do the fraud) and are investigated and are INVESTIGATED and PERSECUTED by the Spanish Police in

[PHP] php as user apache

2004-06-03 Thread Nirnimesh
I have a problem regarding using my php scripts to write files to my account. We know that php runs as user apache. Now giving write permissions to apache for uploading files to my account essentially means that I have to give write permissions for apache (i.e. o+w). Now, does that not mean that

Re: [PHP] php as user apache

2004-06-03 Thread John W. Holmes
From: Nirnimesh [EMAIL PROTECTED] I have a problem regarding using my php scripts to write files to my account. We know that php runs as user apache. Now giving write permissions to apache for uploading files to my account essentially means that I have to give write permissions for apache

Re: [PHP] php as user apache

2004-06-03 Thread Travis Low
John W. Holmes wrote: From: Nirnimesh [EMAIL PROTECTED] I have a problem regarding using my php scripts to write files to my account. We know that php runs as user apache. Now giving write permissions to apache for uploading files to my account essentially means that I have to give write

Re: [PHP] php as user apache

2004-06-03 Thread John W. Holmes
From: Travis Low [EMAIL PROTECTED] John W. Holmes wrote: From: Nirnimesh [EMAIL PROTECTED] I have a problem regarding using my php scripts to write files to my account. We know that php runs as user apache. Now giving write permissions to apache for uploading files to my account

[PHP] image resize looks horrible..

2004-06-03 Thread Edward Peloke
I am using the below function which does seem to resize the image yet the colors in the resized image look horrible. How can I resize the image yet keep the colors in tact? Thanks, Eddie Justin-I tried your code but it didn't seem to do anything...I will just use this function if the color will

[PHP] PHP Debugger 4 Linux?

2004-06-03 Thread Nick Wilson
Hi everyone, Can anyone recommend a good debugger for *nix? Many thx! -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cron Job in vDeck

2004-06-03 Thread Matt Palermo
Hey guys. I was wondering if anyone knows how to go about creating a cron job using vDeck (that's what is installed on the server) that just accesses a PHP file and runs everything in the PHP file. Does anyone know how to go about doing something like this? Thanks, Matt http://sweetphp.com --

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Robert Winter
Where and how do I set this? I'm to Unix and PHP. Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Robert Winter
Where and how do I set this? I'm to Unix and PHP. John Nichel [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a path like this: www.myserver.com/path/154--

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Daniel Clark
I think it's in the Apache config file. Where and how do I set this? I'm to Unix and PHP. Marek Kilimajer [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Robert Winter wrote: Is it possible to configure PHP/.htAccess/etc. for assuming a query when the users enters a

[PHP] help needed with tiger tree hashes

2004-06-03 Thread Carl S. in 't Veld
I am trying to generate tiger tree hashes the same way as directconnect does, but I am failing. I checked the output from php with the reference vectors from http://www.cs.technion.ac.il/~biham...ssie-format.dat and they appear to be different! echo bin2hex(mhash(MHASH_TIGER, 'abc')).br/\n;

RE: [PHP] Asuming query without the ?

2004-06-03 Thread Chris W. Parker
Robert Winter mailto:[EMAIL PROTECTED] on Thursday, June 03, 2004 4:31 PM said: Where and how do I set this? I'm to Unix and PHP. just look up mod_rewrite and you'll get some answers. http://www.engelschall.com/pw/apache/rewriteguide/ chris. p.s. please don't respond to two different

Re: [PHP] Asuming query without the ?

2004-06-03 Thread Marek Kilimajer
Robert Winter wrote: Where and how do I set this? I'm to Unix and PHP. in .htaccess file RewriteRule ^/path/([0-9]+)$/path/index.php?code=$1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Bulk table updates

2004-06-03 Thread Robert Sossomon
I am looking for a tutorial or a already created class or file that I can use to learn how to create a form that is populated from a database table that can be edited in every row and column and takes only 1 SAVE button to upload all the changes. Thanks, Robert -- PHP General Mailing List

Re: [PHP] Bulk table updates

2004-06-03 Thread deseavers
Use a SELECT query to get the values (SELECT * FROM table) and a table that has form input fields in the cells. The values for the form fields would be based on the array you get from the SELECT query. The form could be something like form action=?=$PHP_SELF ? method=post. In the script,

Re: [PHP] Bulk table updates

2004-06-03 Thread John W. Holmes
Robert Sossomon wrote: I am looking for a tutorial or a already created class or file that I can use to learn how to create a form that is populated from a database table that can be edited in every row and column and takes only 1 SAVE button to upload all the changes. Look on phpclasses.org or in

[PHP] Current URL

2004-06-03 Thread Stephen Craton
I've wondered for quite some time, and search just as long it seems like, for a way to get the current URL directory. For example, let's say you were at www.example.com/files. The script is executing in this directory, and it's calling an include script from the base (www.example.com or maybe even

Re: [PHP] Current URL

2004-06-03 Thread Robert Cummings
On Thu, 2004-06-03 at 23:15, Stephen Craton wrote: I've wondered for quite some time, and search just as long it seems like, for a way to get the current URL directory. For example, let's say you were at www.example.com/files. The script is executing in this directory, and it's calling an

[PHP] Problem with PHP + WML + Post method

2004-06-03 Thread Shelby
Hi, I'm having problem with the Post method in my PHP + WML file. Note that I have No problem with the Get method. When I click Login, The Error: Malformed server response I'm using Win2k + PHP436 for testing. And I have set the MIME type in the IIS: .wml application/x-httpd-php =

RE: [PHP] Problem with PHP + WML + Post method

2004-06-03 Thread Tyler Replogle
hey, don't you need a page thats after that and will check the info, if you have it will help use see what your problem with the $_POST[] is. From: Shelby [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [PHP] Problem with PHP + WML + Post method Date: Fri, 4 Jun 2004 11:46:10 +0800 Hi, I'm

Re: [PHP] Problem with PHP + WML + Post method

2004-06-03 Thread Shelby
Hi, the href property is going back to index.php. It is going back to itself. Tyler Replogle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] hey, don't you need a page thats after that and will check the info, if you have it will help use see what your problem with the $_POST[] is.

Re: [PHP] Current URL

2004-06-03 Thread Aidan Lister
Hi, You could use $_SERVER['DOCUMENT_ROOT'] Robert Cummings [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Thu, 2004-06-03 at 23:15, Stephen Craton wrote: I've wondered for quite some time, and search just as long it seems like, for a way to get the current URL directory. For

Re: [PHP] Current URL

2004-06-03 Thread Robert Cummings
On Fri, 2004-06-04 at 01:38, Aidan Lister wrote: Hi, You could use $_SERVER['DOCUMENT_ROOT'] That doesn't work... as the OP mentioned, the URLs might need to refer locally within a subsite built as a subdirectory within the document root. Cheers, Rob. Robert Cummings [EMAIL PROTECTED]