Re: [PHP] Fw:

2004-06-14 Thread Ulrik S. Kofod
I'm not sure but I think that it is because you give the port number :3308 in the connect. the connection is not established the same way as when you just give just "localhost" and mysql might not see "user" the same way. I think it will work if you grant access to '[EMAIL PROTECTED]' or 'user@'

[PHP] Regarding variable reference

2004-06-14 Thread balaji.ankem
Hi, I have variables called Cookie1 to Cookie35. I would like to print the values of Cookie1 to Cookie35 using for loop. Could anybody correct the below code to print the variables. == for($i=1;$i<34;$i++) { $x="Cookie".$i; if(isset($$x))

Re: [PHP] Problem with Imagick

2004-06-14 Thread Decapode Azur
Install the devel package of imageMagick in addition to the binary one. Or install ImageMagick from sources. Magick-config gives the c and ld flags to gcc, of all the libs that the lib-magick uses : gcc `Magick-config --cflags` app.c `Magick-config --ldflags --libs` http://www.imagemagick.org/www/

Re: [PHP] small and big letter in WHERE statement

2004-06-14 Thread Ulrik S. Kofod
John Nichel sagde: > QT wrote: >> Dear Sirs, >> >> When I use where statement, I see that there is no meaning small and big >> letter. Without looking small caps or big, result comes back. But I want to >> match only small letters. How can I do that? >> >> Best REgards >> > > Where statement for w

RE: [PHP] PHP en XML een vraag waard

2004-06-14 Thread Dennis Seavers
42. > [Original Message] > From: De Saedeleer Yves <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Date: 06/14/2004 1:28:28 PM > Subject: [PHP] PHP en XML een vraag waard > > Gegroet, > Hoi > > Ik ben reeds een tijdje bezig met PHP en hier en daar lukt er al eens iets > :=)) > > Maar nu stuit ik

[PHP] Behaviour of get_class_methods() and get_class_vars()

2004-06-14 Thread FrzzMan
This copy directly from my bug report, someone here do you know any way around for this problem. -- Description: When get_class_vars() return every properties of the class, private and protected members are mark with [Class Name] and * before i

Re: [PHP] Fw:

2004-06-14 Thread Travis Low
$conn = mysql_connect("localhost:3308","user","password"); You are connecting as user "user" with password "password" in the code, yet the error message references "[EMAIL PROTECTED]" so I'm pretty confused. cheers, Travis Sriranganath wrote: - Original Message - From: Sriranganath To:

[PHP] Fw:

2004-06-14 Thread Sriranganath
- Original Message - From: Sriranganath To: [EMAIL PROTECTED] Sent: Tuesday, June 15, 2004 9:50 AM Dear Sir, I am finding difficulty in inserting a record into a MySQL DB through PHP inpsite of all the privileges given to that database . Can u plz clarify it? Plz let me know wha

[PHP] Access Violation at 02B80AFD

2004-06-14 Thread Kathleen Ballard
I am developing a php app on a win 2003 server with iis6. Unfortunately, I don't know the version of sql server or php. I have been testing code since last Thursday and just started getting this error: PHP has encountered an Access Violation at 02B80AFD This error doesn't happen every time, e

Re: [PHP] protecting your source code?

2004-06-14 Thread FrzzMan
Surely you can't include files that way, that php file will be process and you will end up include its result. Try include using file system path instead, it will work... About your question about source code protecting, try Turck MMCache, it's a optimizer (the best I known) plus it have encode

Re: [PHP] Re: PHP 4.3.7 update - how to

2004-06-14 Thread Curt Zirzow
* Thus wrote Alan McDonald ([EMAIL PROTECTED]): > > > I've downloaded the 4.3.7 tar ball and extractted it. I've run configure > > > (after deleting the cache), no errors. I've run make - no errors, I've > then > > > run make install.. no errors, it says it's updating and installing. > > > Now I've

Re: [PHP] Eliminating all lowercase words

2004-06-14 Thread aajdubuc
Thanks Michal, That's what I thought at first, but it eliminates all lowercase letters in a capitalized word as well. I plugged away at it and got it to work: $search = "(\b[a-z][a-z]*?\b)"; $replace = ""; $add = preg_replace($search, $replace, $add); Thanks for the help! Andre On Monday 14

