Re: [PHP] Php function to Set focus On A form Field

2006-04-26 Thread Joe Wollard
PHP can't do that for you but Javascript can. Here's roughly 3 million (no joke) examples of what you'd like to accomplish: http://www.google.com/search?q=javascript+focus+first+input On 4/26/06, marvin hunkin <[EMAIL PROTECTED]> wrote: > > Hi. > is there any php or java script function, where i

[PHP] Re: Php function to Set focus On A form Field

2006-04-26 Thread Philipp Kopf
marvin hunkin schrieb: Hi. is there any php or java script function, where i can embed into my php or html file, to set focus on to the first form field, like a text box, to go to that field first, and not to go to the link or button first. if there are any tips, tricks, or links or code exampl

[PHP] session

2006-04-26 Thread Sichta, Daniel
Hi there !! I have web app which using frames. After session timeout my session is killed. The problem is that session is killed even when I doing requests to the server. I know why (session is "chain" to the frameset page) but what's the solution for this? I have to use frames !! Don't ask why

Re: [PHP] SQL query to array?

2006-04-26 Thread William Stokes
Ooopps. I just did have array too many. This did the append corretly: $arr["Team$cur"] = array(id => $id, sort => $srt, jnimi => $nimi); -Will ""Joe Wollard"" <[EMAIL PROTECTED]> kirjoitti viestissä:[EMAIL PROTECTED] Will, Seems to me like you've just done it! Here's another way of doing it

[PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Laszlo Nagy
Hello All, I had a problem with a Win2003 server, IIS6 and PHP 5.1.2. The MS SQL extension was not working. I did not get an answer, but some people suggested me to use Apache. Now I installed Win 2000 server, Apache 2.0.55 and PHP 5.1.2. The same computer has Microsoft SQL Server installed.

[PHP] (Apache|php) Bug using modproxy

2006-04-26 Thread Lmwangi
Hi all, First time on the list... sorry for any errs. I am using mod_proxy to pass requests to an internal server in our lan. The setup looks like Enduser---INet_link-Mod_proxy_serverLan---PHP_script Now, this does not work: Enduser---https--->Apache_mod_proxy-http--->Destination

[PHP] Filter out MS Word 'quotes' for RSS

2006-04-26 Thread Kevin Davies
Hi All, I've got a forum/blog system which is displaying correctly in the browser. However, I've also got an RSS feed that is created from the data entered. It seems that some of the users are copying and pasting from MS Word or other packages, and this means that strange quote marks (among other

[PHP] Book/Site for internernal PHP5 Core Developing

2006-04-26 Thread Thomas Munz
hi list! Does someone know a good Book/website for Develop own C-Extensions for PHP5? http://us2.php.net/manual/en/zend.php This site are just basic things, but i wanna do more things. Someone may help me? thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

[PHP] Pear Package HTTP_Request

2006-04-26 Thread Markus Braun
Hello, i try to install the HTTP_Request package. I installed also the Net_Socket with pear install Net_Socket-1.0.6 But it exists. Than i try to install the HTTP_Request: downloading HTTP_Request-1.3.0.tgz ... Starting to download HTTP_Request-1.3.0.tgz (13,808 bytes) .done: 13,808 byte

Re: [PHP] Pear Package HTTP_Request

2006-04-26 Thread chris smith
> i try to install the HTTP_Request package. > > I installed also the Net_Socket with > > pear install Net_Socket-1.0.6 > > But it exists. > > Than i try to install the HTTP_Request: > > downloading HTTP_Request-1.3.0.tgz ... > Starting to download HTTP_Request-1.3.0.tgz (13,808 bytes) > .done:

Re: [PHP] Book/Site for internernal PHP5 Core Developing

2006-04-26 Thread chris smith
On 4/26/06, Thomas Munz <[EMAIL PROTECTED]> wrote: > hi list! > > Does someone know a good Book/website for Develop own C-Extensions for PHP5? > > http://us2.php.net/manual/en/zend.php > This site are just basic things, but i wanna do more things. Someone may help > me? This might help you out: h

Re: [PHP] Filter out MS Word 'quotes' for RSS

2006-04-26 Thread chris smith
On 4/26/06, Kevin Davies <[EMAIL PROTECTED]> wrote: > Hi All, > > I've got a forum/blog system which is displaying correctly in the browser. > However, I've also got an RSS feed that is created from the data entered. > > It seems that some of the users are copying and pasting from MS Word or > othe

Re: [PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Wolf
This setup nagged me for a bit too, until I found the solution... The DLL files in C:\php need to be put into system32 directory. Once that happens they work like a charm, but until then, you are plagued with issues. I have my path set for C:\php and everything as well, but it was not until copy

Re: [PHP] Filter out MS Word 'quotes' for RSS

2006-04-26 Thread Wolf
Low Tech Solution: Make them paste into Notepad, then Copy from there and paste into the blog system. If it is internal then it is part of the process. If external, check PHPClasses and see if they have one yet. Wolf Kevin Davies wrote: > Hi All, > > I've got a forum/blog system which is displ

Re: [PHP] session

2006-04-26 Thread chris smith
On 4/26/06, Sichta, Daniel <[EMAIL PROTECTED]> wrote: > Hi there !! > > I have web app which using frames. After session timeout my session is > killed. > The problem is that session is killed even when I doing requests to the > server. > I know why (session is "chain" to the frameset page) but wha

Re: [PHP] Serveral forms in a page.

2006-04-26 Thread chris smith
On 4/25/06, William Stokes <[EMAIL PROTECTED]> wrote: > Hello, > > This "might be" more HTML stuff but anyway... > > I have several forms in a page which is ok otherwise but the reset buttons > doesn't clear anything that is queried from DB and printed to the text > fields. Any idea how to create R

Re: [PHP] Pear Package HTTP_Request

2006-04-26 Thread Markus Braun
sorry From: "chris smith" <[EMAIL PROTECTED]> To: "Markus Braun" <[EMAIL PROTECTED]> CC: php-general@lists.php.net Subject: Re: [PHP] Pear Package HTTP_Request Date: Wed, 26 Apr 2006 21:21:24 +1000 > i try to install the HTTP_Request package. > > I installed also the Net_Socket with > > pear i

Re: [PHP] cURL & cookies

2006-04-26 Thread Eric Butera
On 4/25/06, Richard Lynch <[EMAIL PROTECTED]> wrote:Sounds to me like we have different versions of cURL and yours is > better. :-) > > Mine phpinfo() curl section has: > libcurl/7.15.3 OpenSSL/0.9.7d zlib/1.2.1 > > which would seem to be the most current version... > > Or, perhaps, the order in w

[PHP] How to execute multiples querys

2006-04-26 Thread Mauricio Pellegrini
Hi all I'm trying to execute two querys and they execute perfectly in fact, but after the execution of the first query there suposed to be some variable setted to a certain value. The problem is this variable is not available at the time the second query runs. I`ll try to explain a little bit

Re: [PHP] How to execute multiples querys

2006-04-26 Thread nicolas figaro
Mauricio Pellegrini a écrit : Hi all I'm trying to execute two querys and they execute perfectly in fact, but after the execution of the first query there suposed to be some variable setted to a certain value. The problem is this variable is not available at the time the second query runs.

Re: [PHP] Filter out MS Word 'quotes' for RSS

2006-04-26 Thread Evan Priestley
On Apr 26, 2006, at 5:45 AM, Kevin Davies wrote: Obviously I need to convert these on entry, or on output into RSS. Does anyone know of an easy way to do this, or is it a case of identifying each unusual character individually? These high-ascii characters have ord() values greater than 12

[PHP] bookmarking with a trademark sign in title

2006-04-26 Thread Angelo Zanetti
Hi all, This might be slightly OT but it is related to a PHP project. I have a link on the site Im developing to bookmark the site. The title is XYZ company™ but when the add bookmark window comes up for saving the bookmark, I cannot see the ™ sign. Does anyone have any idea of how to get this s

Re: [PHP] How to execute multiples querys

2006-04-26 Thread Mauricio Pellegrini
On Wed, 2006-04-26 at 10:32, nicolas figaro wrote: > Mauricio Pellegrini a écrit : > > Hi all > > > > I'm trying to execute two querys and they execute perfectly in fact, > > but after the execution of the first query there suposed to be some > > variable setted to a certain value. > > > > The pro

Re: [PHP] session

2006-04-26 Thread chris smith
On 4/26/06, Sichta, Daniel <[EMAIL PROTECTED]> wrote: > > -Original Message- > From: chris smith [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 26, 2006 2:18 PM > To: Sichta, Daniel > Cc: php-general@lists.php.net > Subject: Re: [PHP] session > > On 4/26/06, Sichta, Daniel <[EMAIL PROTE

Re: [PHP] How to execute multiples querys

2006-04-26 Thread chris smith
On 4/26/06, Mauricio Pellegrini <[EMAIL PROTECTED]> wrote: > On Wed, 2006-04-26 at 10:32, nicolas figaro wrote: > > Mauricio Pellegrini a écrit : > > > Hi all > > > > > > I'm trying to execute two querys and they execute perfectly in fact, > > > but after the execution of the first query there supo

RE: [PHP] bookmarking with a trademark sign in title

2006-04-26 Thread Jay Blanchard
[snip] This might be slightly OT but it is related to a PHP project. I have a link on the site Im developing to bookmark the site. The title is XYZ company(tm) but when the add bookmark window comes up for saving the bookmark, I cannot see the (tm) sign. Does anyone have any idea of how to get thi

RE: [PHP] session

2006-04-26 Thread Sichta, Daniel
Here is application flow Index.php = login page, I need to start session here. From here (successful login) I'm going to admin.php which is Frameset page with source pages. DS -Original Message- From: chris smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 4:02 PM To: Sich

Re: [PHP] bookmarking with a trademark sign in title

2006-04-26 Thread chris smith
On 4/26/06, Angelo Zanetti <[EMAIL PROTECTED]> wrote: > Hi all, > > This might be slightly OT but it is related to a PHP project. > I have a link on the site Im developing to bookmark the site. The title is > XYZ company™ but when the add bookmark window comes up for saving the > bookmark, I cann

Re: [PHP] How to execute multiples querys

2006-04-26 Thread nicolas figaro
Mauricio Pellegrini a écrit : $quer1 = "SET @var1=3 ; SELECt * from table1 Where [EMAIL PROTECTED] " ; This gave a syntax error from MySQL inmmediately before the ";" (semicolon), did you try to run the query above ( SET @var1=3 ; SELECt * from table1 Where [EMAIL PROTECTED] )

Re: [PHP] session

2006-04-26 Thread chris smith
On 4/27/06, Sichta, Daniel <[EMAIL PROTECTED]> wrote: > Here is application flow > Index.php = login page, I need to start session here. From here > (successful login) I'm going to admin.php which is > Frameset page with source pages. That's nice.. but doesn't help us. We need to see code. -- Pos

RE: [PHP] session

2006-04-26 Thread Sichta, Daniel
Login.php User Passwrod "> Login.php window.location.href = "admin.php"; No Frames! No frames in your brow

Re: [PHP] session

2006-04-26 Thread chris smith
On 4/27/06, Sichta, Daniel <[EMAIL PROTECTED]> wrote: > Login.php > // starting session here > require_once("include/init.inc"); and what's in that file - only the session related stuff. If you pass the sessionid across does it work: http://www.designmagick.com/ -- PHP General Mailing

Re: [PHP] How to execute multiples querys

2006-04-26 Thread Mauricio Pellegrini
On Wed, 2006-04-26 at 11:04, chris smith wrote: > On 4/26/06, Mauricio Pellegrini <[EMAIL PROTECTED]> wrote: > > On Wed, 2006-04-26 at 10:32, nicolas figaro wrote: > > > Mauricio Pellegrini a écrit : > > > > Hi all > > > > > > > > I'm trying to execute two querys and they execute perfectly in fact,

Re: [PHP] How to execute multiples querys

2006-04-26 Thread Mauricio Pellegrini
On Wed, 2006-04-26 at 11:09, nicolas figaro wrote: > Mauricio Pellegrini a écrit : > >>> $quer1 = "SET @var1=3 ; > >>> SELECt * from table1 Where [EMAIL PROTECTED] " ; > >>> > >>> > >>> This gave a syntax error from MySQL inmmediately before the ";" > >>> (semicolon), > >>> > >>> > did y

Re: [PHP] bookmarking with a trademark sign in title

2006-04-26 Thread Satyam
The problem usually is that many of the 'things' surrounding the main window of the browser do not understand HTML and its special characters. The favorites or history lists are often one of them. Most have solved the rendering of the but not all. If your target is mainly Windows clients,

RE: [PHP] Re: Php function to Set focus On A form Field

2006-04-26 Thread Ing. Edwin Cruz
Or if you have header.inc.php and the body tag is global then in your form.inc.php(for example) or in your template, you can do this: Window.onLoad=function(){ document.nameform.inputField.focus(); } Regards! -Mensaje original- De: Philipp Kopf [mailto:[EMAIL PROTECTED] En

RE: [PHP] PHP 5 + Apache 2 on Windows: ms sql extension problem

2006-04-26 Thread Ing. Edwin Cruz
Try changing your direcive extension_dir: extension_dir="C:/PHP/ext" instead of extension_dir="C:\PHP\ext" -Mensaje original- De: Laszlo Nagy [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 26 de Abril de 2006 04:01 a.m. Para: php-general@lists.php.net Asunto: [PHP] PHP 5 + Apache 2

Re: [PHP] How to execute multiples querys

2006-04-26 Thread Mauricio Pellegrini
On Wed, 2006-04-26 at 11:04, chris smith wrote: > On 4/26/06, Mauricio Pellegrini <[EMAIL PROTECTED]> wrote: > > On Wed, 2006-04-26 at 10:32, nicolas figaro wrote: > > > Mauricio Pellegrini a écrit : > > > > Hi all > > > > > > > > I'm trying to execute two querys and they execute perfectly in fact,

Re: [PHP] Using linkDisplayFields of FormBuilder

2006-04-26 Thread Joe Henry
On Tuesday 25 April 2006 4:36 pm, Tom wrote: > instead we recommend emailing > [EMAIL PROTECTED] where you are more likely to get answer. You found the PHP-general list instead of the Pear-general list. Here's a link to the Pear mailing list page: http://pear.php.net/support/lists.php HTH --

Re: [PHP] How to execute multiples querys

2006-04-26 Thread Martin Alterisio
You should be able to do this in two calls to the mysql_query() function. mysql_query("SET @var1=3"); mysql_query("SELECT * from table1 Where [EMAIL PROTECTED]"); 2006/4/26, Mauricio Pellegrini <[EMAIL PROTECTED]>: > > Hi all > > I'm trying to execute two querys and they execute perfectly in fact,

[PHP] Debuggin PHP

2006-04-26 Thread hicham
Hello I'm a newbie in php world , and I'm trying to get a php 4 script work on an php5 version how do i debug php ? I get a blank page and nothing tells me what 's wrong ? Thanks hicham -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Debuggin PHP

2006-04-26 Thread John Nichel
hicham wrote: Hello I'm a newbie in php world , and I'm trying to get a php 4 script work on an php5 version how do i debug php ? I get a blank page and nothing tells me what 's wrong ? Thanks hicham Turn on error reporting. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Ho

Re: [PHP] Debuggin PHP

2006-04-26 Thread Jochem Maas
hicham wrote: Hello I'm a newbie in php world , and I'm trying to get a php 4 script work on an php5 version how do i debug php ? I get a blank page and nothing tells me what 's wrong ? the hard way: install and use Xdebug. easy way 1: buy a copy of Zend Studio, again install

Re: [PHP] Debuggin PHP

2006-04-26 Thread Martin Alterisio
2006/4/26, John Nichel <[EMAIL PROTECTED]>: > > hicham wrote: > > Hello > > I'm a newbie in php world , and I'm trying to get a php 4 script work > > on an php5 version > > how do i debug php ? I get a blank page and nothing tells me what 's > wrong ? > > > > Thanks > > hicham > > > > Turn on erro

Re: [PHP] How to execute multiples querys

2006-04-26 Thread Robert Cummings
On Wed, 2006-04-26 at 10:36, Mauricio Pellegrini wrote: > On Wed, 2006-04-26 at 11:09, nicolas figaro wrote: > > Mauricio Pellegrini a écrit : > > >>> $quer1 = "SET @var1=3 ; > > >>> SELECt * from table1 Where [EMAIL PROTECTED] " ; > > >>> > > >>> > > >>> This gave a syntax error from MySQL

Re: [PHP] Debuggin PHP

2006-04-26 Thread Robert Cummings
On Wed, 2006-04-26 at 12:44, Jochem Maas wrote: > hicham wrote: > easy way 2: > use lots of echo()/var_dump()/print_r() in your code to figure out > where it's breaking. If you're trying to track down an error using this technique (by far one of the most popular techniques and time te

Re: [PHP] How to execute multiples querys,IT is SOLVED!!

2006-04-26 Thread Mauricio Pellegrini
On Wed, 2006-04-26 at 13:07, Martin Alterisio wrote: > You should be able to do this in two calls to the mysql_query() > function. > mysql_query("SET @var1=3"); > mysql_query("SELECT * from table1 Where [EMAIL PROTECTED]"); It worked this way! It seems I musta had some other problem somewhere else

Re: [PHP] How to execute multiples querys

2006-04-26 Thread Mauricio Pellegrini
On Wed, 2006-04-26 at 13:48, Robert Cummings wrote: > On Wed, 2006-04-26 at 10:36, Mauricio Pellegrini wrote: > > On Wed, 2006-04-26 at 11:09, nicolas figaro wrote: > > > Mauricio Pellegrini a écrit : > > > >>> $quer1 = "SET @var1=3 ; > > > >>> SELECt * from table1 Where [EMAIL PROTECTED] " ;

Re: [PHP] Debuggin PHP

2006-04-26 Thread Jochem Maas
Robert Cummings wrote: On Wed, 2006-04-26 at 12:44, Jochem Maas wrote: hicham wrote: easy way 2: use lots of echo()/var_dump()/print_r() in your code to figure out where it's breaking. If you're trying to track down an error using this technique (by far one of the most po

Re: [PHP] (Apache|php) Bug using modproxy

2006-04-26 Thread Jochem Maas
Lmwangi wrote: Hi all, First time on the list... sorry for any errs. I am using mod_proxy to pass requests to an internal server in our lan. The setup looks like Enduser---INet_link-Mod_proxy_serverLan---PHP_script Now, this does not work: Enduser---https--->Apache_mod_proxy-

Re: [PHP] Debuggin PHP

2006-04-26 Thread Eric Butera
On 4/26/06, hicham <[EMAIL PROTECTED]> wrote: > > Hello > I'm a newbie in php world , and I'm trying to get a php 4 script work > on an php5 version > how do i debug php ? I get a blank page and nothing tells me what 's wrong > ? > > Thanks > hicham > > -- > PHP General Mailing List (http://www.php

Re: [PHP] (Apache|php) Bug using modproxy

2006-04-26 Thread Oscar Gosdinski
I have the configuration you described: browser --> https-> mod_proxy -> http -> php and i don't have any problem with it. Maybe it's an Apache misconfiguration. Can you send a snap of your httpd.conf? On 4/26/06, Lmwangi <[EMAIL PROTECTED]> wrote: > Hi all, > First time on the list... sorry fo

Re: [PHP] Debuggin PHP

2006-04-26 Thread Sameer N Ingole
Robert Cummings wrote: On Wed, 2006-04-26 at 12:44, Jochem Maas wrote: hicham wrote: easy way 2: use lots of echo()/var_dump()/print_r() in your code to figure out where it's breaking. If you're trying to track down an error using this technique (by far one of the

Re: [PHP] Debuggin PHP

2006-04-26 Thread Robert Cummings
On Wed, 2006-04-26 at 14:51, Sameer N Ingole wrote: > Robert Cummings wrote: > > On Wed, 2006-04-26 at 12:44, Jochem Maas wrote: > > > >> hicham wrote: > >> > >> easy way 2: > >>use lots of echo()/var_dump()/print_r() in your code to figure out > >>where it's breaking. > >> > >

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Jay Blanchard
Pub, Thank you for subscribing to and participating in the PHP users list, a place where your PHP questions can be answered. Unfortunately your last post contained several problems; a. It was to long. 2. it was a JavaScript question. Thank you, Jay -- PHP General Mailing List (http://www.php.n

Re: [PHP] PHP Script to open phpBB2 accounts

2006-04-26 Thread Jochem Maas
Richard Lynch wrote: ... A general Google for search terms likely to contain what you need. This often requires several tries and some finesse on input for terms as common as "phpBB" and "forum" but an attempt must be made, even if you're sure it will be fruitless... Cuz Google is goddamned s

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Jochem Maas
Jay Blanchard wrote: Pub, Thank you for subscribing to and participating in the PHP users list, a place where your PHP questions can be answered. Unfortunately your last post contained several problems; a. It was to long. 2. it was a JavaScript question. Thank you, Jay lol - that was almost

Re: [PHP] (Apache|php) Bug using modproxy

2006-04-26 Thread Jochem Maas
Lmwangi wrote: Ok thanx. Let me try squid I have posted the mail on the apache list.. Oh and btw i downgrade my rank. Its no longer voodoo.. So don't go looking for new name ;-) ah good - have fun with Squid - but beware it has more arms than you to fight with ;-) -- PHP General Mailing L

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Jay Blanchard
[snip] lol - that was almost perfect... you missed an 'o' ;-) [/snip] I am allowed a missed 'o' as I am on the bus (and have been for almost 24 hours) chaperoning a high school band trip to Florida. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread John Nichel
Pub wrote: Hello, I would really appreciate some help. Then ask a php question. -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

Re: [PHP] PHP Script to open phpBB2 accounts

2006-04-26 Thread Robert Cummings
On Wed, 2006-04-26 at 16:07, Jochem Maas wrote: > Richard Lynch wrote: > > ... > > > A general Google for search terms likely to contain what you need. > > This often requires several tries and some finesse on input for terms > > as common as "phpBB" and "forum" but an attempt must be made, even

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Stut
Jay Blanchard wrote: [snip] lol - that was almost perfect... you missed an 'o' ;-) [/snip] I am allowed a missed 'o' as I am on the bus (and have been for almost 24 hours) chaperoning a high school band trip to Florida. :) This one time, at band camp, I wrote an email to the PHP-General maili

[PHP] Hosting php help

2006-04-26 Thread Jesús Alain Rodríguez Santos
Please I need a free hosting with php and mysql, and sendmail active. If you know any site, please send to me the address. -- Este mensaje ha sido analizado por MailScanner en busca de virus y otros contenidos peligrosos, y se considera que está limpio.

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Warren Vail
This brings up a reoccurring issue for me and I'd be interested if anyone else has given it any thought. PHP appears to me to be incomplete unless it can provide a way to provide client (browser) side executables in a consistent language, namely PHP. Developers get all excited about the elegence

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Evan Priestley
Tell you what: write file_get_contents() in Javascript, and I'll write the rest of it. Evan On Apr 26, 2006, at 4:36 PM, Warren Vail wrote: This brings up a reoccurring issue for me and I'd be interested if anyone else has given it any thought. PHP appears to me to be incomplete unless it

[PHP] Natural order of things.

2006-04-26 Thread tedd
Hi gang: I posted the following question to the MySQL list, but the only answer I received thus far was a php solution (it didn't work for what I wanted). As such, maybe if I post a MySQL question to the PHP group, then I'll receive a MySQL answer -- so here goes: I'm using the following q

[PHP] php_gd2.dll not found

2006-04-26 Thread Ari Davidow
I am thoroughly confused. I am working on a Windows XP box. I have just upgraded my dev environment to Apache 2 (2.0.55, where it was), php 5.1.2 (PHP 5.1.2 zip package), MySQL 5.0.20a. Anomaly 1: I carefully navigated the MySQL m

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Robert Cummings
On Wed, 2006-04-26 at 16:47, Evan Priestley wrote: > Tell you what: write file_get_contents() in Javascript, and I'll > write the rest of it. I hope you're not going to welch!! Unfortunately, you're going to have a HELL of a time with dynamically include()'ing source :) Cheers, Rob. -- .---

Re: [PHP] Natural order of things.

2006-04-26 Thread Robert Cummings
On Wed, 2006-04-26 at 16:51, tedd wrote: > Hi gang: > > I posted the following question to the MySQL list, but the only > answer I received thus far was a php solution (it didn't work for > what I wanted). > > As such, maybe if I post a MySQL question to the PHP group, then I'll > receive a My

Re: [PHP] Natural order of things.

2006-04-26 Thread Robert Cummings
On Wed, 2006-04-26 at 16:57, Robert Cummings wrote: > On Wed, 2006-04-26 at 16:51, tedd wrote: > > Hi gang: > > > > I posted the following question to the MySQL list, but the only > > answer I received thus far was a php solution (it didn't work for > > what I wanted). > > > > As such, maybe if

Re: [PHP] Natural order of things.

2006-04-26 Thread Stut
tedd wrote: SELECT id, title, url_image_small FROM $dbtable WHERE type="type_title" ORDER BY title LIMIT $offset, $rowsPerPage" But, it sorts stuff like this: Basel Square 1 Basel Square 10 Basel Square 11 Basel Square 2 Basel Square 3 Basel Square 4 Basel Square 5 Basel Square 6 Basel Square 7

Re: [PHP] Natural order of things.

2006-04-26 Thread tg-php
You could try separating out the number an formatting it with SQL and doing an ORDER BY on the post-processed number. It doesn't have to appear in the SELECT portion to be able to use it in the ORDER BY section. SELECT BookName, PageNum, Citation FROM BookQuotes ORDER BY LPAD(PageNum,4,'0');

Re: [PHP] php_gd2.dll not found

2006-04-26 Thread Richard Lynch
Are you sure you didn't mix-n-match your old DLLs from previous php versions? You can't do that... On Wed, April 26, 2006 3:52 pm, Ari Davidow wrote: > I am thoroughly confused. > > > > I am working on a Windows XP box. > > I have just upgraded my dev environment to Apache 2 (2.0.55, where > it w

Re: [PHP] php_gd2.dll not found

2006-04-26 Thread tedd
At 4:52 PM -0400 4/26/06, Ari Davidow wrote: I am thoroughly confused. I am working on a Windows XP box. A correlation, perhaps? :-) tedd -- http://sperling.com -- PHP General Mailing List (http://www.php.ne

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Warren Vail
Evan, Are you proposing something like AJAX does? My understanding is limited here, so bear with me. A control like a hidden imbedded frame (IFRAME) is acted upon by Javascript to cause it to dynamically request loading a page into the frame, and when loaded, the javascript processes the contents

Re: [PHP] Natural order of things.

2006-04-26 Thread Richard Lynch
Crude, but effective. ORDER BY length(title) DESC, title You may also need to make it be: ORDER BY substring(title, 1, 10), length(title) DESC, title so you can get them alphabetical to start off with (the first 10 chars) then by the length to hack the "longer" ones with multiple digits at the

[PHP] error message

2006-04-26 Thread cybermalandro cybermalandro
I have set in display_errors = off on my php.ini but I can still see ODBC related error messages when I try to duplicate an ODBC error. Am I missing something to turn this off? Thanks!

Re: [PHP] Natural order of things.

2006-04-26 Thread tg-php
Going to amend this by saying that whereever the number you need to sort by is located, you should be able to extract it and do the padding trick even if it's in the middle of a string.. as long as the format is regular enough. -TG = = = Original message = = = You could try separating out the

RE: [PHP] Hosting php help

2006-04-26 Thread Nicolas Verhaeghe
http://www.google.com/search?hl=en&q=free+php+hosting -Original Message- From: Jesús Alain Rodríguez Santos [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 2:26 PM To: php-general@lists.php.net Subject: [PHP] Hosting php help Please I need a free hosting with php and mysql, an

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 3:36 pm, Warren Vail wrote: > One solution would be to develop a PHP Plugin and support that for all > the http://pecl.php.net/package/PHPScript Just stumbled across it the other day, and it's on my "check it out" list... Reviews from those more knowlegable most welcome.

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Evan Priestley
No, I'm saying that Javascript can't read or write files on the client's machine, and that this is only one of a large number of basic limitations in the language's capabilities. It would be possible to write a script which took "$a = 3" and converted it into "var a = 3", but a huge number

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Jochem Maas
Wez Furlong has written an ActiveScript compatible plugin that allows running php clientside in the browser - YMWV. Robert Cummings wrote: On Wed, 2006-04-26 at 16:47, Evan Priestley wrote: ... nice func Rob. :-) now onward to HELL ... ?> Unfortunately, you're going to have a HELL of a

Re: [PHP] error message

2006-04-26 Thread Jochem Maas
cybermalandro cybermalandro wrote: I have set in display_errors = off on my php.ini but I can still see ODBC related error messages when I try to duplicate an ODBC error. Am I missing something to turn this off? restart the server? also check that ini_set('display_errors', 0); doesn't have the

Re: [PHP] error message

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: > I have set in display_errors = off on my php.ini but I can still see > ODBC > related error messages when I try to duplicate an ODBC error. Am I > missing > something to turn this off? Does reflect your changes to php.ini? Does

Re: [PHP] error message

2006-04-26 Thread cybermalandro cybermalandro
Yes, Yes and Yes although I am not running apache I am running IIS. On 4/26/06, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: > > I have set in display_errors = off on my php.ini but I can still see > > ODBC > > related error messag

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Robert Cummings
On Wed, 2006-04-26 at 17:18, Jochem Maas wrote: > > Wez Furlong has written an ActiveScript compatible plugin that > allows running php clientside in the browser - YMWV. > > > Robert Cummings wrote: > > On Wed, 2006-04-26 at 16:47, Evan Priestley wrote: > > > > ... > > nice func Rob. :-) now

Re: [PHP] Debuggin PHP

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 11:30 am, hicham wrote: > I'm a newbie in php world , and I'm trying to get a php 4 script work > on an php5 version > how do i debug php ? I get a blank page and nothing tells me what 's > wrong ? Check "View Source" in your browser to see if it's really blank. Make sure

RE: [PHP] bookmarking with a trademark sign in title

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 9:04 am, Jay Blanchard wrote: > [snip] > This might be slightly OT but it is related to a PHP project. > I have a link on the site Im developing to bookmark the site. The > title > is XYZ company(tm) but when the add bookmark window comes up for > saving > the bookmark, I can

Re: [PHP] bookmarking with a trademark sign in title

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 10:13 am, Satyam wrote: > The problem usually is that many of the 'things' surrounding the main > window > of the browser do not understand HTML and its special characters. > The > favorites or history lists are often one of them. Most have solved > the > rendering of the b

Re: [PHP] New Help with Javascript Navigation

2006-04-26 Thread paul
At 01:36 PM 4/26/2006, Warren Vail wrote: "PHP appears to me to be incomplete unless it can provide a way to provide client (browser) side executables in a consistent language, namely PHP. Developers get all excited about the elegence of the PHP language, and somewhere along the way they discover t

Re: [PHP] How to execute multiples querys

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 11:07 am, Martin Alterisio wrote: > You should be able to do this in two calls to the mysql_query() > function. > mysql_query("SET @var1=3"); > mysql_query("SELECT * from table1 Where [EMAIL PROTECTED]"); -bash-2.05b$ php -a Interactive mode enabled X-Powered-By: PHP/4.4.1

Re: [PHP] Pear Package HTTP_Request

2006-04-26 Thread Richard Lynch
Try to get Net_Sockeet 1.0.2 installed -- maybe something appeared in 1.0.2 and went away again :-( Or, more likely, the dependencies logic/test is just plain flawed. On Wed, April 26, 2006 5:59 am, Markus Braun wrote: > Hello, > > i try to install the HTTP_Request package. > > I installed also t

RE: [PHP] php_gd2.dll not found

2006-04-26 Thread Ari Davidow
No. No mix-n-match: This was a clean install. The old php folder was renamed, then the new one put into place. I downloaded the files again, from a different mirror, and tried again. Most files are dated 1/11/2006, as was previously the case. I have noted from the archives that a few other people

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Warren Vail
You are absolutely correct, that anything that ran on the client machine would have to be safe and not venture outside the "sandbox", but that is not what I had in mind, and I don't think that was the goal of "PUB"? Who began this thread. I believe he wanted to manage some responses to mouseover, a

Re: [PHP] bookmarking with a trademark sign in title

2006-04-26 Thread Satyam
- Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Satyam" <[EMAIL PROTECTED]> Cc: "chris smith" <[EMAIL PROTECTED]>; "Angelo Zanetti" <[EMAIL PROTECTED]>; "PHP List" Sent: Wednesday, April 26, 2006 11:33 PM Subject: Re: [PHP] bookmarking with a trademark sign in tit

[PHP] How does PECL and PEAR handle versioning of PHP core?

2006-04-26 Thread D. Dante Lorenso
All, If I install PHP 5 and want to use a PECL extension, does that work the same as if I install PHP 4 and try to use the same extension? One extension that I use a lot is 'memcache' from PECL: http://pecl.php.net/package/memcache When I view this site, I do not see any reference to the

RE: [PHP] New Help with Javascript Navigation

2006-04-26 Thread Warren Vail
Sounds like you may be a young dude ;-) You know what they say about us old dogs and new tricks. PHP was a wonderful new trick for me, but javascript still stretches me a bit much, and if it weren't for the similarities you mention, I'd be completely lost. I think the reason we keep getting qu

Re: [PHP] Book/Site for internernal PHP5 Core Developing

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 4:54 am, Thomas Munz wrote: > Does someone know a good Book/website for Develop own C-Extensions for > PHP5? > > http://us2.php.net/manual/en/zend.php > This site are just basic things, but i wanna do more things. Someone > may help > me? There's a nice article Zend.com by S

[PHP] I want to write a Multi-threaded PHP Application

2006-04-26 Thread D. Dante Lorenso
All, For years I have wanted to have the ability to create a new Thread in PHP similar to how it is done in the Java language. I understand the complexities this would involve and have mentioned the idea to the PHP internals list once and subsequently had the idea shot down and declared "not

[PHP] Re: How does PECL and PEAR handle versioning of PHP core?

2006-04-26 Thread Greg Beaver
D. Dante Lorenso wrote: > All, > > If I install PHP 5 and want to use a PECL extension, does that work the > same as if I install PHP 4 and try to use the same extension? > > One extension that I use a lot is 'memcache' from PECL: > >http://pecl.php.net/package/memcache > > When I view this

  1   2   >