Re: [PHP]

2004-12-29 Thread Andrew Kreps
On Wed, 29 Dec 2004 08:35:28 -0800, Tony Di Croce [EMAIL PROTECTED] wrote: So far, I really love PHP... It just makes web development so much more convenient... But I sometimes wonder why so much server side work is done with intrpreted scripting languages... Why haven't languages been

Re: [PHP] cURL and line breaks

2004-12-28 Thread Andrew Kreps
Are you talking about the variable you're POSTing? Does it make a difference if you urlencode the form var? Have you tried debugging from the server end to see what cURL is passing over? I use cURL quite a bit, although I've never tried passing muti-line form data. On Tue, 28 Dec 2004

RE: [PHP] Making variables with an iteration?

2004-12-06 Thread SCALES, Andrew
I might be wrong but I don't think you can reference variable names in that way. You probably need something like this: for ($j=1, $j5, $j++) { $tempChoice = choice . $j; $$tempChoice = $_POST['choice'.$j]; } And that should create your $choice1.. $choice2 etc. Andy. -Original

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

[PHP] Fatal error on parsedate.c While Building 4.3.9

2004-11-03 Thread Andrew Hauger
I am trying to build PHP 4.3.9 on Solaris 8, and I can't get past the make step. At first I get the following message: bison -y /opt/php/php-4.3.9/ext/standard/parsedate.y M4sugar requires GNU M4. Install it before installing M4sugar or set the M4 environment variable to its path name.*** Signal

Re: [PHP] Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0

2004-10-27 Thread Andrew Hauger
for Sparc. Any help would be appreciated. --- Andrew Hauger [EMAIL PROTECTED] wrote: Thanks Raditha. Unfortunately, I am still having problems. I am new to building extensions, and now my problem is an error during the java extension build process. I got the message : configure.in:65: error

Re: [PHP] Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0

2004-10-22 Thread Andrew Hauger
getting the error. Here's my configuration: OS: Solaris 9 on Sparc PHP: 4.3.10-dev (as of this morning, was 4.3.4) automake: 1.62 autoconf: 2.53 Again, I would appreciate any useful suggestions. --- raditha dissanayake [EMAIL PROTECTED] wrote: Andrew Hauger wrote: Everything compiled okay, and I

[PHP] Trying to Integrate PHP 4.3.4 w/ JDK 1.5.0

2004-10-21 Thread Andrew Hauger
Everything compiled okay, and I think everything is installed in the right places. When I try to run a test program, I get the error: [error] PHP Fatal error: java.lang.UnsatisfiedLinkError: no php_java in java.library.path in /usr/local/apache/htdocs/java_test2.php on line 5 The file

Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-12 Thread Andrew Cowles
can also make an HTTP Post. The best way to do this is by writing a quick HTTP Post function using sockets... you should be able to find an example on this mailing list. If not then I'll happily send you one. Best regards, Andy Andrew Cowles KAPOW! SMS

Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-11 Thread Andrew Cowles
; which means our prices are in pounds... but you can pay using most major credit cards, so it shouldn't be a big problem. There is a good currency converter at http://www.xe.com/ if you need it, or I'm sure our Sales staff will happily give you the current rates. Best regards, Andy Andrew Cowles

Re: [PHP] Best practise for resolving potential conflicts when editing db content?

2004-10-11 Thread Andrew Kreps
On Tue, 12 Oct 2004 02:41:10 +1000, Murray @ PlanetThoughtful [EMAIL PROTECTED] wrote: User A finishes his or her page edit and commits the changes, but the underlying record was already changed by User B's page rename. User A's edit changes overwrite this update in the record in question, and

[PHP] Re: [PHP-INSTALL] Impossibility

2004-10-11 Thread Andrew Kreps
On Mon, 11 Oct 2004 15:20:11 -0400, Scott Hamm [EMAIL PROTECTED] wrote: I know it's impossible, but is there a way php can read something from excel file? If you really believe it's impossible, why ask the question? :) Start with the first link here, and work your way down. Thankfully, you

Re: [PHP] fopen and http://

