Re: [PHP] Re: Site bloated by images/method question added

2006-02-16 Thread Lists
>> I've already pushed up memory_limit in php.ini, but no good :( >> >> Any help would be apreciated. >> >> Warm Regards, >> MARG >The site itself takes ages to appear. lol. > >Source code please! > >How is the site genereated? >where are the images stored? Browser Activity on that page (quoted

[PHP] Controlling browser windows with php?

2003-02-09 Thread Geoff Lists
Hi, I'm relatively new to php and neither of the books I am using for reference mention anything about controlling a child window. What is the correct syntax to: open window( width, height, menu, scrollbars) and position it on the screen? Any help would be gratefully and humbly accepted I need

[PHP] curl_init() ??

2002-09-12 Thread Geoff Lists
Hi, I am using PHP v.4.1.2, CURL v7.7.2 with Apache server on MacOS X 10.1.5 I have a PHP script containing the following: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"http://omitted.com";); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_

Re: [PHP] Finding out what week it is

2002-05-15 Thread PHP lists
$week = date("W"); DOJ> Is there any way to determin what week of the year it is, for example to DOJ> day it is the 20th week of the year. DOJ> Thanks DOJ> DOJ> Davíð Örn Jóhannssson DOJ> Vefforritari DOJ> DOJ> Atómstöði

[PHP] redoing website after 7 years

2009-01-07 Thread Lamp Lists
hi guys, I did php/mysql based website for one my client 7 years ago, in time when register_globals was on by default. hosting company upgraded server to php5/mysql5 and turned globals off. the site is doesn't work any more. I can define globals on again in .htaccess but rather not because it cou

Re: [PHP] redoing website after 7 years

2009-01-07 Thread Lamp Lists
From: Stuart To: lamp.li...@yahoo.com Cc: php-general@lists.php.net Sent: Wednesday, January 7, 2009 8:29:48 AM Subject: Re: [PHP] redoing website after 7 years 2009/1/7 Lamp Lists : > hi guys, > I did php/mysql based website for one my client 7 years a

Re: [PHP] Re: redoing website after 7 years

2009-01-09 Thread Lamp Lists
From: Al To: php-general@lists.php.net Sent: Thursday, January 8, 2009 11:50:26 AM Subject: [PHP] Re: redoing website after 7 years Lamp Lists wrote: > hi guys, > I did php/mysql based website for one my client 7 years ago, in time when > register_gl

Re: [PHP] redoing website after 7 years

2009-01-09 Thread Lamp Lists
I think I did code well (everybody can say the code is 100% proof - until get hacked ;-)) and never, for these 7 years had problems. And I'm sure the site will be just ok if I switch register_globals back to On through .htaccess. Actually, I offered the client 3 options: 1. redo the website (aft

Re: [PHP] redoing website after 7 years

2009-01-09 Thread Lamp Lists
From: Jim Lucas To: Robert Cummings Cc: Nathan Rixham ; Richard Heyes ; lamp.li...@yahoo.com; "php-general@lists.php.net" Sent: Thursday, January 8, 2009 10:51:32 AM Subject: Re: [PHP] redoing website after 7 years Robert Cummings wrote: > On Wed, 2009-01-07

[PHP] HTML pages are faster then php?

2009-01-14 Thread Lamp Lists
hi, as far as I know (at least I was told so) html page will download faster then the same page made with php getting the same info from mysql, right? let's pretend we are building php/mysq based website of one football team. there are pages of every player, about the team, games etc. in admin a

Re: [PHP] HTML pages are faster then php?