Re: [PHP] Combo problems.. Multi Array??

2004-06-14 Thread Michael Benbow
Thanks Mike, I have read up a lot on permutation but I'm not completely sure that this will solve my problem. From what I can gather permutation takes a sample (i.e. ABC) and tells you how many different ways it can arrange the letters, with order mattering. What I need to do is take a variabl

Re: [PHP] Eliminating all lowercase words

2004-06-14 Thread Michal Migurski
> $search "(([^\bA-Z][a-z]\b*?)*?)); > $replace = ""; > $add = preg_replace($search, $replace, $add); > > hWhen I tried it, it eliminated all lowercase words, and in the case of the > single upper case word, 'Bellingham', it retained only the capital 'B' -- > arrgh! You could just look for lowerca

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread franciccio
I would suggest (haven't tried to write code in details) to associate a random number in a variable each time you send a cookie (for new cookies anyway) and store the key (randomvariable<->cookie) ina database. You should be able to verify the user at next connection verifying the matching key. "

[PHP] can't change upload_tmp_dir--not sure what's up

2004-06-14 Thread cory
I am having some serious troubles uploading files to my server. The ISP cannot provide me with the tmp directory where files are stored so I am trying to change that directory to a specified one. I am editing the php.ini file to read as follows: ; File Uploads ;

Re: [PHP] session_start() warnings

2004-06-14 Thread franciccio
Always call the function on the first line of your page. Bye "Paoage" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Larry E . Ullman wrote: > >> When I use session_start function, I receive the following warning > >> messages: > >> > >> Warning: session_start(): Cannot s

[PHP] Eliminating all lowercase words

2004-06-14 Thread Andre Dubuc
Hi folks! I need a function that will examine input for lowercase words. In the processing of that input, I would like to eliminate them (so as to keep all uppercase words). I prototyped a reasonable function using the 'Find: using regex feature' in KWrite, so it works there. $search "(([^\b

Re: [PHP] Re: MapServer and PHP/MapScript

2004-06-14 Thread René Fournier
Can I ask, what platform/OS you are running it on? I am looking to build it for OSX 10.3... ...Rene On Monday, June 14, 2004, at 03:16 PM, Lester Caine wrote: René fournier wrote: Anybody have any experience (good or bad) with MapServer? (http://mapserver.gis.umn.edu/) And if so, can you comment

[PHP] Image Map

2004-06-14 Thread Juan Pablo Herrera
Hi! How can i make an image map with image function php? My idea is make a similar concept to http://www.infobae.com/ediciondigital/paginas.php Thank you! Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: MapServer and PHP/MapScript

2004-06-14 Thread Lester Caine
René fournier wrote: Anybody have any experience (good or bad) with MapServer? (http://mapserver.gis.umn.edu/) And if so, can you comment on how good or bad PHP/MapScript is? (http://mapserver.gis.umn.edu/doc42/phpmapscript-class-guide.html) I have it running - but I haven't worked out how to ma

[PHP] PHP Online training - Recommendations??

2004-06-14 Thread Brian Anderson
Hello, Anyone have any recommended(reputable) resources for online PHP training/certification? I would like good training but a certificate and course documentation of would be good too. Thank you, -Brian Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Function Date

2004-06-14 Thread Juan Pablo Herrera
Yes! That's right! Thank you Juan > Hello Juan, > > Monday, June 14, 2004, 6:04:56 PM, you wrote: > > JPH> I am using date("j M Y"), the format date is 14 Jun 2004, but i > need this JPH> format 14 JUN 2004. The unique difference is Jun -> JUN. > How can i change JPH> this?. > > $date = strtouppe

[PHP] PHP en XML een vraag waard

2004-06-14 Thread De Saedeleer Yves
Gegroet, Hoi Ik ben reeds een tijdje bezig met PHP en hier en daar lukt er al eens iets :=)) Maar nu stuit ik toch op een probleempje. Ik moet voor een siteje XML data gaan parsen die bekomen wordt uit een URL. Als ik deze URL in een browser invoer dan krijg ik XML code terug. Mijn vraag is

[PHP] Re: protecting your source code?

2004-06-14 Thread Manuel Lemos
Hello, On 06/14/2004 04:49 PM, Edward Peloke wrote: I wrote a bunch of code that will be used for a local site. I usually do all my hosting with a friend who I trust...the new site will be hosted by another company in town (not my choosing) who I don't necessarily trust to not copy the code and re

RE: [PHP] php and CSS

2004-06-14 Thread Robert Sossomon
-Original Message- From: Bruno Santos [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 4:04 PM To: Robert Sossomon Cc: [EMAIL PROTECTED] Subject: Re: [PHP] php and CSS Robert Sossomon wrote: > Bruno, > > Drop some code our way, it's just a guessing game for me without it. > > Rob

RE: [PHP] protecting your source code?

2004-06-14 Thread Adrian Teasdale
Check out: Zend encoder www.zend.com SourceGuardian www.sourceguardian.com IonCube www.ioncube.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] protecting your source code?

2004-06-14 Thread Edward Peloke
Thanks James, I have played with the Zend IDE a little...but will take a look. On a simpler scale, I usually have one main directory which then holds the subdirectories for classes, header, etc. then use includes to pull in header, classes, etc. I tried to call my classes from an external folder

Re: [PHP] php and CSS

2004-06-14 Thread Bruno Santos
Robert Sossomon wrote: Bruno, Drop some code our way, it's just a guessing game for me without it. Robert -Original Message- From: Bruno Santos [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 3:28 PM To: [EMAIL PROTECTED] Subject: [PHP] php and CSS Hello all. Im deleloping some PHP

RE: [PHP] protecting your source code?

2004-06-14 Thread James Harrell
Hi Edward, Check out the Zend Encoder: www.zend.com To run encoded/compiled programs, the server will need the (free) Zend Optimizer, available for download at the same location. Zend has a small-business program that if your yearly revenues are less than some magic number, you get a major discou

[PHP] Re: [PHP5] Super constructor?

2004-06-14 Thread franciccio
ok thanks "Justin Patrin" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Franciccio wrote: > > > If i'm not wrong php has only 1 level of depth for child class. That means > > you can only extends from 1 level up the class. > > In your example you have the class OneMore that

[PHP] Re: Load 2 Frames (possibly OT)

2004-06-14 Thread Torsten Roehr
"Robert Sossomon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I need to load 2 frames from within PHP, I just don't know how to do it. > > I have tried header calls, I've tried echoing out the javascript > command, but I need a way to load the pages at one time. > > Layout: >

RE: [PHP] php and CSS

2004-06-14 Thread Robert Sossomon
Bruno, Drop some code our way, it's just a guessing game for me without it. Robert -Original Message- From: Bruno Santos [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 3:28 PM To: [EMAIL PROTECTED] Subject: [PHP] php and CSS Hello all. Im deleloping some PHP pages for school

[PHP] Load 2 Frames (possibly OT)

2004-06-14 Thread Robert Sossomon
I need to load 2 frames from within PHP, I just don't know how to do it. I have tried header calls, I've tried echoing out the javascript command, but I need a way to load the pages at one time. Layout: add List see You use list to add information, when things are added in add

[PHP] protecting your source code?

2004-06-14 Thread Edward Peloke
I wrote a bunch of code that will be used for a local site. I usually do all my hosting with a friend who I trust...the new site will be hosted by another company in town (not my choosing) who I don't necessarily trust to not copy the code and reuse it for other sites. How can I protect the code?

[PHP] php and CSS

2004-06-14 Thread Bruno Santos
Hello all. Im deleloping some PHP pages for school work, and now, im trying to put the pages nice, with some colors and images, etc... I found a problem regarding CSS and PHP The same page, with html extension, it works fine, but when the page becames with php extension, the CSS just dont work.

Re: [PHP] [PHP5] Super constructor?

2004-06-14 Thread Justin Patrin
Hmm, looks like my reply got lost. Here's my ideas: Instead of parent::__construct() use Class1::__construc(). This way, you go straight to the top-level constructor without going through the middle constructors. This means that you *must* overload __construct in all child classes or else the co

[PHP] Re: [PHP5] Super constructor?

2004-06-14 Thread Justin Patrin
Franciccio wrote: If i'm not wrong php has only 1 level of depth for child class. That means you can only extends from 1 level up the class. In your example you have the class OneMore that extends down from the "grandfather" Base. It is not a problem in C++ but should not work in php or either java

RE: [PHP] Problems compiling PHP 5 RC3

2004-06-14 Thread Luca Spiller
U, how do I set the make commands to do that? -Original Message- From: raditha dissanayake [mailto:[EMAIL PROTECTED] Sent: 13 June 2004 15:43 To: [EMAIL PROTECTED] Subject: Re: [PHP] Problems compiling PHP 5 RC3 Luca Spiller wrote: >I am having a few problems compiling PHP 5 RC 3.

Re: [PHP] Erroring out?!

2004-06-14 Thread Steve Douville
Taking the die() out may have helped your script continue but now you won't know if there are sql problems which would cause you to not get any data. I typically trap the error in a string variable or an array, depending on the application, and print that out in a nice way to see why my query didn'

RE: [PHP] Erroring out?!

2004-06-14 Thread Robert Sossomon
I took out the "or die(mysql_error())" and the script seems to continue correctly, however as there are no results it should be loading 2 windows in different pages, but I get only a white screen and no messages written to the error logs. I am trying to use the header function to javascript load 2

Re: [PHP] Erroring out?!

2004-06-14 Thread Daniel Clark
I think you need single quotes around $user. $query = "select * from quoteprefs where salesman = '$user'"; > I am trying to figure out why if there is an error in my query it throws > an error message to the screen instead of parsing the rest of my script > to get the rest of the information. I

Re: [PHP] Load a frame and work on another?

2004-06-14 Thread Steve Douville
Did you try to just echo the javascript statements instead of trying to use the header? Should have the same effect. - Original Message - From: "Robert Sossomon" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Monday, June 14, 2004 2:32 PM Subject: [PHP] Load a frame and work

Re: [PHP] Erroring out?!

2004-06-14 Thread Chris
Robert Sossomon wrote: I am trying to figure out why if there is an error in my query it throws an error message to the screen instead of parsing the rest of my script to get the rest of the information. I have error checking in my script and if there is no information I want it to process and do

Re: [PHP] Erroring out?!

2004-06-14 Thread Steve Douville
You need to quote the $user: $query = "select * from quoteprefs where salesman = '$user'"; - Original Message - From: "Robert Sossomon" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Monday, June 14, 2004 2:44 PM Subject: [PHP] Erroring out?! > I am trying to figure out w

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Michal Migurski
> [snip} > > As well as much harder for AOL subscribers (whose IP's change per-request) > > to use the site. > [snip] > > WHAT?? Are you sure of this? AOL really breaks internet browsing this > much? Sorry, I can't believe this. If this was true, many things would > break. Not really -- HTTP is st

[PHP] Erroring out?!

2004-06-14 Thread Robert Sossomon
I am trying to figure out why if there is an error in my query it throws an error message to the screen instead of parsing the rest of my script to get the rest of the information. I have error checking in my script and if there is no information I want it to process and do things. I run this: pa

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Chris
Paul Fierro wrote: On 06/14/2004 1:02 PM, Justin Patrin <[EMAIL PROTECTED]> wrote: As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this w

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Chris
Marek Kilimajer wrote: Justin Patrin wrote --- napísal:: [snip} As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this was true, many thin

[PHP] Load a frame and work on another?

2004-06-14 Thread Robert Sossomon
Here is a piece of my code in my PHP, I am trying to reload frame C with updated information and reload the current page into the current frame. Can someone tell me where I am going wrong? if (mysql_num_rows($get_query_res) < 1){ //invalid id, send away header("parent.C.location.href = \"show.html

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Paul Fierro
On 06/14/2004 1:02 PM, Justin Patrin <[EMAIL PROTECTED]> wrote: >> As well as much harder for AOL subscribers (whose IP's change per-request) >> to use the site. > > WHAT?? Are you sure of this? AOL really breaks internet browsing this > much? Sorry, I can't believe this. If this was true, many t

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Marek Kilimajer
Justin Patrin wrote --- napísal:: [snip} As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this was true, many things would break. I know

[PHP] Re: small and big letter in WHERE statement

2004-06-14 Thread franciccio
In case u run under win32 ...WHERE REGXEP BINARY fileldname=whatever.. If you run under unix, linux you don't need to do that. Franciccio "Qt" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Dear Sirs, > > When I use where statement, I see that there is no meaning small an

[PHP] MapServer and PHP/MapScript

2004-06-14 Thread René Fournier
Anybody have any experience (good or bad) with MapServer? (http://mapserver.gis.umn.edu/) And if so, can you comment on how good or bad PHP/MapScript is? (http://mapserver.gis.umn.edu/doc42/phpmapscript-class-guide.html) Thanks. ...Rene -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Re: [PHP5] Super constructor?

2004-06-14 Thread franciccio
If i'm not wrong php has only 1 level of depth for child class. That means you can only extends from 1 level up the class. In your example you have the class OneMore that extends down from the "grandfather" Base. It is not a problem in C++ but should not work in php or either javascript. Am i wron

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Justin Patrin
Robert Cummings wrote: On Mon, 2004-06-14 at 14:02, Justin Patrin wrote: [snip] As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] I don't think it changes per request, but rather has the potential to change between requests. I still don't believe t

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Robert Cummings
On Mon, 2004-06-14 at 14:02, Justin Patrin wrote: > [snip} > > As well as much harder for AOL subscribers (whose IP's change per-request) > > to use the site. > [snip] > I don't think it changes per request, but rather has the potential to change between requests. Cheers, Rob. -- .

[PHP] Re: creating a nested multidimensional array from a query

2004-06-14 Thread Justin Patrin
PLEASE stop posting the same qustion over and over. If you're not subscribed to the list (or reading it via news.php.net) you need to be to see responses. I sent a response to this question earlier today. [EMAIL PROTECTED] wrote: Hi :) I am on my second week of php so be gentle I am creating an

Re: [PHP] PHP CRM

2004-06-14 Thread John Nichel
Anton Krall wrote: Guys. Anybody knows any open source CRM thats based on PHP or something similar? Im looking for CRM alternatives... Thx for any comments. Anton Krall Please don't ask for read receipts when sending to a mailing list. -- John C. Nichel KegWorks.com 716.856.9675 [EMAIL PROTECTED] -

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Justin Patrin
[snip} As well as much harder for AOL subscribers (whose IP's change per-request) to use the site. [snip] WHAT?? Are you sure of this? AOL really breaks internet browsing this much? Sorry, I can't believe this. If this was true, many things would break. I know that dial-up users get different IP

[PHP] PHP CRM

2004-06-14 Thread Anton Krall
Guys. Anybody knows any open source CRM thats based on PHP or something similar? Im looking for CRM alternatives... Thx for any comments. Anton Krall -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Function Date

2004-06-14 Thread Richard Davey
Hello Juan, Monday, June 14, 2004, 6:04:56 PM, you wrote: JPH> I am using date("j M Y"), the format date is 14 Jun 2004, but i need this JPH> format 14 JUN 2004. The unique difference is Jun -> JUN. How can i change JPH> this?. $date = strtoupper(date('j M Y')); :) Best regards, Richard Davey

Re: [PHP] Function Date

2004-06-14 Thread Daniel Clark
How about. strtoupper( date("j M Y")) > I am using date("j M Y"), the format date is 14 Jun 2004, but i need this > format 14 JUN 2004. The unique difference is Jun -> JUN. How can i change > this?. > Thank You, > Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] Function Date

2004-06-14 Thread Dennis Freise
On Mon, 14 Jun 2004 14:04:56 -0300 (ART) "Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote: > I am using date("j M Y"), the format date is 14 Jun 2004, but i need this > format 14 JUN 2004. The unique difference is Jun -> JUN. How can i change > this?. How about strtoupper( date("j M Y") ); ? -- D

RE: [PHP] Function Date

2004-06-14 Thread Sam Masiello
Use the strtoupper function: http://www.php.net/strtoupper HTH! --Sam -Original Message- From: Juan Pablo Herrera [mailto:[EMAIL PROTECTED] Sent: Monday, June 14, 2004 11:05 AM To: [EMAIL PROTECTED] Subject: [PHP] Function Date Hi! I am using date("j M Y"), the format date is 14 Ju

Re: [PHP] Re: Cookie Security?

2004-06-14 Thread Michal Migurski
> > My login script sets unique, secure, cookies that identify the user. > > Some of my pages only display content if a secure cookie is present. > > Is this a bad idea for secure pages with sensitive details as I have > > heard that cookies can be faked? I am always interested in creating a > > se

[PHP] Function Date

2004-06-14 Thread Juan Pablo Herrera
Hi! I am using date("j M Y"), the format date is 14 Jun 2004, but i need this format 14 JUN 2004. The unique difference is Jun -> JUN. How can i change this?. Thank You, Juan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Cookie Security?

2004-06-14 Thread Justin Patrin
Phpmail wrote: My login script sets unique, secure, cookies that identify the user. Some of my pages only display content if a secure cookie is present. Is this a bad idea for secure pages with sensitive details as I have heard that cookies can be faked? I am always interested in creating a secure

[PHP] Re: Multidimensional Array advice from a newbie

2004-06-14 Thread Justin Patrin
Is this what you need? (See below for inline suggestions). [EMAIL PROTECTED] wrote: Hi :) I am creating an XML file out of a mysql query with nested arrays. Currently I can get 1 element and 1 child with a properly formatted XML file with the below script . My question is: How do I add 3 to 4 m

[PHP] Re: converting a char variable to an int?

2004-06-14 Thread salah
> > > > >>Hi, I have a variable that is created using the date command: > >> > >>$date = date("Ymd"); > >> > >>but its not working in my database this way (when I explicity enter > >>20040614 in my database, it works though

RE: [PHP] gethostbyaddr

2004-06-14 Thread Alicia Riggs
Hi John, Thank you for the ideas :) I am beginning to believe I need a new way to work around this issue. >gethostbyaddr is a simple reverse-DNS lookup (of the >REMOTE_ADDR ip address) requested by your server to >its nameserver. This never goes near the user's IE or >Netscape browser. >T

Re: [PHP] converting a char variable to an int?

2004-06-14 Thread Marek Kilimajer
lliams wrote: Hi, I have a variable that is created using the date command: $date = date("Ymd"); but its not working in my database this way (when I explicity enter 20040614 in my database, it works though). so I think PHP is making $date a character variable, so how can I force or chang

RE: [PHP] converting a char variable to an int?

2004-06-14 Thread Dennis Seavers
("Ymd"); > > but its not working in my database this way (when I explicity enter > 20040614 in my database, it works though). so I think PHP is making $date > a character variable, so how can I force or change the caste of $date to > force it to be an integer variable? than

[PHP] Re: converting a char variable to an int?

2004-06-14 Thread Torsten Roehr
"Adam Williams" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I have a variable that is created using the date command: > > $date = date("Ymd"); > > but its not working in my database this way (when I explicity enter > 20040614 in my

Re: [PHP] converting a char variable to an int?

2004-06-14 Thread Adam Williams
eh nevermind, I found settype(); :) thanks On Mon, 14 Jun 2004, Adam Williams wrote: > Hi, I have a variable that is created using the date command: > > $date = date("Ymd"); > > but its not working in my database this way (when I explicity enter > 20040614 in

[PHP] converting a char variable to an int?

2004-06-14 Thread Adam Williams
Hi, I have a variable that is created using the date command: $date = date("Ymd"); but its not working in my database this way (when I explicity enter 20040614 in my database, it works though). so I think PHP is making $date a character variable, so how can I force or change th

RE: [PHP] Help with an objective

2004-06-14 Thread Dennis Seavers
Also check the archives of this e-mail list. I believe this topic has been discussed before. > [Original Message] > From: Ryan Schefke <[EMAIL PROTECTED]> > To: Php-General-Help <[EMAIL PROTECTED]> > Date: 06/14/2004 5:48:16 AM > Subject: [PHP] Help with an objective > > All, > > > > I would l

Re: [PHP] PHP 4.3.7 update - how to

2004-06-14 Thread raditha dissanayake
Alan McDonald wrote: I've downloaded the 4.3.7 tar ball and extractted it. I've run configure (after deleting the cache), no errors. I've run make - no errors, I've then run make install.. no errors, it says it's updating and installing. Now I've restarted my httpd service - I've even rebooted but

Re: [PHP] Re: Header target?

2004-06-14 Thread Marek Kilimajer
Bob Lockie wrote --- napísal:: On 06/12/04 19:05 Kim Steinhaug spoke: Steve Douville had a long answer, the short answer : no Ok, thanks. I want to avoid relying on Javascript anyways. Make _top the target of the form, then rebuild the frameset based on your logic. -- PHP General Mailing List (h

Re: [PHP] small and big letter in WHERE statement

2004-06-14 Thread John Nichel
QT wrote: Dear Sirs, When I use where statement, I see that there is no meaning small and big letter. Without looking small caps or big, result comes back. But I want to match only small letters. How can I do that? Best REgards Where statement for what? MySQL? If so, I don't think you can do it o

Re: [PHP] Re: PHP 4.3.7 update - how to

2004-06-14 Thread John Nichel
Alan McDonald wrote: I must be missing something critical here... I was thinking that the make install would overwrite the PHP executables but it obviously doesn't .. Now where in the conf file does the PHP module get mentioned? I;ve searched it with no mention of PHP! Alan Make will overwrite the

Re: [PHP] Re: Header target?

2004-06-14 Thread Bob Lockie
On 06/12/04 19:05 Kim Steinhaug spoke: Steve Douville had a long answer, the short answer : no Ok, thanks. I want to avoid relying on Javascript anyways. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Scheduling a PHP script

2004-06-14 Thread Phil Ewington - 43 Plc
> On Mon, 14 Jun 2004 12:10:30 +0100 > "Phil Ewington - 43 Plc" <[EMAIL PROTECTED]> wrote: > > > PHP > > - > > /usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3 > > > > After resolving include path issues using ini_set() I get... Call to > > undefined function: mysql_co

[PHP] Regular Expression - it works but uses way too much memory ?

2004-06-14 Thread Ulrik S. Kofod
$replace = "/^(([a-z]+?[^a-z]+?){".($count)."})(".$typedmask.")(.*)/iS"; $with = "$1$3$4"; $text = preg_replace ($replace,$with,$text,1); Above preg_replace works as expected, I have it inside a loop that processes 1000 texts and replaces a total of 3 words. The problem is that it accumulat

Re: [PHP] Re: PHP 4.3.7 update - how to

2004-06-14 Thread Marek Kilimajer
Alan McDonald wrote --- napísal:: I've downloaded the 4.3.7 tar ball and extractted it. I've run configure (after deleting the cache), no errors. I've run make - no errors, I've then run make install.. no errors, it says it's updating and installing. Now I've restarted my httpd service - I've even

[PHP] Re: PHP 4.3.7 update - how to

2004-06-14 Thread Alan McDonald
> > I've downloaded the 4.3.7 tar ball and extractted it. I've run configure > > (after deleting the cache), no errors. I've run make - no errors, I've then > > run make install.. no errors, it says it's updating and installing. > > Now I've restarted my httpd service - I've even rebooted but I'm l

Re: [PHP] PHP 4.3.7 update - how to

2004-06-14 Thread Marek Kilimajer
Alan McDonald wrote --- napísal:: I've downloaded the 4.3.7 tar ball and extractted it. I've run configure (after deleting the cache), no errors. I've run make - no errors, I've then run make install.. no errors, it says it's updating and installing. Now I've restarted my httpd service - I've even

[PHP] Re: PHP 4.3.7 update - how to

2004-06-14 Thread Lester Caine
Alan McDonald wrote: I've downloaded the 4.3.7 tar ball and extractted it. I've run configure (after deleting the cache), no errors. I've run make - no errors, I've then run make install.. no errors, it says it's updating and installing. Now I've restarted my httpd service - I've even rebooted but

RE: [PHP] Help with an objective

2004-06-14 Thread Jay Blanchard
[snip] I would like to use php to email a picture (as an attachment) that is on my server (linux), without manually attaching/uploading one. Is this possible? If so, how can it be done? [/snip] Google can be your friend, if you use it http://www.zend.com/zend/spotlight/sendmimeemailpart1.php

[PHP] Help with an objective

2004-06-14 Thread Ryan Schefke
All, I would like to use php to email a picture (as an attachment) that is on my server (linux), without manually attaching/uploading one. Is this possible? If so, how can it be done? Thanks, Ryan

[PHP] PHP 4.3.7 update - how to

2004-06-14 Thread Alan McDonald
I've downloaded the 4.3.7 tar ball and extractted it. I've run configure (after deleting the cache), no errors. I've run make - no errors, I've then run make install.. no errors, it says it's updating and installing. Now I've restarted my httpd service - I've even rebooted but I'm left with phpinfo

Re: [PHP] Scheduling a PHP script

2004-06-14 Thread Dennis Freise
On Mon, 14 Jun 2004 12:10:30 +0100 "Phil Ewington - 43 Plc" <[EMAIL PROTECTED]> wrote: > PHP > - > /usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3 > > After resolving include path issues using ini_set() I get... Call to > undefined function: mysql_connect(). > I assum

RE: [PHP] Combo problems.. Multi Array??

2004-06-14 Thread Ford, Mike [LSS]
> -Original Message- > From: Michael Benbow [mailto:[EMAIL PROTECTED] > Sent: 14 June 2004 08:31 > To: [EMAIL PROTECTED] > Subject: [PHP] Combo problems.. Multi Array?? > > > Hi, > > I've got a problem which has left me scratching my head for > the better > part of a week. [...] >

[PHP] Scheduling a PHP script

2004-06-14 Thread Phil Ewington - 43 Plc
Hi All, I have a PHP script that I need to call from both web browsers & from a crontab but whichever route I choose I hit a problem. Here are the options I have tried along with problems encountered... PHP - /usr/bin/php /home/sites/home/web/schedules/index.php arg1 arg2 arg3 After res

[PHP] [Newbie Guide] For the benefit of new members

2004-06-14 Thread Ma Siva Kumar
=== Please feel free to add more points and send to the list. === 1. If you have any queries/problems about PHP try http://www.php.net/manual/en first. You can download a copy and use it offline also. Please also try htt

RE: [PHP] PHP

2004-06-14 Thread Umesh Deshmukh
Hi, You can visit www.phpclasses.org There are n number of classes given for validation. Regards, Umesh. -Original Message- From: Brent Clark [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 5:28 PM To: Cheung Pui Pan; [EMAIL PROTECTED] Subject: RE: [PHP] PHP hi is this a j

RE: [PHP] PHP

2004-06-14 Thread Brent Clark
hi is this a joke -Original Message- From: Cheung Pui Pan [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 09, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: [PHP] PHP Dear Sir/Madam, I would like to make a page on which people may add records to a table and view them (As my web server do

[PHP] Array problem

2004-06-14 Thread Brent Clark
Hi all I have this problem whereby im try to create some kind of an array of a split off a file. //Here I pull the file in the array $contents. $contents = file($hotelpathprod.$hotel); foreach($contents as $arr=>$conts){ $ff[] = split("\|",$conts); //Here im trying t

RE: [PHP] small and big letter in WHERE statement[Scanned]

2004-06-14 Thread Michael Egan
The following may help: http://dev.mysql.com/doc/mysql/en/Case_sensitivity.html Cheers, Michael Egan -Original Message- From: QT [mailto:[EMAIL PROTECTED] Sent: 14 June 2004 18:36 To: [EMAIL PROTECTED] Subject: [PHP] small and big letter in WHERE statement[Scanned] Dear Sirs, When I

Re: [PHP] connecting remote host ..

2004-06-14 Thread Angel Freire
Reloadind database isn't necesary, a flush privileges should be ok. El lun, 14-06-2004 a las 04:32, Manoj Nahar escribió: > Hi Gowthaman, > > For mysql to allow remove connecivity u have to make entry in mysql > database in tables db, user and host giving the IP of remote PC from > which u want t

  1   2   >