2004-10-08 Thread Andrew Kreps
On Fri, 8 Oct 2004 08:33:11 -0500 (CDT), Adam Williams [EMAIL PROTECTED] wrote: So now it works except on the very last line it processes, it prints does not exist, so there is still some sort of a hidden character but its not affecting fetching the URLs from the web server. so i'm still

Re: [PHP] Quotes in form textarea fields

2004-10-08 Thread Andrew Kreps
On Fri, 08 Oct 2004 06:22:22 -0700, Sam Smith [EMAIL PROTECTED] wrote: Then from FROM2.php we Submit BACK to FROM1.php and enter it back into the textarea field with: type=textarea, value=? echo $_POST['hidden']); ? I'd like to add that you can also use the following syntax for textarea

Re: [PHP] Need help with a string

2004-10-08 Thread Andrew Kreps
On 8 Oct 2004 17:27:10 -, Tim Van Wassenhove [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Greg Donald wrote: On Fri, 8 Oct 2004 11:38:23 -0500, Brent Clements [EMAIL PROTECTED] wrote: Given the following string: $textString = Share A Dream Come True Parade 3:00 SpectroMagic

Re: [PHP] Page cannot be displayed after form submission

2004-10-07 Thread Andrew Kreps
On Thu, 07 Oct 2004 08:48:01 -0500, Philip Thompson [EMAIL PROTECTED] wrote: However, I get `Page cannot be displayed` error if the page calls itself and has to reload some data but only in IE for Windows. If I hit the `Refresh` button, the page shows up and all the appropriate fields

Re: [PHP] code not working...help?

2004-10-07 Thread Andrew Kreps
On Thu, 7 Oct 2004 14:14:10 -0400, Matthew [EMAIL PROTECTED] wrote: Hi guys im pretty new at this and cant seem to get this going I want the code to query the database for the number of messages posted within the last month this is the code i have but its not working... I might even have it

Re: [PHP] Question about handling credit cards

2004-10-05 Thread Andrew Kreps
On Mon, 4 Oct 2004 14:49:44 -0700, Ed Lazor [EMAIL PROTECTED] wrote: I'm looking at online stores and it seems like a lot of them maintain copies of credit card numbers. Is this true? That seems like a bad thing to me, especially in terms of liability and risk of hackers. On the flip side,

[PHP] Including function libraries

2004-10-02 Thread Andrew W
Ok, I've got a file called functions.lib which contains the following: function checkLoggedIn() { return (true); } function Test ($x) { return ($x * $x); } and a file called test.php which contains the following: ?php include 'functions.lib'; if (checkLoggedIn()) { print

Re: [PHP] php script run by cron job

2004-10-01 Thread Andrew Kreps
On Fri, 01 Oct 2004 08:18:55 +0200, Merlin [EMAIL PROTECTED] wrote: Here is the how I did it: 14 8 * * * root /usr/local/bin/php /home/www/cron/statistics.php Does anybody see an error in this? I'm not familiar with a crontab format that allows you to specify a username as you have

Re: [PHP] How do I make an 'email this page' feature?

2004-09-30 Thread Andrew Kreps
On Thu, 30 Sep 2004 08:33:45 +0100, PHP Tech [EMAIL PROTECTED] wrote: Do you mean that I would have a different ID no. for different pages and pass that variable to the 'email this page' page which will then send the url according to the ID number? If that's what you mean it sounds like a

Re: [PHP] How do I make an 'email this page' feature?

2004-09-29 Thread Andrew Kreps
On Wed, 29 Sep 2004 22:03:07 +0100, PHP Tech [EMAIL PROTECTED] wrote: I thought by clicking the link this would be a form sending the url of the page to the next page and so I could then use $_GET to retrieve this. I also thought of using $_SERVER and getting the referer web address. Then I

Re: [PHP] Loop within Loop help please

2004-09-28 Thread Andrew Kreps
On Tue, 28 Sep 2004 10:45:19 -0700, Jason Davidson [EMAIL PROTECTED] wrote: I see lots of references to modulus, which works fantastic.. but how abut just testing if its equal to 20, then there isnt that extra arthmitc call.. this is just another way to do the same thing.. take your pick..

Re: [PHP] classes in php5

2004-09-28 Thread Andrew Kreps
On Tue, 28 Sep 2004 13:46:27 -0600, Daniel Watrous [EMAIL PROTECTED] wrote: In my efforts to port this over to PHP5 I am having trouble. Not only do I not get back an instance of my Foo class, but the script execution stops entirely without so much as a warning. My first suggestion

Re: [PHP] Loop within Loop help please

2004-09-28 Thread Andrew Kreps
On Tue, 28 Sep 2004 16:22:18 -0300, Eduardo Sampaio [EMAIL PROTECTED] wrote: You missed the $count = 0; right below it Andrew... his code works just like the modulus one... Whoops, my mistake. I write code, really I do. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PHP Failing to open remote files using include/require

2004-09-23 Thread Andrew Kreps
On Thu, 23 Sep 2004 15:04:26 +0100, Mark Cooke [EMAIL PROTECTED] wrote: I have a server hosted by a company running Win2k, they are in charge of the maintainance, and we had a site working fine, then yesterday, it failed to include any files using http:// using: include

Re: [PHP] alternative to mysql_field_name()

2004-09-22 Thread Andrew Kreps
On Tue, 21 Sep 2004 22:01:02 +0100, Luke [EMAIL PROTECTED] wrote: however, i'd like to add more meaningful names as the field name headings in the excel file. can anyone suggest how i can write a list of tab separated headings into $header? If you're talking about hard coding the header,

Re: [PHP] ASP guts needs help.

2004-09-22 Thread Andrew Kreps
On Wed, 22 Sep 2004 00:09:01 -0600, LW Ellis [EMAIL PROTECTED] wrote: I'm new to php, but am familar with ASP. I have this code to open and read a text file. What I need is to take out the 'while' and present the data one line at a time. I read up on fgetcsv, but we will be using one text

Re: [PHP] inserting timestamp into mysql field

2004-09-22 Thread Andrew Kreps
On Wed, 22 Sep 2004 09:29:21 +0100, Chris Dowell [EMAIL PROTECTED] wrote: That's not 100% correct If you have more than one TIMESTAMP field only the first (IIRC) will be filled with the current time - other TIMESTAMP fields will only be filed if you set them = NULL. You're absolutely

Re: [PHP] Does PHP need another mailing list???

2004-09-22 Thread Andrew Kreps
On Wed, 22 Sep 2004 14:13:37 -0700, Ed Lazor [EMAIL PROTECTED] wrote: 2. Add a new FAQ section on what information to collect when troubleshooting PHP related problems and how this information can help you find solutions as quickly as possible - including details on how to discern whether a

Re: [PHP] inserting timestamp into mysql field

2004-09-21 Thread Andrew Kreps
On Tue, 21 Sep 2004 16:25:37 +0100, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i need to insert a current timestamp into a mysql field when a form is posted. can anyone suggest a simple way of doing this? Here's the MySQL answer: If you have a (data type) timestamp field in your table, you

Re: [PHP] Infinate looping

2004-09-19 Thread Andrew Kreps
On Sat, 18 Sep 2004 19:48:37 -0500, Stephen Craton [EMAIL PROTECTED] wrote: Here's what I'm doing in a nutshell: Loop infinitely, checking for changes to a database, flushing the data, sleep, and repeat the loop. It all goes well and I'm getting it to work correctly. However, I'm not sure on

Re: [PHP] PHP and extern link

2004-09-19 Thread Andrew Kreps
On Sun, 19 Sep 2004 01:07:25 +0200, Martin Justra [EMAIL PROTECTED] wrote: Hello, I want to write a script which does the following: You enter http://www.test.com/test.php?number=123456 and the script shows the site

Re: [PHP] sleep() and Max Execution Time

2004-09-18 Thread Andrew Kreps
On Sat, 18 Sep 2004 14:19:55 -0500, Stephen Craton [EMAIL PROTECTED] wrote: I know I can change the default setting in the ini but I might need to span this script on another server where I may not have the power to do that. Whenever I go into a loop, and then go sleep(1) or so, after about 30

Re: [PHP] sleep() and Max Execution Time

2004-09-18 Thread Andrew Kreps
On Sat, 18 Sep 2004 15:19:29 -0500, Stephen Craton [EMAIL PROTECTED] wrote: Thanks, I had a look at this but it doesn't seem that it will solve my issues, since it just adds on the time the script runs but still limits it. Any suggestions? The manual states that if you pass set_time_limit a

[PHP] Re: Query takes terribly long

2004-09-18 Thread Andrew Kreps
On Sat, 18 Sep 2004 22:25:12 +0200, Dirk Schippers [EMAIL PROTECTED] wrote: with indexes: id = primary, putdatetime, userid, {put,front,topcategory,approvedby} and review. If I want to know the 30 most recently added and approved items, I do the following simple query: SELECT id FROM

Re: [PHP] $i++, incrementing by 10's

2004-09-17 Thread Andrew Kreps
On Fri, 17 Sep 2004 14:07:08 +0800, Louie Miranda [EMAIL PROTECTED] wrote: is it possible to increment by 10's? or 20's? i have this piece of code, but it selects from 1 to 1000 and counts by 1's. for($i = 1; $i = 1000; $i++) Yep, just change that last part from $i++ to $i += 10, or 20, or

RE: [PHP] split behaviour differences in perl and php

2004-09-16 Thread Andrew Martinez
its own language. Cheers, Andrew Martinez RubyBay Inc. -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Thursday, September 16, 2004 10:45 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] split behaviour differences in perl and php * Thus wrote Sandip Bhattacharya

