[PHP] Re: SQL Hell

2004-04-21 Thread Marc Greenstock
> Alternatively, use a better database :) > Firebird has had Triggers and Stored Procedures from the start. Using > these with PHP gives the power needed to update cross references without > having to build complex PHP code. > http://www.firebirdsql.org/ I just downloaded and installed fire bird,

[PHP] Altering Content-Type with CURL

2004-04-21 Thread Monty
I need the Content-Type header for a CURL POST to be this: Content-Type: text/comma-separated-values instead of the default "application/x-www-form-urlencoded" that is set by the CURLOPT_POST parameter set with curl_setopt(). How is this done? Monty -- PHP General Mailing List (http://www.

[PHP] Re: SQL Hell

2004-04-21 Thread Red Wingate
Guess some guys don't get the point of this posting or have no idea what foreign keys are about. This problem can easily be solved using JOINs -- red Lester Caine wrote: Jason Barnett wrote: So far I've made multiple statements pulling out all the data and using PHP to formulate the informatio

[PHP] Session not working while accessing through IE on Windows 2000

2004-04-21 Thread Sheni R. Meledath
Hello: We have set up a login page using sessions in PHP. Its working fine. The server is a FreeBSD/Apache/PHP 4. While accessing this page from IE 6 on Windows 2000, the sessions are not working and they are getting the login page again & again. Are there any known issues of PHP using session

Re: [PHP] slow upload with http post

2004-04-21 Thread Yavuz Maslak
sysctl -a | grep '^hw' hw.machine: i386 hw.model: Intel(R) Xeon(TM) CPU 2.80GHz hw.ncpu: 1 hw.byteorder: 1234 hw.physmem: 2142687232 hw.usermem: 1884921856 hw.pagesize: 4096 hw.floatingpoint: 1 hw.machine_arch: i386 hw.aac.iosize_max: 65536 hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0 hw.ata.atapi

[PHP] phpedit

2004-04-21 Thread Andy B
i know this isnt quite php exactly but anybody thats ever installed phpedit before remember how long it took to install on windows?? seems like mine is taking about 6 hours to install for some strange reason... its either massive huge or my computer is super slow for some reason... -- PHP Genera

[PHP] Re: SQL Hell

2004-04-21 Thread Lester Caine
Jason Barnett wrote: So far I've made multiple statements pulling out all the data and using PHP to formulate the information. But I know there is a better way using mysql. Only thing is I haven't got the faintest idea how to do it in one query and keep overheads low. I start to get lost when I

Re: [PHP] SQL Hell

2004-04-21 Thread Curt Zirzow
* Thus wrote Marc Greenstock ([EMAIL PROTECTED]): > Hi all, > > Wondering if someone could help me with an sql statement > > MySQL version 4.0.18 > > I have three tables: > 1. visitor_data (Visitor_ID, IP Address) > 2. visit_data (Visit_ID, Visitor_ID) > 3. page_data (Page_ID, Visit_

Re: [PHP] umask wierdness

2004-04-21 Thread Curt Zirzow
* Thus wrote Bret Hughes ([EMAIL PROTECTED]): > I have found a funky situation that I am trying to figure out if it is > bug or not: > > I see this behavior on both redhat 9 and fedora running > > php 4.3.4 > httpd(apache) 2.0.48 > > calling umask(0002) in a script leaves the httpd process wit

[PHP] Re: SQL Hell

2004-04-21 Thread Jason Barnett
So far I've made multiple statements pulling out all the data and using PHP to formulate the information. But I know there is a better way using mysql. Only thing is I haven't got the faintest idea how to do it in one query and keep overheads low. I start to get lost when I'm doing select statement

[PHP] SQL Hell

2004-04-21 Thread Marc Greenstock
Hi all, Wondering if someone could help me with an sql statement MySQL version 4.0.18 I have three tables: 1. visitor_data (Visitor_ID, IP Address) 2. visit_data (Visit_ID, Visitor_ID) 3. page_data (Page_ID, Visit_ID, Visitor_ID, URI) If you look closely you can see the relationship

[PHP] umask wierdness

2004-04-21 Thread Bret Hughes
I have found a funky situation that I am trying to figure out if it is bug or not: I see this behavior on both redhat 9 and fedora running php 4.3.4 httpd(apache) 2.0.48 calling umask(0002) in a script leaves the httpd process with a umask of 2 after exit so that the next process to hit that p

Re: [PHP] Problems with patterns

2004-04-21 Thread Phpu
where in the ereg("^[a-zA-Z0-9_]{3,15}$", $cuvant) i should place \s+ ? - Original Message - From: "Matt Matijevich" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 3:34 AM Subject: Re: [PHP] Problems with patterns > you need to account fi

Re: [PHP] Re: objects in sessions again

2004-04-21 Thread Jason Barnett
Yes thats fine, there is a DB and auth and template class i instance globally, these are across pages aswell should i do the same ?? I dont wont to go overboard and slow the system down, I'd really want to make it scalable. These dont store any data as such though like the rest. The others i instan

[PHP] Re: includes and classes

2004-04-21 Thread Jason Barnett
Dubreuilmedia wrote: Hi I was wondering about includes and classes. I have a class in which depending on a member variable, i should load the proper include, which is really the proper config file for that moment. How does a member variable control this? E.g. you set the member variable in the

Re: [PHP] Re: objects in sessions again

2004-04-21 Thread daniel
> > If your goal is to store certain objects in sessions and some not, then > this should be fine. Just be sure that you intend to have only one > instance of the objects you want to serialize, or hell can still break > loose :) > Yes thats fine, there is a DB and auth and template class i inst

[PHP] Re: objects in sessions again

2004-04-21 Thread Jason Barnett
[EMAIL PROTECTED] wrote: Hi there, needing some more advise, is this function correct ? function create_object($class_name,$dir = null, $serialize = null) { $dir ? $dir = $dir."/" : $dir = ""; require_once("".CLASS_PATH.$dir.$class_name.".php

[PHP] includes and classes

2004-04-21 Thread dubreuilmedia
Hi I was wondering about includes and classes. I have a class in which depending on a member variable, i should load the proper include, which is really the proper config file for that moment. Now if i do this in the constructor i can't seem to be able to use the variables found in my config in th

[PHP] objects in sessions again

2004-04-21 Thread daniel
Hi there, needing some more advise, is this function correct ? function create_object($class_name,$dir = null, $serialize = null) { $dir ? $dir = $dir."/" : $dir = ""; require_once("".CLASS_PATH.$dir.$class_name.".php");

[PHP] Re: Problems with patterns

2004-04-21 Thread Jason Barnett
What kinds of phrases are you looking for? If you want to know whether an *exact* phrase is going to appear in a block of text, just use strstr() or strpos(), they tend to be faster than regexes anyway. http://www.php.net/strpos function valid_phrase ($phrase, $search = 'text to search for') {

Re: [PHP] Problems with patterns

2004-04-21 Thread Matt Matijevich
you need to account fir white space if you want phrases \s+ I would switch to preg_match() instead of ereg() http://www.php.net/manual/en/function.preg-match.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems with patterns

2004-04-21 Thread Phpu
Hi, i have a script that searches a database after a specific word. this function check the entered word function valid_word($word) { if(ereg("^[a-zA-Z0-9_]{3,15}$", $word)) { return true; } else { return false; } } If i search for a word is ok but when i searches for a phra

[PHP] Problems with patters

2004-04-21 Thread Phpu
Hi, i have a script that searches a database after a specific word. this function check the entered word function valid_word($word) { if(ereg("^[a-zA-Z0-9_]{3,15}$", $word)) { return true; } else { return false; } } If i search for a word is ok but when i searches for a phra

Re: [PHP] Problem installing CURL for phpMySearch

2004-04-21 Thread Curt Zirzow
* Thus wrote KidLat Ngayon ([EMAIL PROTECTED]): > Subject: Problem installing CURL for phpMySearch > To: [EMAIL PROTECTED] > > Greetings!!! > > I hope that there would be someone could help me in > installing CURL Version 7.11.0 for PHP Version 4.3.2. > > I've already configure the CURL in PHP

[PHP] Re: SQL like processing on array of keyed arrays ?

2004-04-21 Thread Jason Barnett
Richard A. Devenezia wrote: Suppose I don't have access to a database server. I have any indexed array of like keyed arrays, essentially mimicing a database table. Are there any libraries or functions that I can use to 'query' the array in a SQL like manner ? e.g. $data = array (array(a=>1,b=>2,c

[PHP] Re: eval() question

2004-04-21 Thread Jason Barnett
Orangehairedboy wrote: I would like to use eval() to evaluate another PHP file and store the output of that file in a string. Personally, I try to avoid using eval(). It can be very useful, but there are also potential security issues depending on your setup. Based on what you said in another

[PHP] SOAP function call

2004-04-21 Thread Craig Gardner
I'm trying to create a simple (I think) SOAP function that checks whether or not a file was uploaded to a server. I have everything set up, but when I try to use the function I get an array disguised as an object. The function I've created should return either TRUE or FALSE and I can't find e

[PHP] WAP Push

2004-04-21 Thread Catalin Trifu
Hi, Has anyone worked with Simplewire SMS SDK ? If yes, is it possible to send WAP push messages with it and if yes how. If anyone has any info about some PHP + WAP push combination i would be very grateful. Thank you, Catalin P.S. I've googled for it -- PHP General Ma

Re: [PHP] php t1lib windows

2004-04-21 Thread Ray Hunter
On Wed, 2004-04-21 at 14:50, Nikola Novakovic wrote: > Hi everybody, > > I run Appache/PHP (latest or near the latest versions) on Windows 2000. > > This was installed by pre-configured package WAMP5 (I'm the beginner), and it works > fine, except I don't know how to obtain support for T1LIB li

[PHP] php t1lib windows

2004-04-21 Thread Nikola Novakovic
Hi everybody, I run Appache/PHP (latest or near the latest versions) on Windows 2000. This was installed by pre-configured package WAMP5 (I'm the beginner), and it works fine, except I don't know how to obtain support for T1LIB library that is required for some graphics functions. I read all

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread Lester Caine
Gabe wrote: It sort of did. It may have corrected that error, but now I get a new error: Warning: odbc_exec(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query., SQL state S1000 in SQLExecDirect in d:\adodb\drivers\adodb-odbc.inc.php on line 504 S100

[PHP] Need help with loading and displaying PDF files

2004-04-21 Thread Gord Busse
Greetings, I have an archive of PDF documents that are stored in a non web accessible directory. I wrote a small script that will load a PDF document from this directory, dump it to the browser and display it in the Acrobat Plug-in. This works ok. Where the problem lies is in the naming of the PD

[PHP] Memory-Size of Objects

2004-04-21 Thread Thomas Weber
Hi, does anybody know a way to get the memory-size of an object? I'm triing to seek some memory-leaks in a php-daemon-program wich cannot be reproduced easily to track them down, so i thought to monitor the size of the objects while running in a production-enviroment. Thanks! Thomas 'Neo' Weber

[PHP] Re: objects in a session

2004-04-21 Thread Justin Patrin
Electroteque wrote: Hi there going back to the discussions of objects in a session. I would like to know what are the benifits of this, and in what scenarios would it be used. I have an application I am trying to make scalable if possible, it uses a sub class to a phplayers menu class which parses

[PHP] Re: Trouble with thumbnail generation using GD

2004-04-21 Thread Justin Patrin
Haddad Said wrote: Hi, i was trying to create thumbnail using a tutorial on image galleries, I am having problems creating thumbnail images using GD. The thumbnail is created with the sizes prorerly, however the image is black. I have posted a temporary php file i created to investigate the proble

Re: [PHP] slow upload with http post

2004-04-21 Thread Don Read
On 21-Apr-2004 Yavuz Maºlak wrote: > full duplex What's the output of: mount and sysctl -a | grep '^hw' ? -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do

Re: [PHP] Making an app unviewable during system maintainance

2004-04-21 Thread Michal Migurski
> > Good point, though if this is a concern, the OP will probably use the > > built-in enforcement of referential integrity and transaction support > > of whatever database they are running. > > If a single database is spread over files A, B, and C, then in the time > it took for a naive backup to

[PHP] File upload problem

2004-04-21 Thread William Merrick
Hi, I have two php pages that upload files to a mysql db. I do not know how to change this code to accept more than plain text files. Specifically, I would like to accept .doc and .xls files. Can anyone help? Thanks...Will This is my upload form Upload a New File Upload this file:

Re: [PHP] Whats faster? text files or mysql?

2004-04-21 Thread John Nichel
William Lovaton wrote: El mar, 20-04-2004 a las 08:24, John Nichel escribió: Jay Blanchard wrote: There is always awk! Aw, no votes for cat | grep? ;) No, that would be worse since the system needs to spawn a new process and this is slow too. Specially on a high loaded system. If you are

RE: [PHP] Making an app unviewable during system maintainance

2004-04-21 Thread Chris W. Parker
Travis Low on Tuesday, April 20, 2004 10:02 PM said: > Michal Migurski wrote: [snip] >> Good point, though if this is a concern, the OP will probably use the >> built-in enforcement of referential integrity and transaction >> support of whatever database they are r

Re: [PHP] Re: Form Data Transfer b/w Pages

2004-04-21 Thread Daniel Clark
I agree. $_GET[] would expose the username and password on the URL. > For ease of use, i would create a session and handle it that way or you > could pass it through $_GET[] > Query string. > Would recommend $_SESSION though. > Cheers > > "Sobajo" <[EMAIL PROTECTED]> wrote in message > news:[EMA

Re: [PHP] Whats faster? text files or mysql?

2004-04-21 Thread William Lovaton
El mar, 20-04-2004 a las 08:24, John Nichel escribió: > Jay Blanchard wrote: > > > > There is always awk! > > > > Aw, no votes for cat | grep? ;) No, that would be worse since the system needs to spawn a new process and this is slow too. Specially on a high loaded system. If you are conc

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread Gabe
Thanks Dave. It's working now. I searched many different places for an answer and yet for whatever reason, I just didn't check Google. We're all allowed a few brain mishaps, right? :-) Thanks again. David O'Brien wrote: After googling the error message for you, I found about a zillion pag

[PHP] Re: adding -'s to a numeric string

2004-04-21 Thread Craig
Something like this would work: = "Adam Williams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I have a form where I have a user entering in the date in a numeric > string. For today they would enter 04212004 and so on...I'm working on > this date within

[PHP] Re: Form Data Transfer b/w Pages

2004-04-21 Thread Craig
For ease of use, i would create a session and handle it that way or you could pass it through $_GET[] Query string. Would recommend $_SESSION though. Cheers "Sobajo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Two forms (form1 and form2 submit to the same controller.php file. The

RE: [PHP] Whats faster? text files or mysql?

2004-04-21 Thread William Lovaton
Hi Jay, El mar, 20-04-2004 a las 07:52, Jay Blanchard escribió: > [snip] > 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? > [/snip] > > Sounds like the perfect o

[PHP] Form Data Transfer b/w Pages

2004-04-21 Thread Sobajo
Two forms (form1 and form2 submit to the same controller.php file. The controller redirects the page depending on the value of hidden value 'page'. I want form data 'username' and 'password' to be available on both redirected pages (staff.php and customer.php). How do I accomplish this?

Re: [PHP] slow upload with http post

2004-04-21 Thread William Lovaton
Mmmm... do you have another test box? How much time does it take using, let's say, ftp or samba?? -William El mi? 21-04-2004 a las 00:57, Yavuz Maşlak escribió: > full duplex > - Original Message - > From: "William Lovaton" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday

[PHP] adding -'s to a numeric string

2004-04-21 Thread Adam Williams
Hi, I have a form where I have a user entering in the date in a numeric string. For today they would enter 04212004 and so on...I'm working on this date within mysql server, and mssql server handles dates as 04-21-2004 when you use convert(varchar,field,110). So how in PHP can I change a vari

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread David O'Brien
After googling the error message for you, I found about a zillion pages which all basically say the same thing. http://support.microsoft.com/default.aspx?scid=kb;en-us;Q175168 -Dave At 11:01 AM 4/21/2004, Gabe wrote: Here's another version of the SQL statement and I get a different error now. W

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread David O'Brien
At 11:01 AM 4/21/2004, you wrote: Here's another version of the SQL statement and I get a different error now. When I copy and paste this exact same SQL statement into an update query in Access it works fine. When I try to use it in my PHP code, I get the following error: SQL Statement: UPDATE t

Re: [PHP] Using dBase.

2004-04-21 Thread Curt Zirzow
* Thus wrote Jason Wong ([EMAIL PROTECTED]): > On Wednesday 21 April 2004 14:07, Barry Stokes wrote: > > > I didn't restart the webserver as I have not changed the config. > > --enable-dbase was built in the first time around. > > > > phpinfo shows --enable-dbase as a config option, and also in th

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread Gabe
Here's another version of the SQL statement and I get a different error now. When I copy and paste this exact same SQL statement into an update query in Access it works fine. When I try to use it in my PHP code, I get the following error: SQL Statement: UPDATE tblFAQ_Book SET fldTitle = 'one mor

[PHP] SQL like processing on array of keyed arrays ?

2004-04-21 Thread Richard A. DeVenezia
Suppose I don't have access to a database server. I have any indexed array of like keyed arrays, essentially mimicing a database table. Are there any libraries or functions that I can use to 'query' the array in a SQL like manner ? e.g. $data = array (array(a=>1,b=>2,c=>3) ,array(a=>2,b=>3,c=>4)

Re: [PHP] eval() question

2004-04-21 Thread OrangeHairedBoy
Thanks Michael & Marek! It worked! :) "Michael Sims" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > >> OrangeHairedBoy wrote: > >>> I would like to use eval() to evaluate another PHP file and store > >>> the output of that file in a string. > >> > >> You could use output buffering

RE: [PHP] eval() question

2004-04-21 Thread Michael Sims
>> OrangeHairedBoy wrote: >>> I would like to use eval() to evaluate another PHP file and store >>> the output of that file in a string. >> >> You could use output buffering to do this a bit more easily, I think: >> >> ob_start(); >> include('colors.php'); >> $colors = ob_get_contents(); >> ob_end_

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread Gabe
It sort of did. It may have corrected that error, but now I get a new error: Warning: odbc_exec(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query., SQL state S1000 in SQLExecDirect in d:\adodb\drivers\adodb-odbc.inc.php on line 504 S1000: [Microsoft

Re: [PHP] eval() question

2004-04-21 Thread OrangeHairedBoy
Marek, OK...that worked...kinda, but it doesn't pass the output to $colors. It echos it. I need the output to be passed to $colors. Lewis "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > OrangeHairedBoy wrote: > > I would like to use eval() to evaluate another PHP

Re: [PHP] eval() question

2004-04-21 Thread Marek Kilimajer
OrangeHairedBoy wrote: I would like to use eval() to evaluate another PHP file and store the output of that file in a string. So, let's say, for example, that I have a file called colors.php which contains this: Colors: Then, in another file, I have this: $file = file_get_contents( "colors.php"

RE: [PHP] A good search tutorial

2004-04-21 Thread Brian Paulson
There is a good search engine tutorial at devshed - http://www.devshed.com/c/a/PHP/Quick-and-Dirty-Search-Engine-with-PHP-and-My SQL/ I use it for a few searches on our site and it works well. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] www.chieftain.com 1-800-279-6397 x 207 -

Re: [PHP] eval() question

2004-04-21 Thread OrangeHairedBoy
While that is an awesome idea, I don't think it will work for me. There's two reasons why. First, colors.php is actually stored in a MySQL server. Second, before the PHP code inside colors.php I want to be able to replace data inside that file. For example: $file = str_replace( "Green" , "Orange

RE: [PHP] eval() question

2004-04-21 Thread Michael Sims
OrangeHairedBoy wrote: > I would like to use eval() to evaluate another PHP file and store the > output of that file in a string. You could use output buffering to do this a bit more easily, I think: ob_start(); include('colors.php'); $colors = ob_get_contents(); ob_end_clean(); -- PHP General

[PHP] eval() question

2004-04-21 Thread OrangeHairedBoy
I would like to use eval() to evaluate another PHP file and store the output of that file in a string. So, let's say, for example, that I have a file called colors.php which contains this: Colors: Then, in another file, I have this: $file = file_get_contents( "colors.php" ); $colors = eval( $f

Re: [PHP] A good search tutorial

2004-04-21 Thread -{ Rene Brehmer }-
According to historical records, on Wed, 21 Apr 2004 12:28:27 +0300 Phpu wrote about "[PHP] A good search tutorial ": >Hi there >I have a site driven by a database and I need a search engine...when someone enter a >word the script to search the entire database for that word and return the results

Re: [PHP] A good search tutorial

2004-04-21 Thread raditha dissanayake
Phpu wrote: Hi there I have a site driven by a database and I need a search engine...when someone enter a word the script to search the entire database for that word and return the results. Could someone give me the link to that kind of tutorial? Please email me asap IT may be that full text i

Re: [PHP] redirection with PHP and closing windows?

2004-04-21 Thread -{ Rene Brehmer }-
According to historical records, on Tue, 20 Apr 2004 23:02:50 -0500 Andre wrote about "[PHP] redirection with PHP and closing windows?": >I want to be able to process a PHP script and then if successful redirect to >another page. Is there a good way to do this with PHP or do I need to stick >to Ja

[PHP] objects in a session

2004-04-21 Thread electroteque
Hi there going back to the discussions of objects in a session. I would like to know what are the benifits of this, and in what scenarios would it be used. I have an application I am trying to make scalable if possible, it uses a sub class to a phplayers menu class which parses an xml file and gene

Re: [PHP] PHP Web Hosting

2004-04-21 Thread -{ Rene Brehmer }-
According to historical records, on Wed, 21 Apr 2004 13:16:35 +0800 Jason Wong <[EMAIL PROTECTED]> wrote about "Re: [PHP] PHP Web Hosting": >On Tuesday 20 April 2004 23:38, -{ Rene Brehmer }- wrote: > >> I've got mine registered at enom through Westhost, and westhost gives me a >> registrar interf

[PHP] Re: Text Box question

2004-04-21 Thread pete M
Brent Clark wrote: Hi all I have a problem where, when I click on a link and when the page is finish loading I would like for the cursor to ready in the correct html text box. I cant seem to find a solution If anyone could help, that would be most appreciated Kind Regards Brent Clark Stick this i

[PHP] Re: strange urlencode/decode problem

2004-04-21 Thread Craig
http://ie.php.net/manual/en/function.get-magic-quotes-gpc.php use stripslashes() : Cheers "Victor spång arthursson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Perhaps I'm tired, perhaps I've missed something obvious, but I can't get this simple thing which I practically does

[PHP] Problem installing CURL for phpMySearch

2004-04-21 Thread KidLat Ngayon
Subject: Problem installing CURL for phpMySearch To: [EMAIL PROTECTED] Greetings!!! I hope that there would be someone could help me in installing CURL Version 7.11.0 for PHP Version 4.3.2. I've already configure the CURL in PHP using on this way: ./configure --with-mysql=/usr/local/mysql \ --

[PHP] Problem installing CURL for phpMySearch

2004-04-21 Thread KidLat Ngayon
Greetings!!! I hope that there would be someone could help me in installing CURL Version 7.11.0 for PHP Version 4.3.2. I've already configure the CURL in PHP using on this way: ./configure --with-mysql=/usr/local/mysql \ --with-nsapi=/usr/iplanet/iWS \ --with-curl=/usr/local \ --with-curlwrapper

[PHP] strange urlencode/decode problem

2004-04-21 Thread Victor Spång Arthursson
Perhaps I'm tired, perhaps I've missed something obvious, but I can't get this simple thing which I practically does every week to work… Ok, here is what I do: $foo = urlencode("Delete from whatever where ditten = 'datten'"); echo 'Click here to test'; ?> I sidan foo.php skriver jag: echo

[PHP] Re: Text Box question

2004-04-21 Thread Saulius
put a JS code in yor tag: "Brent Clark" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all > I have a problem where, when I click on a link and when the page is finish > loading > I would like for the cursor to ready in the correct html text box. > I cant seem to find a soluti

[PHP] Error using sockets in PHP 5

2004-04-21 Thread Sergio Cinos
Hi, I have a problem using sockets in PHP 5. I create a socket in non-blocking mode, and when I read in that socket, socket_read() function waits for incoming data (as in a blocking socket). However, if I use system 'ltrace' in my script, I can see that: recv(3, 0x4078f1c4, 1, 0) = -1 EAGAIN

Re: [PHP] Text Box question

2004-04-21 Thread Brent Clark
>You can use javascript to perform this... Do the following: > > document.formName.boxName.focus(); // set the focus to the box > Thank you Worked like charm Much appreciated Kind Regards Brent Clark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

Re: [PHP] Text Box question

2004-04-21 Thread "Miguel J. Jiménez"
You can use javascript to perform this... Do the following: document.formName.boxName.focus(); // set the focus to the box Brent Clark escribió: Hi all I have a problem where, when I click on a link and when the page is finish loading I would like for the cursor to ready in the corr

Re: [PHP] A good search tutorial

2004-04-21 Thread Brent Clark
>Hi there >I have a site driven by a database and I need a search engine...when someone enter a word the script to search the entire >database for that word and return the results. >Could someone give me the link to that kind of tutorial? >Please email me asap Not that my database (mysql) is big o

[PHP] Text Box question

2004-04-21 Thread Brent Clark
Hi all I have a problem where, when I click on a link and when the page is finish loading I would like for the cursor to ready in the correct html text box. I cant seem to find a solution If anyone could help, that would be most appreciated Kind Regards Brent Clark -- PHP General Mailing List (h

[PHP] A good search tutorial

2004-04-21 Thread Phpu
Hi there I have a site driven by a database and I need a search engine...when someone enter a word the script to search the entire database for that word and return the results. Could someone give me the link to that kind of tutorial? Please email me asap

[PHP] Trouble with thumbnail generation using GD

2004-04-21 Thread Haddad Said
Hi, i was trying to create thumbnail using a tutorial on image galleries, I am having problems creating thumbnail images using GD. The thumbnail is created with the sizes prorerly, however the image is black. I have posted a temporary php file i created to investigate the problem below. I suspect

[PHP] Re: Extension : compiling several .C files ?

2004-04-21 Thread user
Any help will be greatly appreciated. Perheaps someone has a link to a newsgroup or a forum where I can find an answer thx [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I've learn how to compile a simple (with only one .C file) extension under Windows and Linux. And multi .C file compilation

Re: [PHP] Forking external binaries

2004-04-21 Thread Aidan Lister
There's a "nu-fork" library or something around. There's a pear package which provides an API to this. Have a look around. "Michal Migurski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > We have a web application that forks off an external program to inject > > an email in the o

Re: [PHP] PHP Web Hosting

2004-04-21 Thread Lester Caine
-{ Rene Brehmer }- wrote: Hmm ... why the heck 65 characters ??? ... Old EGA screens were 80x34 characters, VGA is 80x43 characters ... The reason Usenet standard is 76 chars wide messages (today anyways) is that text-mode readers need the last 4 characters to display window borders and control ch

Re: [PHP] ADOdb SQL Updates

2004-04-21 Thread Lester Caine
Gabe wrote: I double checked the names. Everything looks okay. Another ideas? Did the ADOdb list answer not work? http://phplens.com/lens/lensforum/msgs.php?id=9285 Single and double quotes can be a problem in SQL. -- Lester Caine - L.S.Caine Electronic Services -- P

Re: [PHP] Making an app unviewable during system maintainance

2004-04-21 Thread Burhan Khalid
Travis Low wrote: Michal Migurski wrote: Don't take the database down for backups. I can think of no logical reason why you'd want to kill the DB to back it up, since it's just a big "read" operation. Referential integrity might be a reason. Good point, though if this is a concern, the OP w

[PHP] Re: document

2004-04-21 Thread kris
Please read the document. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php