2009-01-14 Thread Lamp Lists
From: Ashley Sheridan To: Lamp Lists Cc: php-general@lists.php.net Sent: Wednesday, January 14, 2009 4:47:28 PM Subject: Re: [PHP] HTML pages are faster then php? On Wed, 2009-01-14 at 14:34 -0800, Lamp Lists wrote: > hi, > as far as I know (at least I wa

[PHP] try - catch is not so clear to me...

2009-04-13 Thread Lamp Lists
hi to all! actually, the statement in the Subject line is not 100% correct. I understand the purpose and how it works (at least I think I understand :-)) but to me it's so complicated way? let's take a look in example from php.net(http://us3.php.net/try) getMessage(), "\n"; } // Continue exe

Re: [PHP] try - catch is not so clear to me...

2009-04-13 Thread Lamp Lists
From: Kyle Smith To: Lamp Lists Cc: php-general@lists.php.net Sent: Monday, April 13, 2009 9:52:36 AM Subject: Re: [PHP] try - catch is not so clear to me... Lamp Lists wrote: hi to all! actually, the statement in the Subject line is not 100% correct. I

Re: [PHP] try - catch is not so clear to me...

2009-04-13 Thread Lamp Lists
> > From: Lamp Lists > To: php-general@lists.php.net > Sent: Monday, April 13, 2009 9:29:16 AM > Subject: [PHP] try - catch is not so clear to me... > > hi to all! > > actually, the statement in the Subject line is not 100% correct.

Re: [PHP] try - catch is not so clear to me...

2009-04-13 Thread Lamp Lists
From: Marc Steinert To: Lamp Lists Cc: php-general@lists.php.net Sent: Monday, April 13, 2009 11:27:08 AM Subject: Re: [PHP] try - catch is not so clear to me... Basically try-catch gives you the ability to handle errors outside a class or method scope, by

Re: [PHP] try - catch is not so clear to me...

2009-04-14 Thread Lamp Lists
From: Bastien Koert To: Lamp Lists Cc: Marc Steinert ; php-general@lists.php.net Sent: Tuesday, April 14, 2009 8:11:04 AM Subject: Re: [PHP] try - catch is not so clear to me... On Mon, Apr 13, 2009 at 11:34 PM, Lamp Lists wrote

[PHP] how to manage permissions for file uploader

2009-06-03 Thread Lamp Lists
to upload an image for a photo gallery (my own code) I have to have permission for the directory images 0777. but having permission for a directory 0777 is REALLY bad idea, isn't it? I'm "owner" of the directory (lamp:lamp images). what to do to set my code has permission to upload an image into

Re: [PHP] how to manage permissions for file uploader

2009-06-04 Thread Lamp Lists
From: Phpster To: Lamp Lists Cc: "php-general@lists.php.net" Sent: Wednesday, June 3, 2009 8:30:05 PM Subject: Re: [PHP] how to manage permissions for file uploader This is fairly simple to do as an http upload. With the folder above the web roo

Re: [PHP] how to manage permissions for file uploader

2009-06-04 Thread Lamp Lists
From: Phpster To: Lamp Lists Cc: "php-general@lists.php.net" Sent: Wednesday, June 3, 2009 8:30:05 PM Subject: Re: [PHP] how to manage permissions for file uploader This is fairly simple to do as an http upload. With the folder above the web roo

[PHP] php-mysql problem

2007-04-03 Thread Me2resh Lists
hi i need help regarding a sql query in my php app. the query is : $SQL = "SELECT DISTINCT(EMail) FROM mena_guests WHERE Voted = 'yes' LIMIT $startingID,$items_numbers_list"; i want to sort this query by the number of the repeated EMail counts. can anyone help me with that please ?

[PHP] Windows COM programming.

2005-02-21 Thread Dave Lists
Hi, Anyone got any good pointers to COM programming in PHP under windows? Searching for com in google has been no help to me :-) http://www.zend.com/tips/tips.php?id=262&single=1 and http://www.php.net/manual/en/ref.com.php have been quite helpful, but I'm sure there is much more to see. Dave. --

[PHP] IRC from PHP - help

2005-04-01 Thread Mailing Lists
hello i'm a newcomer to this list, fairly experienced PHP programmer but coding mostly for personal web sites or hobbies. I also run an irc chat network and am curious as to if I can integrate php into it somehow. for example: I want to have a webpage that can present a list of all connected use

[PHP] Curious bug and crash

2005-05-17 Thread Dave Lists
Hi, Tonight I installed a new php5 instance. php5.0.4/apache-1.3.33/mysql-4.1.10. I was getting "\Wed May 18 01:59:42 2005] [notice] child pid 1621 exit signal Segmentation fault (11)" error whenever I accessed a PHP enable page. I recompiled a few times and removed unnecessary modules. Still

[PHP] Syntax error (missing operator) in query expression