Re: [PHP] checking multiple URL parameters

2004-09-16 Thread Andrew Kreps
On Thu, 16 Sep 2004 11:15:13 -0400, Gryffyn, Trevor [EMAIL PROTECTED] wrote: I could have sworn that there was a function that dropped ALL GET values into an associative array. Kind of the inverse of http_build_query. I believe you're thinking of import_request_variables ().

Re: [PHP] checking multiple URL parameters

2004-09-16 Thread Andrew Kreps
On Thu, 16 Sep 2004 12:47:26 -0700 (PDT), Chris Shiflett [EMAIL PROTECTED] wrote: This makes absolutely no sense to me. What do you mean by submitted? How would a PHP script be executed at all if the browser never sends a request? PHP can be run from the command line, in which case the GET

Re: [PHP] checking multiple URL parameters

2004-09-16 Thread Andrew Kreps
On Thu, 16 Sep 2004 16:25:31 -0500, Greg Donald [EMAIL PROTECTED] wrote: On Thu, 16 Sep 2004 13:31:08 -0700, Andrew Kreps [EMAIL PROTECTED] wrote: PHP can be run from the command line, in which case the GET and POST arrays wouldn't exist. $_GET and $_POST exist in CLI php, they are just

Re: [PHP] PHP include before or after Apache SSI?

2004-09-15 Thread Andrew W
On 13 Sep 2004, at 19:11, Ed Lazor wrote: Why use SSI? PHP's include directive allows you to bring separate pages together for creating an overall page. You can include .html files. Also, PHP programming isn't *required* in a file with the php extension. I had wondered about that but I must

Re: [PHP] Re: mysql_connect does not connect

2004-09-14 Thread Andrew Kreps
On Tue, 14 Sep 2004 10:11:24 -0700, Sam Hobbs [EMAIL PROTECTED] wrote: Also, are the warning messages documented? As I asked in my original question, is 10061 an error code? 10061 is a generic winsock error for a timeout, it's not PHP or MySQL specific. It means that the call couldn't connect

[PHP] PHP include before or after Apache SSI?

2004-09-13 Thread Andrew W
In which order do the two execute? I'm trying to work out the best way to integrate PHP backend code with an HTML interface in the cleanest way possible - I don't really want to copy paste the PHP into the HTML because it will make maintaining both the PHP the HTML more complicated. What

[PHP] Use of date(), and therefore time(), in the PEAR Date class

2004-09-10 Thread Andrew Hill
actually get the correct time! Can anyone please suggest what might be causing date()/time() to (sometimes) return an incorrect time inside the Date class? Cheers, -- Andrew Hill Developer Awarez Ltd. Kirkman House, 12-14 Whitfield Street, London W1T 2RF T: +44 (0)20 7299 7370 F: +44 (0)20 7299 7374

Re: [PHP] Totaling sales by month