2004-04-15 Thread AgfTech Lists
Hi All Following is the INSERT statement I am executing, snip >> INSERT INTO customer (email, password, handle, fname, lname, company, tax_id, addr1, addr2, city, state, zipcode, country, dayphone, evephone, fax, paymethod, cardname, cardnum, expmonth,expyear ,ship_addr

Re: [PHP] Syntax error (missing operator) in query expression

2004-04-15 Thread AgfTech Lists
Got it from there! Thanks! Regards Aman On Thu, 2004-04-15 at 18:27, Marek Kilimajer wrote: > This answers it all: http://sk.php.net/addslashes#28429 > > AgfTech Lists wrote: > > Hi All > > > > Following is the INSERT statement I am executing, >

[PHP] [OT?] Apache/PHP error/warning(s)

2004-06-06 Thread PHP LIsts
Hi list I can understand the difference between 'world writable' and 'writable by the webserver' in concept, but how would I go about manipulating these variables? Specifically, theses are error reports generated when setting up eGroupware (sourceforge.net) Thanks in advance. Stuart -- PHP Ge

Re: [PHP] PHP Web Mail

2004-07-05 Thread Petar [Lists]
www.ilohamail.org You can set this one up in about 10 minutes and will do IMAP and POP3. Works with flat files or MYSQL ..Petar - Original Message - From: "I.A. Gray" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 05, 2004 6:14 PM Subject: [PHP] PHP Web Mail > Hi ever

[PHP] mutiple copies of php with windows iis6

2004-07-22 Thread Petar [Lists]
I tried posting this to php-win a while back with no result so forgive the duplication. Under IIS6 (Windows 2003) you 'register' the file extensions in the web extensions manager which /appears/ to preclude running different binaries for PHP with the same file extension. Example 1: Sitephp

Re: [PHP] mutiple copies of php with windows iis6

2004-07-22 Thread Petar [Lists]
- Original Message - From: "Matt M." <[EMAIL PROTECTED]> To: "Petar [Lists]" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 22, 2004 11:28 PM Subject: Re: [PHP] mutiple copies of php with windows iis6 > > If anyone kn

[PHP] Help Sending Mail

2007-12-10 Thread Me2resh Lists
Dear All, i wrote this class below to send Mail. but when i use it. i get the sender No Body. and from the address of the server, not the From address that i specify. and the MIME Headers as text in the message itself. and the attachment is pasted as binary text also. can anyone help please ?? he

[PHP] html to doc and pdf ??

2007-12-22 Thread Me2resh Lists
Dear All, after suffering with asp.net, i finally convinced the company to turn the application we are using to PHP but my concern is, what is the easiest and best way to convert html that is generated from mysql databse to microsoft word and pdf files the application will run on a linux ser

[PHP] programming and design fees

2008-03-07 Thread Lamp Lists
hi, maybe my question is not exactly for php list, but since php IS involved and since you are such a great people, I hope the question will not disturb you :D I have a project for one electric wholesale store to build a web site. it has to be dynamic, php, database driven web site. it will have

Re: [PHP] programming and design fees

2008-03-08 Thread Lamp Lists
--- Per Jessen <[EMAIL PROTECTED]> wrote: > Lamp Lists wrote: > > > now, I didn't have such a big project "on side" > ever. and I by default > > ALWAY suck in calculations how much time I need > for a project and what > > to charge. I think

Re: [PHP] programming and design fees

2008-03-08 Thread Lamp Lists
--- tedd <[EMAIL PROTECTED]> wrote: > At 7:06 AM -0800 3/8/08, Lamp Lists wrote: > > > >That's actually part I'm interested the most :D > What > >is reasonable? Is reasonable for sucha project with > >complex product catalog and ordering syst

[PHP] difference in time

2008-03-10 Thread Lamp Lists
hi to all! on one eZine site, I have to show when the article is posted but as difference from NOW. like "posted 32 minutes ago", or "posted 5 days ago". is there already sucha php/mysql function? thanks. -ll - Never miss a thing. Make

Re: [PHP] Double click problem

2008-03-20 Thread Lamp Lists
the way I solved the "click back button" issue (simplified vresion): confirmation page (conf.php) -> transfer page (tp.php) -> thank you page (typ.php) #conf.php # after the form is submitted and confirmed header('location: tp.php?url=typ.php'); exit; #tp.php header('location:$_GET['url']); exi

Re: [PHP] php book

2008-03-20 Thread Lamp Lists
opinions of "good book is almost the same as opinion of "good car". I can suggest you to go to barnes and noble or borders or any other bookstore, buy cup of coffee or tea, grab all php books from shelf and read some chapters. you are no going to learn anything, rather to compare "styles". some a

Re: [PHP] Double click problem

2008-03-20 Thread Lamp Lists
- Original Message From: Eric Butera <[EMAIL PROTECTED]> To: Lamp Lists <[EMAIL PROTECTED]> Cc: tedd <[EMAIL PROTECTED]>; php-general@lists.php.net Sent: Thursday, March 20, 2008 11:00:19 AM Subject: Re: [PHP] Double click problem On Thu, Mar 20, 2008 at 10:39 AM,

[PHP] why use {} around vraiable?

2008-03-20 Thread Lamp Lists
hi, I saw several times that some people use this $parameters = array( 'param1' => "{$_POST["param1"]}", 'param2' => "{$_POST["param2"]}" ); or $query = mysql_query("SELECT * FROM table1 WHERE id='{$session_id}'"); I would use: $parameters = array( 'param1' => $_POST["param1"], 'par

Re: [PHP] why use {} around vraiable?

2008-03-20 Thread Lamp Lists
- Original Message From: Nathan Nobbe <[EMAIL PROTECTED]> To: Lamp Lists <[EMAIL PROTECTED]> Cc: php-general@lists.php.net Sent: Thursday, March 20, 2008 11:35:42 AM Subject: Re: [PHP] why use {} around vraiable? On Thu, Mar 20, 2008 at 12:22 PM, Lamp Lists <[EMAIL PR

Re: [PHP] losing session in new window (IE only) [WAS: loosing...]

2008-03-25 Thread Lamp Lists
- Original Message From: Paul Novitski <[EMAIL PROTECTED]> To: php-general@lists.php.net Sent: Tuesday, March 25, 2008 3:05:43 PM Subject: Re: [PHP] losing session in new window (IE only) [WAS: loosing...] At 3/25/2008 12:49 PM, Lamp Lists wrote: >i have a list of people on

[PHP] loosing session in new window (IE only)

2008-03-25 Thread Lamp Lists
hi, i have a list of people on one page. each row, on the end has link view details. it's requested to open detail page in new window. very few people complained they can't open detail page. all of them use IE. I wasn't able to reproduce the error, though using GoToMeeting I was able to look while

Re: [PHP] loosing session in new window (IE only)

2008-03-25 Thread Lamp Lists
- Original Message From: Andrew Ballard <[EMAIL PROTECTED]> To: PHP General list Sent: Tuesday, March 25, 2008 3:41:35 PM Subject: Re: [PHP] loosing session in new window (IE only) On Tue, Mar 25, 2008 at 3:49 PM, Lamp Lists <[EMAIL PROTECTED]> wrote: > hi, > i have a

Re: [PHP] loosing session in new window (IE only)

2008-03-26 Thread Lamp Lists
- Original Message From: Hélio Rocha <[EMAIL PROTECTED]> To: Lamp Lists <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2008 5:14:40 AM Subject: Re: [PHP] loosing session in new window (IE only) If u open the link in the same window, what's the behaviour? On Tue, Mar 25

Re: [PHP] loosing session in new window (IE only)

2008-03-26 Thread Lamp Lists
- Original Message From: Hélio Rocha <[EMAIL PROTECTED]> To: Lamp Lists <[EMAIL PROTECTED]> Sent: Wednesday, March 26, 2008 5:14:40 AM Subject: Re: [PHP] loosing session in new window (IE only) If u open the link in the same window, what's the behaviour? On Tue, Mar 25

Re: [PHP] loosing session in new window (IE only)

2008-03-26 Thread Lamp Lists
--- Richard Lynch <[EMAIL PROTECTED]> wrote: > On Tue, March 25, 2008 4:07 pm, Lamp Lists wrote: > > - Original Message > > From: Andrew Ballard <[EMAIL PROTECTED]> > > To: PHP General list > > Sent: Tuesday, March 25, 2008 3:41:35 PM > &

[PHP] does function extract() trim?

2008-03-28 Thread Lamp Lists
do not laugh, but I "discovered" today function extract(); :D before I used: foreach ($array as $key => $value) { ${$key} = trim($value); } though, "trimming" $value is kind of important to me and I would like to know if extract "trims" too? thanks. -ll

Re: [PHP] does function extract() trim?

2008-03-28 Thread Lamp Lists
- Original Message From: Stut <[EMAIL PROTECTED]> To: Lamp Lists <[EMAIL PROTECTED]> Cc: php General list Sent: Friday, March 28, 2008 4:02:27 PM Subject: Re: [PHP] does function extract() trim? On 28 Mar 2008, at 20:59, Lamp Lists wrote: > do not laugh, but I &qu

Re: [PHP] does function extract() trim?

2008-03-28 Thread Lamp Lists
- Original Message From: Stut <[EMAIL PROTECTED]> To: Lamp Lists <[EMAIL PROTECTED]> Cc: php General list Sent: Friday, March 28, 2008 4:22:25 PM Subject: Re: [PHP] does function extract() trim? On 28 Mar 2008, at 21:14, Lamp Lists wrote: > - Original Message --

Re: [PHP] loosing session in new window (IE only) [SOLVED]

2008-03-28 Thread Lamp Lists
SSIONID=..." maybe.. ev0l but works.. 2008/3/26, Lamp Lists <[EMAIL PROTECTED]>: > > --- Richard Lynch <[EMAIL PROTECTED]> wrote: > > > On Tue, March 25, 2008 4:07 pm, Lamp Lists wrote: > > > - Original Message > > > From: Andrew Ball

[PHP] calling functions from one or multiple files

2008-09-24 Thread Lamp Lists
Hi, Right now I use one file, usually called functions.php, with all functions I'm going to use most likely on every page. Then, I create each function I'm going to use once in a while as separate file. Pro: I would include a function when I'm going to use. Con: I have to write extra include line

[PHP] what's the difference in the following code?

2008-10-17 Thread Lamp Lists
I'm reading "Essential PHP Security" by Chris Shiflett. on the very beginning, page 5 & 6, if I got it correct, he said this is not good: $search = isset($_GET['search']) ? $_GET['search'] : ''; and this is good: $search = ''; if (isset($_GET['search'])) { $search = $_GET['search']; } wha

Re: [PHP] what's the difference in the following code?

2008-10-20 Thread Lamp Lists
- Original Message From: tedd <[EMAIL PROTECTED]> To: Lamp Lists <[EMAIL PROTECTED]>; php-general@lists.php.net Sent: Monday, October 20, 2008 8:25:50 AM Subject: Re: [PHP] what's the difference in the following code? At 10:58 AM -0700 10/17/08, Lamp Lists wrote: >I&

Re: [PHP] what's the difference in the following code?

2008-10-20 Thread Lamp Lists
- Original Message From: tedd <[EMAIL PROTECTED]> To: php-general@lists.php.net Sent: Monday, October 20, 2008 4:15:02 PM Subject: Re: [PHP] what's the difference in the following code? At 10:12 AM -0400 10/20/08, Daniel Brown wrote: >On Mon, Oct 20, 2008 at 10:02 AM, tedd <[EMAIL PROTE

[PHP] COM and MS word.

2005-09-12 Thread Dave Lists
Hi all, I'm using com to acces MS word and building tables: $word->Documents-Add(); \\ Gives me a new doc $word->Selection->InsertAfter("poo, foo, you"); \\ gives me one row $word->Selection->ConvertToTable(","); \\ converts the table to a row. What I can't work out is how to change the width on

[PHP] PDF printing under windows.

2005-10-24 Thread Dave Lists
I'm generating PDFs under windows using PDFlib and all is easy. What I am wondering though, and google reveals nothing usefull, can I print the PDF to a network printer from windows? I'm presuming to print the file I would ahve to use COM and open it under Acrobat? Anyone done this before and h

Re: [PHP] PDF printing under windows.

2005-10-25 Thread Dave Lists
Richard Lynch wrote: On Mon, October 24, 2005 1:48 pm, Dave Lists wrote: I'm generating PDFs under windows using PDFlib and all is easy. What I am wondering though, and google reveals nothing usefull, can I print the PDF to a network printer from windows? I'm presuming to print

Re: [PHP] PDF printing under windows.

2005-10-25 Thread Dave Lists
[EMAIL PROTECTED] wrote: Two (and a half) things: 1. Even though DOS/Windows machines don't have, specifically, /dev/printer or /dev/lpr or whatever the *nix specific is, it does have a LPTx: device According to the page listed below, it may be possible to do: copy /b filename LPTx The /b in

[PHP] PHP / mcrypt compile

2003-07-19 Thread Tom Ray [Lists]
Ok, I've never done this before so I want to double check before I do it. I'm running RH 7.3 and PHP was installed as a RPM. Now I've just installed libmcrypt. My question is when I go to recompile PHP can I just run the PHP configure file as "configure --with-mcrypt[=DIR] --disable-posix-threa

Re: [PHP] Automatic Headers and Footers

2003-06-06 Thread Tom Ray [Lists]
I would have to say yes it can be done. The way *I* would do it is like this: First, I would drop a .htaccess file that allows the HTML files to run through the PHP parser. Like this AddType application/x-httpd-php .php .html The in all of the HTML docs it would look like this: -HTML- -Head- -

[PHP] Cookies and Expirations

2003-06-04 Thread Tom Ray [Lists]
Simple question: How do I check the expiration of a cookie that has been set? I can't seem to find it on php.net, if it is there..please provide the proper link for me and I will read up on it. Thanks, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] mcrypt installation

2003-06-04 Thread Tom Ray [Lists]
I'm just a little curious, I've never really don't this before, but is installing mcrypt usually a very hard thing to do, or will it be pretty simple for a dolt like me? :) Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
I'm having a bit of a formatting issue, and I was wondering if someone might have an idea on how to solve it. Basically what I have right now is a script that opens and reads the content of an image directory, each time the script is accessed it writes the contents out to a text file for me. I

Re: [PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
with the proper line breaks: $dat="$_GET[gallery].dat"; $file=fopen($dat, 'r'); $contents = fread ($file, filesize ($dat)); fclose($file); $img=explode("|",$contents); print ""; foreach($img as $image) { if($image) print ""; } print

Re: [PHP] reverse DNS lookup with PHP

2003-06-14 Thread Tom Ray [Lists]
$_SERVER[REMOTE_HOST]; This will do a reverse lookup on their IP. Manual Link: http://ca3.php.net/manual/en/reserved.variables.php#reserved.variables.server Hope it helps Tim Thorburn wrote: Hi, I'm setting up a simple tracking program for a website I'm working on. Currently it records a vis

Re: [PHP] php editor?

2003-06-14 Thread Tom Ray [Lists]
Why not just use PICO? Kevin Ison wrote: now theres a sadistic way to code! I used to use vi... to be honest I like it. but on a windows platform crimson editor works well. "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Because some of us, work directly on the se

[PHP] Maybe a silly question

2003-10-09 Thread Tom Ray [Lists]
I'm wondering if someone can explain something for me. I've never used this before but have seen it used in numerous sets of coding. What does the -> do? I see stuff like $test=$test->test_url = "Something"; $test1=$test->test_this = "Something Else"; Is it some sort of array function? I'm just

Re: [PHP] Maybe a silly question

2003-10-10 Thread Tom Ray [Lists]
thanks, now that I know what it's for I know where to find it on php.net Ryan Thompson wrote: It's for classes. A site called http://www.php.net has some great documentation on it. $object->property (or function whatever the case may be) On Friday 10 October 2003 01:57, Tom Ray

[PHP] Upgrading to 4.04 question, but won't stick

2001-01-21 Thread Team JUMP Lists
We've had 4.01 running since July so I thought I'd upgrade to 4.04 from the tarball last night. Everything went fine w/ the compile, no errors. Install said all OK, Then i went and HUP'd apache but when I run phpinfo() the old module is still loaded. What am I doing wrong? Where should I look to

[PHP] Is there a brian I can pick?

2004-07-26 Thread Tom Ray [Lists]
Hey all- I've run into a small bump in some code I'm writing for a membership database. The first thing that needs to be done is an index of all states in the US with members. The fun part is that the state information is stored as the abbreviation in the database (ie MI, WI) and the HTML page

[PHP] Sessions Timeout

2004-07-27 Thread Enda Nagle - Lists
Hi Guys, I have a problem with a site where I¹m using sessions. Basically, I have it so that someone enters the site and their session (shopping cart ref) is created on entry (unless it already exists) and all variables are stored in the session. Problem is that when someone goes so far in the o

[PHP] Sendmail Return-Path

2004-07-27 Thread Enda Nagle - Lists
Hi Guys, I¹m using PHP¹s mail() function on several sites, but have difficulty sometimes with the mails being tagged as SPAM. I want to have the Return-Path set to the site admin, but can¹t see where to do this. I know that it can be done at server root level but I can¹t really do that as its a

Re: [PHP] html text area and mysql text fields

2004-07-27 Thread Enda Nagle - Lists
I usually leave the string intact in the database because if you need to show it in an admin area or something, you don¹t need to convert it back again before populating the text area. Suppose it just comes down to personal preference... Or is there a specific benefit to doing it this way? Regard

Re: [PHP] Sendmail Return-Path

2004-07-27 Thread Enda Nagle - Lists
D]"; $message .="xx"; mail($to, $subject, $message, $from, $headers) or print "Could not send mail to customer"; But I get a SAFE MODE error, so I guess I¹ll just have to try that PEAR package. Regards Enda -- On 27/07/2004 22:25, "Justin Patrin" <[EM

[PHP] COUNT(*) Output Question

2004-08-02 Thread Tom Ray [Lists]
Hey- I'm query my mySQL database to see how many of each Sku has been ordered. I am doing my query as: $count=mysql_query("SELECT sku, COUNT(*) FROM orders GROUP BY sku"); But my question is how do I use PHP to output the COUNT(*) results? When I run the command when I'm logged into mySQL I get

Re: [PHP] COUNT(*) Output Question

2004-08-02 Thread Tom Ray [Lists]
Thanks JohnI didn't think of thatI've been working on this catalog admin interface for to long..my brain is mush. John W. Holmes wrote: From: "Tom Ray [Lists]" <[EMAIL PROTECTED]> $count=mysql_query("SELECT sku, COUNT(*) FROM orders GROUP BY sku&quo

[PHP] tempnam() not working as expected...

2012-04-13 Thread tamouse mailing lists
Can someone explain the following to me: /Users/tamara/Sites/gallery/lib/common/t/dirGuWOLW is a directory /private/var/folders/pI/pIx-p0mhH5eEQ64yAiDQmE+++TI/-Tmp-/fileC7Rnzg is a directory Why isn't the second tempnam using the directory path I pass to it? The strange thing I notice is th

Re: [PHP] case-insensitive $_REQUEST,$_GET,$_POST keys?

2012-04-13 Thread tamouse mailing lists
On Fri, Apr 13, 2012 at 12:22 PM, David OBrien wrote: > On Fri, Apr 13, 2012 at 1:13 PM, tamouse mailing lists > wrote: >> >> Anyone have a quick-and-dirty way to check $_REQUEST keys that is >> case-insensitive? >> >> -- >> PHP General Mailing List (htt

Re: [PHP] tempnam() not working as expected...

2012-04-18 Thread tamouse mailing lists
On Mon, Apr 16, 2012 at 3:09 AM, ma...@behnke.biz wrote: >> mkdir($d,777,true);                /* make the directory */ > Try using "mkdir($d, 0777, true);" Herein, my friends, lies the problem. Silly me, using a DECIMAL number (777) instead of an OCTAL number (0777). -- PHP General Mailing List

Re: [PHP] sms class

2012-04-18 Thread tamouse mailing lists
On Tue, Apr 17, 2012 at 2:08 PM, DZvonko Nikolov wrote: > I need a class that sends sms messages to list of numbers. > I'm quite new to that issue, so I need to know what I need > more. Thanks in advance. If this is very low volume, would using email->sms work? -- PHP General Mailing List (http

Re: [PHP] Re: Email Antispam

2012-04-18 Thread tamouse mailing lists
On Wed, Apr 18, 2012 at 8:47 PM, Ross McKay wrote: > On Wed, 18 Apr 2012 11:08:00 -0400, Jim Giner wrote: > >>He literally wants the "addresses" visible on the sight?  [...] > > Yes, they want the addresses visible and clickable on the website. They > have contact forms, but they also want the ema

Fwd: [PHP] sms class

2012-04-19 Thread tamouse mailing lists
> -- Forwarded message -- > From: DZvonko Nikolov > Date: Thu, Apr 19, 2012 at 5:10 AM > Subject: Re: [PHP] sms class > To: tamouse mailing lists > > > if this is simple, yes. > > >

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread tamouse mailing lists
Maybe this will make the syntax errors stand out more: http://dl.dropbox.com/u/571329/Screenshots/Picture%209.png -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SqLite INSERT want not write

2012-04-19 Thread tamouse mailing lists
On Thu, Apr 19, 2012 at 2:17 PM, Steven Staples wrote: >> -Original Message- >> From: Silvio Siefke [mailto:siefke_lis...@web.de] >> Sent: April 19, 2012 3:11 PM >> To: php-general@lists.php.net >> Subject: Re: [PHP] SqLite INSERT want not write >> >> On Thu, 19 Apr 2012 14:57:04 -0400 >>

[PHP] Re: [PHP-DB] School timetable in php

2012-04-22 Thread tamouse mailing lists
On Sun, Apr 22, 2012 at 1:41 AM, Vinay Kannan wrote: > Weekly subject wise lecture schedule, subject wise / faculty wise. > > > On Sun, Apr 22, 2012 at 12:02 PM, tamouse mailing lists > wrote: >> >> On Fri, Apr 20, 2012 at 7:00 AM, Vinay Kannan wrote: >> >

Re: [PHP] Running through an enormous SQL file

2012-05-04 Thread tamouse mailing lists
On Fri, May 4, 2012 at 6:36 PM, Brian Dunning wrote: > I have a script that downloads a 267MB SQL file (it creates and loads a MySQL > database). Any idea how to do this? Obviously I'm not going to get a file > that size into memory to loop through. Is there any need to use PHP with this at all

Re: [PHP] Calculating driving distance between UK postcodes

2012-05-04 Thread tamouse mailing lists
On Fri, May 4, 2012 at 9:18 AM, Terry Ally (Gmail) wrote: > Google works in Javascript extensively - not a language with which I > have in-depth experience hence my reason for asking for PHP solution. > > For example the following will get me a JSON output with the distance in > Kms and time. I do

Re: [PHP] function

2012-05-04 Thread tamouse mailing lists
On Thu, May 3, 2012 at 9:12 PM, Ron Piggott wrote: > I need to access a FUNCTION I programmed within a different FUNCTION.  Are > these able to be passed like a variable?  Or are they able to become like a > $_SESSION variable in nature?  How am I able to do this? > > I am essentially programmin

Re: [PHP] PHP & Emacs

2012-05-04 Thread tamouse mailing lists
On Fri, May 4, 2012 at 7:43 AM, Gerardo Benitez wrote: > Hi Mihamina, > > I think that a few number of people use Emacs to write Php, in fact for > proffesionals porpuse the people use a IDE for Php, like Netbeams, Eclipse > PDT or Zend Studio. > > Regards, > Gerardo > > On Wed, May 2, 2012 at 8:2

Re: [PHP] Retrieve pages from an ASP driven site

2012-05-04 Thread tamouse mailing lists
On Wed, May 2, 2012 at 11:37 PM, EPA WC wrote: > Hi List, > > I am trying to write a crawler to go through web pages at > http://www.freebookspot.es/CompactDefault.aspx?Keyword=. But I am not > quite familiar with how asp uses _doPostBack function with the "next" > button below the book list to ad

Re: [PHP] get content rss feed

2012-05-04 Thread tamouse mailing lists
On Wed, May 2, 2012 at 7:00 AM, Doeke Wartena wrote: > I try to get the content from the following rss feed > http://www.adafruit.com/blog/feed/ > > I want to store it in a database in order to use it for a school assignment. > If i look in my browser to the feed then i see content and description

Re: [PHP] Running through an enormous SQL file

2012-05-04 Thread tamouse mailing lists
Please put replies at BOTTOM On Fri, May 4, 2012 at 9:24 PM, Brian Dunning wrote: > How would you launch that from PHP? > > On May 4, 2012, at 6:11 PM, tamouse mailing lists wrote: > >> Is there any need to use PHP with this at all? If it's already in SQL, >> ca

Re: [PHP] function

2012-05-04 Thread tamouse mailing lists
On Fri, May 4, 2012 at 9:18 PM, Jim Giner wrote: > But the OP says "function is defined inside a different function".  Your > theories to a solution don't fit that problem. [snip] > But the OP says "function is defined inside a different function".  Your > theories to a solution don't fit that pro

Re: [PHP] function

2012-05-04 Thread tamouse mailing lists
On Thu, May 3, 2012 at 9:12 PM, Ron Piggott wrote: > I need to access a FUNCTION I programmed within a different FUNCTION.  Are > these able to be passed like a variable?  Or are they able to become like a > $_SESSION variable in nature?  How am I able to do this? > > I am essentially programmin

Re: [PHP] code deployment through php

2012-05-04 Thread tamouse mailing lists
On Wed, May 2, 2012 at 5:23 AM, rene7705 wrote: > On Wed, May 2, 2012 at 11:47 AM, rene7705 wrote: > >> I can't use anything like git on my shared hoster. But I suppose I could >> use something like git at home, and use a sync script like I posted in my >> OP on the shared hoster. >> >> >> > Mayb

Re: [PHP] Best practice question regarding set_include_path()

2012-05-10 Thread tamouse mailing lists
On Thu, May 10, 2012 at 1:50 PM, admin wrote: > > > -Original Message- > From: Al [mailto:n...@ridersite.org] > Sent: Thursday, May 10, 2012 11:44 AM > To: php-general@lists.php.net > Subject: [PHP] Best practice question regarding set_include_path() > > For my applications, I've been usin

Re: [PHP] Converting date string to unix timestamp

2012-05-13 Thread tamouse mailing lists
On Fri, May 11, 2012 at 8:46 PM, Karl DeSaulniers wrote: > On another note, just curious why I keep getting your responses, but don't > get the emails that I post. > Anyone else having trouble with the list like that? That is how the mailing list works. You don't see the messages you send. -- P

Re: [PHP] regexp novice

2012-05-18 Thread tamouse mailing lists
On Thu, May 17, 2012 at 3:37 PM, Jim Giner wrote: > ok - finally had to come up with my own regexp - and am failing. > > Trying to validate an input of a time value in the format hh:mm, wherein > I'll accept anything like the following: > hmm > hhmm > h:mm > hh:mm > > in a 12 hour format.  My prob

Re: [PHP] errors not showing

2012-05-19 Thread tamouse mailing lists
On Sat, May 19, 2012 at 11:16 PM, Tim Dunphy wrote: > Hello Simon, > >  Thanks for your response. > >  However I still can't seem to get errors to show up. > > [dunphy@localhost:~/jf-current] #cat /private/etc/php.ini | grep -e > error_reporting -e display_errors > ; display_errors > ; error_repor

Re: [PHP] errors not showing

2012-05-20 Thread tamouse mailing lists
On Sun, May 20, 2012 at 3:30 PM, Maciek Sokolewicz wrote: > On 20-05-2012 07:17, tamouse mailing lists wrote: >> >> Are these syntax errors or run-time errors? The former won't display >> to the page at all, as they abort PHP before that point. Those written >&g

<    1   2   3   4   5   6   7   >