2004-09-10 Thread Andrew Kreps
This one worked for me, on MySQL 3.23.xx. I hope it's closer to what you need. select sum(ordersubtotal), date_format(orderdate, '%Y-%m') as odate from orders group by odate On Fri, 10 Sep 2004 15:01:34 -0700, Brian Dunning [EMAIL PROTECTED] wrote: I have a MySQL db with a datetime field

Re: [PHP] Simultaneus execution

2004-08-29 Thread Andrew
An example would be the execution of a function. Let's say that I can't execute one same function twice, but how can I execute it again, before the first execution has completed? Regards, Andrew Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday 29 August 2004 09:56

Re: Re[2]: [PHP] Simultaneus execution

2004-08-29 Thread Andrew
do is similar to opening, for example, 500 browser windows and load one same page. Any ideas are welcome. Regards, Andrew Eugene [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Maybe you can use classes in this case? I'm using them when I need to process the same object or to assign

Re: [PHP] Simultaneus execution

2004-08-29 Thread Andrew
That was exactly what I thought, but I was thinking of some internal method, that would do the same thing as socket_set_noblock() for the process of execution. Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Andrew wrote: Now look - I want to make a test/debug engine

[PHP] Simultaneus execution

2004-08-28 Thread Andrew
Hello guys, Do anyone have an idea how to execute 2 different functions in the same moment, no matter if they're system or custom ones. For example, how can I execute 2 different loops simultaneously? -- Regards, Andrew [EMAIL PROTECTED] -- PHP

Re: [PHP] Cannot compile

2004-08-03 Thread Andrew W
I'm using Linux. It doesn't work regardless of whether I include any options or not. On 2 Aug 2004, at 04:14, Support wrote: Sounds like configure did not work ok after all. :-) Did you include any options? What os? Any clues you could offer would help. -- PHP General Mailing List

[PHP] Cannot compile

2004-08-01 Thread Andrew W
I've compiled installed software from source before but PHP 5 is proving a challenge. I've decompressed the tarball and cd into the directory. Run ./configure which seems to work ok but then when I do make I get the following error: No targets specified and no makefile found Sure enough

[PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Andrew Reilly
New to the list, thanks in advance. I have created a form that lists the possible sponsorships of various events. I need to keep the names of the checkbox to identify the specific event, but the value is a dollar amount that needs to pass thru to the checkout area function. Without creating

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Andrew Reilly
Example of form: td height=52 align=left valign=middleinput type=checkbox name=wbc_Money value=$5000 Power of Money Series ($5000) img src=images/sold_Out.gif border=0Power of Politics ($3500)br input type=checkbox name=wbc_Wine value=$1000 Power of Wine nbsp;nbsp; input

RE: [PHP] Need to maintain the integrity of the checkbox

2004-07-29 Thread Andrew Reilly
So the ?=$_POST['wbc_Event']? would go in the value or name field of the checkbox? -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 10:01 AM To: Andrew Reilly; [EMAIL PROTECTED] Subject: RE: [PHP] Need to maintain the integrity

[PHP] Getting the primary key from a MySQL insert

2004-07-16 Thread Andrew Wood
If the primary key in a MySQL DB is an autoincrementing integer, is there anyway of automatically getting it back when I do an insert in PHP. In other words taking the status returned by mysql_query and extracting the PK of the record we just entered? -- PHP General Mailing List

Re: [PHP] Getting the primary key from a MySQL insert

2004-07-16 Thread Andrew Wood
Thanks. When it says 'the last insert' is that just the last insert my PHP script did, or the last insert on the DB as a whole? On 16 Jul 2004, at 11:40, [EMAIL PROTECTED] wrote: If the primary key in a MySQL DB is an autoincrementing integer, is there anyway of automatically getting it back

[PHP] Storing text with carriage returns in MySQL

2004-07-15 Thread Andrew Wood
I'm trying to use PHP to read text from an HTML textarea form field and store in in MySQL using the longtext data type but it's cutting off everything after the first carriage return. I suspect I need to iterate through the text looking for CRs then do something? But I don't know what. Can

Re: [PHP] Storing text with carriage returns in MySQL

2004-07-15 Thread Andrew Wood
That only seems to work for quotation marks and apostrophes etc. Not carriage returns? Unless I'm missing something. On 15 Jul 2004, at 20:23, Vail, Warren wrote: http://www.php.net/manual/en/function.addslashes.php Warren Vail -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Storing text with carriage returns in MySQL

2004-07-15 Thread Andrew Wood
Umm this is very weird - I've checked the database and the string is only stored upto the first carriage return everything else appears to be missing, BUT, when I display it in the webpage (using stripslashes()) the entire original message is intact - but on a single line!!! :S On 15 Jul

Re: [PHP] Storing text with carriage returns in MySQL

2004-07-15 Thread Andrew Wood
access to the database? Could it be that your string is being stored OK, and the problem is on the retrieval end? Warren Vail -Original Message- From: Andrew Wood [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 1:22 PM To: php-gen Subject: Re: [PHP] Storing text with carriage

Re: [PHP] call_user_func and call-time pass-by-reference

2004-07-08 Thread Andrew S. Nagy
Great, i must have done something wrong, it works for me now. Thanks for all your help :) Andrew Tom Rogers wrote: Hi, Thursday, July 8, 2004, 3:38:41 AM, you wrote: AN Hmm ... this still echos 0 and not 1. I am using 4.3.7 with all AN warnings on. AN Does anyone know how to use this function

Re: [PHP] call_user_func and call-time pass-by-reference

2004-07-07 Thread Andrew Nagy
on. Does anyone know how to use this function or anything similiar with passing by refernce. Since the call-time pass by reference is deprecated, this practice is no longer valid, but there must be a work around? Thanks for any assistance Andrew -- PHP General Mailing List (http://www.php.net

Re: [PHP] call_user_func and call-time pass-by-reference

2004-07-07 Thread Andrew Nagy
Curt Zirzow wrote: * Thus wrote Andrew Nagy: How do you use the call_user_func function with call-time pass-by-reference deprecation? For example: function fun($arg) { $arg++; } $var = 0; call_user_func(fun, $var); echo $var; //echoes 0 instead of 1 $func_call = 'fun'; $func_call($var); Curt

[PHP] Socket Tutorial

2004-07-05 Thread Andrew
Hi guys, Can somebody provide a good PHP Socket Programming tutorial. I'm working on a chat server application. The client is XMLsocket based Flash movie. Thanks, Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] call_user_func and call-time pass-by-reference

2004-07-02 Thread Andrew Nagy
with this! Andrew Nagy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] call_user_func and call-time pass-by-reference

2004-07-02 Thread Andrew Nagy
of call_user_func() ... how would i do this? Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] flock(), fclose() and O/S buffering

2004-07-01 Thread Andrew Hill
and output process, it would be necessary to use a separate lockfile, which is opened and locked *before* the file to be written to is opened, written, and then closed, after which the lock on the lockfile can be released. Can anyone please confirm that this is the case? Thanks, -- Andrew Hill [EMAIL

Re: [PHP] Ld error

2004-06-18 Thread Andrew Hauger
I found this thread in a php news archive. I am fairly new to compiling php on a Unix system, and I am having the same problem described in this thread. I am trying to compile php 4.3.4 on a Solaris 9 system. I have fixed my path, and I do not have GNU sed installed on the system. I am still

Re: [PHP] Session variables not working

2004-05-15 Thread Andrew Wood
:48, Andrew Wood wrote: I'm trying to set the following two vars on one page then read their values on another like this: page1.php... ob_start(); session_start(); $_SESSION['member_id'] = $member_id; $_SESSION['password'] = $password; ob_end_flush(); Where are $member_id and $password coming

[PHP] Session variables not working

2004-05-14 Thread Andrew Wood
I'm trying to set the following two vars on one page then read their values on another like this: page1.php... ob_start(); session_start(); $_SESSION['member_id'] = $member_id; $_SESSION['password'] = $password; ob_end_flush(); page2.php... ob_start(); session_start(); $member_id =

Re: [PHP] Session variables not working

2004-05-14 Thread Andrew Wood
Using a cookie which is shown in my browser as PHPSESSID Yes they're on the same domain but no there's nothing being passed accross the URL. Should there be? AW On 14 May 2004, at 21:59, John W. Holmes wrote: - Original Message - From: Andrew Wood [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] Session variables not working

2004-05-14 Thread Andrew Wood
Either typing the URL directly or by using a hyperlink. On 14 May 2004, at 22:09, John W. Holmes wrote: From: Andrew Wood [EMAIL PROTECTED] Using a cookie which is shown in my browser as PHPSESSID Yes they're on the same domain but no there's nothing being passed accross the URL. Should

[PHP] question

2004-04-22 Thread Johnson, Andrew William
I've now installed apache and php, however I'm experiencing the following problem when I try to run test.php file:- I get prompted with a dialogue box asking if I would like to download the file, any ideas on why this is happening, once this is fixed I think I'll have everything

[PHP] Whats faster? text files or mysql?

2004-04-20 Thread Andrew Fenn
I have two text files with two rows of data on each line sperated by a tab for about 20 lines in each file. Would it be faster accessing this data by putting it in a mysql table? - Yahoo! Messenger - Communicate instantly...Ping your friends

[PHP] mktime error

2004-04-05 Thread Andrew
answer me. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Download link not working in PHP 4.3.4

2004-03-31 Thread Andrew Hauger
wrote Andrew Hauger ([EMAIL PROTECTED]): the file name. When the OK button is clicked, an error dialog pops up with the message Internet Explorer cannot download ... [snipped URL]. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot

[PHP] File Download link not working in PHP 4.3.4

2004-03-30 Thread Andrew Hauger
I have a script that dynamically generates a CSV file for downloading to MS Excel. The script works fine in PHP 4.3.3 on a Windows machine using Apache 2, and the exact same script does not work in PHP 4.3.4 on Solaris 9 using Apache 1.3.29. A script with essentially the same header commands works

[PHP] Re: $$$wanna make real money$$$..you will no longer need student loans

2004-03-29 Thread Andrew Fenn
This is a scam. It’s called a pyramid scheme where the money keeps going all the way up to the guy who started it. Sure that guy might actually be making money (very unlikely if he’s desperate enough to post on here) but because you’re at the bottom of the pyramid you get squat. This type of

[PHP] PHP Servlet Crashes

2004-02-20 Thread Andrew
(HttpServlet.java:856) - Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Serious PHP5b4 speed issues

2004-02-19 Thread Andrew Lee Paul
... Thank you in advance. Andrew Results with PHP5 module loaded snip Concurrency Level: 10 Time taken for tests: 236.372 seconds Complete requests: 1000 Failed requests:0 Broken pipe errors: 0 Total transferred: 12732000 bytes HTML transferred: 12514000 bytes

Re: [PHP] Serious PHP5b4 speed issues

2004-02-19 Thread Andrew Lee Paul
productive with another version. If you better describe the functionality of your pages i think you will be more likely to recieve a better answer (from me or someone better qualified). best regards. Andrew Lee Paul wrote: Hello all I have recently installed PHP 5.0 Beta 4 on my

[PHP] Warning: main(): Failed opening '' for inclusion (include_path='.:/usr/lib/php')

2004-02-18 Thread Andrew Judge
, functions and footer are all okay, the content.php is where the error is. Does anyone know from the info above what is causing this? Any help appreciated. Best regards, Andrew Judge -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PowerPoint to html converter, server-side

2004-02-16 Thread Andrew Warner
I'm looking for a PowerPoint to html/slides converter that can work server-side and on Linux. Does such a thing exist? Most of the converters I've come across are desktop apps. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] bar code scaning in intranet ap

2004-02-12 Thread Andrew Séguin
links off the top of my head to help you get a better foundation in this, but google must have plenty ;) To visit a company that works in bar code equipement, find Intermec's website. HTH, Andrew Hi, I would like to make an application for DVD,VHS rental with PHP,MySQL, but I don't know how

[PHP] ODBC connection..

2004-02-10 Thread Andrew Kwiczola
Heya, I was wondering if its possible to create a odbc connection with php, using a User DSN.. (not a system DSN)? Everytime I try to connect with this code.. $connect = odbc_connect(userdsnhere, user, password) or die(odbc_errormsg());; I get... [Microsoft][ODBC Driver Manager]

Re: [PHP] Revised: RE: [PHP] Re: Can I do this?

2004-02-08 Thread Andrew Séguin
request variables are being used within the script. A test to confirm that, is to point the browser to the address being included. See the source? vulnerable. See the results? not vulnerable. HTH, Andrew On Sun, 2004-02-08 at 04:14, PHP Email List wrote: Ok so on this topic, I do something similar

[PHP] Can't delete cookies

2004-02-01 Thread Andrew Wood
(hhubpassword, md5($newpassword) , time() + 1209600, /xchange/); And this is how I'm trying to delete it: setcookie (hhubpassword, , time() -3600, /xchange/); Thanks Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Deleting cookies won't work

2004-01-29 Thread Andrew Wood
(hhubpassword, md5($newpassword) , time() + 1209600, /xchange/); And this is how I'm trying to delete it: setcookie (hhubpassword, , time() -3600, /xchange/); Thanks Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] .htaccess problem

2004-01-01 Thread Andrew Séguin
different, the browser will ask for the user name and password again. Hope that helps, Andrew Hi, I dont know if this is really a PHP problem but am wondering if I can perhaps use php to solve this problem... I dont know if this is just a problem on my server or if you have noticed this too

RE: [PHP] How do I protect downloadable files?

2003-12-30 Thread Andrew Séguin
of any reason for it to fail on mac (unless the original download would fail as well ;) ). Hope it helps, Andrew Time for them to upgrade to OSX... I've not tried to crack that nut. Is there anyone here who has successfully managed headers for Mac users? It's hard to believe it hasn't been

Re: [PHP] How do I protect downloadable files?

2003-12-30 Thread Andrew Séguin
Quite true. I typed away from memory my sample headers, the actual script was done about 3 months ago and is on a protected intranet server I don't have access to quite at the moment ;). My apologies for the mistake, Thank you for pointing that out :) Andrew. In a message dated 12/30/2003 9

[PHP] reading excell and writing to text file..

2003-12-22 Thread Andrew Kwiczola
I was wondering a good place I could get started on reading excel spreadsheets in PHP ive seen a couple of things out there that will take data from the web and transform it into a .xls file. I was wondering if I could take a XLS file with php and read it, and rip out certain data from it :-) but

Re: [PHP] php special permissions

2003-12-18 Thread Andrew Brampton
, and the change happening. In some situations this is acceptable. Andrew - Original Message - From: Mat Harris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 18, 2003 12:24 PM Subject: [PHP] php special permissions Hi, I am building a web interface to the vacation

RE: [PHP] date conversion

2003-12-10 Thread Andrew Wilson
SCRIPT language=JavaScript !-- Hide the script // // This is a y2k compliant script which prints the system date to the screen, // // You may use this script in your website provided that this notice remains at the top //

[PHP] read session data without starting session

2003-11-26 Thread Andrew Warner
I have a script that browses a sessions table and extracts and displays the session values for display. The function below (I don't remember where I got it) extracts session data without starting a session, but it doesn't handle session values that are arrays. Anyone have something like this

[PHP] php cgi configuration w/ htaccess

2003-10-20 Thread Andrew Warner
My ISP hosted website uses the php apache module version, but I'm trying to use php cgi version for the part of my site edit application that actually creates and edits files on the site. This will avoid all the permision and chmod hassle when php tries to create and edit files. My ISP has

[PHP] SQL Query OT question for the experts :)

2003-10-17 Thread Andrew Brampton
, but since I'm not being paid to fix this problem, and the client caused it himself I thought I'll take the easier option of using SQL before I wrote some code out of kindness... Thanks very much Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Installation Problems

2003-10-10 Thread Andrew Woolley
-Original Message- From: Mehdi Achour [mailto:[EMAIL PROTECTED] Sent: 10 October 2003 12:28 To: Andrew R. Woolley Cc: [EMAIL PROTECTED] Subject: Re: PHP Installation Problems Hi Andrew, Please ask support questions at [EMAIL PROTECTED] didou I use php a lot myself but have only

RE: [PHP] email certain people

2003-10-09 Thread Andrew Whyte
with it... I'll leave the email sending as an exercise for the reader, there are ample good examples on php.net's doco about this. Cheers, Andrew -- Andrew WhytePh: +61 7 4930 9838 Corporate Systems Administrator Fx: +61 7 4930 9254 Information Technology Division

<    4   5   6   7   8   9   10   11   12   13   >