RE: [PHP] PHP5

2002-10-01 Thread Dan Harrington
a few "PHP executives", incite a few people to sue you for anti-trust and belligerant marketplace strategies, and while you're at it, change your stock ticker. That would be technicolor. Doesn't it seem like we are missing out on a whole lot of fun that could be had? :-) Dan

Re: [PHP] mail function problems

2002-10-02 Thread Dan McCullough
They found the problem, the webserver that the client was on had the wrong path to sendmail, a correction in php.ini and a restart and it was working again. > > --- Debbie Dyer <[EMAIL PROTECTED]> wrote: > > > Hi Dan > > > > > > I (and others

[PHP] getImageSize

2002-10-02 Thread Dan McCullough
anyone know what migth cause this error. I changed the mode to 777, made sure that is was the correct owner.group. getimagesize: Unable to open 'images/product/i3_berkeley_bed_2drw.jpg' for reading = "Theres no such thing as a probl

Re: [PHP] counting number of records in a MySQL table; how do I get

2002-10-02 Thread Dan Koken
Or another way if you don't want a result when it's zero. $rslt = mysql_query("SELECT count(*) as cnt FROM tbl having cnt > 0"); HTH.. Have a great day.. Dan Rasmus Lerdorf wrote: > $ret = mysql_query("SELECT count(*) as foo FROM AuthNum"); > $result =

Re: [PHP] DB speed

2002-10-10 Thread Dan Ostrowski
SQL to find out exactly what is happening when you do a query and if it's using an index properly or not. regards, dan tuxen wrote: >I think i read something a while ago, about mysql being faster, having >less features, but postgres being a little slower but able to handle >LARG

Re: [PHP] DB speed

2002-10-10 Thread Dan Ostrowski
Yes persistant connections to pg make a LOT of difference and are recommended.. I have never had overhead problems using them eaither. I am terribly sorry i didn't mention this before. Just make sure you have proper indexes and you should be good to go. regards, dan Uros Gruber wrote:

[PHP] include "http"

2002-10-15 Thread Dan Healy
returns true or false upon account validation, so I am not sure how I can use fopen I have tried the following so far and cannot get it to work http://myserver/scripts";); $foo=require("/ndsauth.php"); if(!$foo) { exit; } ?> Any suggestions would be appreciated Thanks Dan

[PHP] The hunt for PHP Developers [job applicant search]

2002-10-15 Thread Dan Hardiker
ss on here, but could off list. NOTE: please CC my email address in on any reply. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative -- PHP General Mailing List (

[PHP] Mac OS X EI TEXTAREA Problem

2002-10-26 Thread Dan Tappin
tailer. I can't get the same results in Netscape 7 Mac or either Windows versions. I will blame Microsoft unless there is some obscure encoding issue I can't find. :^) Thanks, Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Form element names starting with the "+" character????

2002-10-27 Thread Dan Tappin
I have a simple method of creating easy form processing I thought I came up with the idea (I am not claiming to be the first) to have form elements I want to update via MySQL starting with either "-" or "+". Example: +name=DAN [EMAIL PROTECTED] -notes= id=1 The firs

Re: [PHP] Form element names starting with the "+" character????

2002-10-27 Thread Dan Tappin
I figured it was something like that. Thanks, Dan On Sunday, October 27, 2002, at 01:41 AM, eNetwizard Developers Team wrote: My understanding is since $+ is illegal, PHP strips the illegal characters from the post variables when creating the post array. I once read it somewhere and if I

Re: [PHP] Form element names starting with the "+" character????

2002-10-27 Thread Dan Tappin
Hello Edwin, What do you mean by "SQL injection"...? Thanks, Dan On Sunday, October 27, 2002, at 01:01 AM, @ Edwin wrote: Hello, Are you sure you want to do something like this? This seems like a good candidate for an "SQL injection"... (Well, I'm not really sure

[PHP] Oracle 7 support

2002-11-12 Thread Dan Field
x27;t locate it myself though. Many thanks, -- Dan Field Systems Development Officer - Social Services Dept. Ceredigion County Council. Mae'r neges ebost hon, ynghyd ag unrhyw ffeiliau sydd ynghlwm wrthi, yn g

RE: [PHP] Oracle 7 support

2002-11-12 Thread Dan Field
On Tue, 2002-11-12 at 13:03, Ford, Mike [LSS] wrote: > > -Original Message- > > From: Dan Field [mailto:danf@;ceredigion.gov.uk] > > Sent: 12 November 2002 12:18 > > > > Can anyone tell me if Oracle 7 is supported by PHP 4.2.2 ? > > Yes. > > &

Re: [PHP] Oracle 7 support

2002-11-12 Thread Dan Field
"trick" PHP by just copying some files from the Oracle-Linux.tar then this would be a great help though. Thanks all for your support. -- Dan Field Systems Development Officer - Social Services Dept. Ceredigion County Council. **

RE: [PHP] preg_replace question

2002-11-20 Thread Dan Rossi
looks like it returns www in the host array a bit silly when i need just the bits afterwards to do a gethostbyname -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 7:41 AM To: electroteque; [EMAIL PROTECTED] Subject: Re: [PHP] preg_replac

RE: [PHP] preg_replace question

2002-11-20 Thread Dan Rossi
thats the thing the urls should be able to parse http:// or www or both and i have to unfortunatly clean up a forced port and directory in the url aswell for gethostname to work -Original Message- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 7:48 AM

RE: [PHP] preg_replace question

2002-11-20 Thread Dan Rossi
this is fine but it didnt parse in just www.domain.com -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 7:41 AM To: electroteque; [EMAIL PROTECTED] Subject: Re: [PHP] preg_replace question --- electroteque <[EMAIL PROTECTED]> wrote: > h

RE: [PHP] preg_replace question

2002-11-20 Thread Dan Rossi
getting really annoying one url will work where another one wont //$formatted_url = preg_replace("/\b((http(s?):\/\/)|(www\.))\b/i", "", $url); //$formatted_url = preg_replace("/\b((http(s?):\/\/)|(www\.))([\w\.]+)([\/\w+\.]+)\b/i", "$5", $url); $formatted_url = ere

[PHP] Apache+PHP+mod_perl configures ok, but Apache won't build

2002-06-04 Thread Dan Serban
hat modifications must I make? Thank you, Dan

Re: [PHP] Displaying images with php?

2002-06-05 Thread Dan Hardiker
in the web browser much better than I can. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions question (-enable-trans-sid)

2002-06-05 Thread Dan Hardiker
s). Placing in the URL may make it look a bit messier (the URL that is) but its much more compatable. Just my 2 cents. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

RE: [PHP] Secure File Upload

2002-06-06 Thread Dan Hardiker
ot; and READ the user comments. The manual + user comments usually holds the answers you seek. ;) -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Secure File Upload

2002-06-06 Thread Dan Hardiker
&m=102079018906224&w=2 But you still have to rely on your visitors as they could simply use another web browser should they wish to DoS your site. Security measures such as logging in before allowing a file upload can come in useful here. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Softwa

RE: [PHP] date problem

2002-06-06 Thread Dan Hardiker
[rtfm for more details] rather than pulling the rows. From here it looks like your fastest option, but your not providing enough information. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Using checkboxes

2002-06-06 Thread Dan Koken
$chk[$i]; $chk[$i] = -1; $chk[$ii] = $ii; } } /* Now you can loop through the chk[] ** list and find out what ones were set */ = HTH. Good luck ... Dan Dirk Beijaard wrote: > Hey all, > > I have a f

Re: [PHP] array_walk

2002-06-06 Thread Dan Hardiker
ot;$key. $item2\n"; } echo "Before ...:\n"; array_walk ($fruits, 'test_print'); reset ($fruits); array_walk ($fruits, 'test_alter', 'fruit'); echo "... and after:\n"; reset ($fruits); array_walk ($fruits, 'test_print'); The

[PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
wxrwxrwt2 root root". The code is listed below. Any suggestions are greatly appreciated. dan user_id; }; // start_session(); // $abqSession = new abqnl; // $abqSession->user_id = $uid; // session_register("abqSession"); // } if ($user_name)

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
s well; less > chance of session hijacking). > > Cheers > > - -- > Shane > www.shanewright.co.uk > Public Key: http://www.shanewright.co.uk/files/public_key.asc > > > On Thursday 06 June 2002 6:31 pm, dan radom wrote: > > I can't seem to get session track

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
d color is: $bgcolor."; ?> argggh! * dan radom ([EMAIL PROTECTED]) wrote: > I've just tried that. /foo is owned by nobody and is mode 777. there's 135M >available on that partition. > > * Shane Wright ([EMAIL PROTECTED]) wrote: > > -BEGIN PGP SIGNED MESSAGE-

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
uot;bleh" > > It might work... who knows... > > - Original Message - > From: "dan radom" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, June 06, 2002 8:36 PM > Subject: Re: [PHP] am i just a session tracking idiot? > >

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
set in php.ini. This should be working! $@%%!@ dan * Shane Wright ([EMAIL PROTECTED]) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi > > On Thursday 06 June 2002 7:55 pm, dan radom wrote: > > the last bgcolor example was cut and pasted from oreilly's s

Re: [PHP] am i just a session tracking idiot?

2002-06-06 Thread dan radom
i got everything working tonihgt. the problem seems to be that i was running this from an apache vhost, and not the real server. why would that matter? how can i fix that? dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Warning: Too many connections in xxx on line xx

2002-06-08 Thread Dan Morris
. Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making code execute on fatal error?

2002-06-08 Thread Dan Hardiker
> I want to make all fatal errors trigger an error file to be include, > the file to exit, and the error never t be displayed. Is there any > way to do this without access to php.ini? Implement your own error handler. There is a load of documentation in the manual. -- Dan Hardike

Re: [PHP] Warning: Too many connections in xxx on line xx

2002-06-08 Thread Dan Morris
lt;[EMAIL PROTECTED]>... > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > * and then Dan Morris declared > > Is there anyway to get rid of this message: > > > > Warning: Too many connections in xxx on line xx > > Can you show the code that connects? > >

Re: [PHP] Formatting XML Data

2002-06-09 Thread Dan Hardiker
anyone know how? Have a look into XSLT... its all in the manual. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Slow to warn...

2002-06-10 Thread Dan Bolser
reporting? What php developement package do you recommend for linux? Cheers, Dan. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] [debugger] ??

2002-06-10 Thread Dan Bolser
I want to use this package, with DBG v2.10pl1, (C) 2000,2001, by Dmitri Dmitrienko, [EMAIL PROTECTED], http://dd.cron.ru but I dont want to spend any money. Any one know of a nusphere hack? What is the story behind that? Cheers, Dan. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Re: Can a php script be placed within a stylesheet?

2002-06-10 Thread Dan Hardiker
ke file.pdf instead I use: header("Content-Disposition: filename=file.pdf"); -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] catching plurals

2002-06-11 Thread Dan Hardiker
oking up against a dictionary file although there are speed impacts. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] forcing file downloads

2002-06-12 Thread Dan Hardiker
uot; ". You could rewrite "http://"; as "%68%74%74%70%3a%2f%2f". -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] view source with opera

2002-06-13 Thread Dan Hardiker
de but only the resulting code >> the script generated. >> So IMHO this is a "hoax". > > Unless your server has phps (source view) enabled. If it has then you > can see the source of any file by using the extension .phps. > > -- > Stuart > > > -- &g

Re: [PHP] view source with opera

2002-06-13 Thread Dan Hardiker
he answer is still no, you cannot gain the source from a functional PHP script unless it has been setup to. There is no exploit to do this with any browser. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.n

[PHP] Quick question

2002-06-14 Thread Dan McCullough
checkboxes stay checked or radio buttons stay selected. thanks, dan __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Evaluation. Easy Question but I need some help

2002-06-14 Thread Dan McCullough
I'm trying to evaluate form submissions. When I return a form submission cause of a missing field I want the radio and checkboxes to reflect what the client submitted. So if somone forgets to fill in their address, but has done everything else fine, I dont want them to have to refill out the

[PHP] pfsockopen

2002-06-14 Thread Dan Goodliffe
... but it seems you can't continue use of that connection in a subsequent script. Either I'm missing something obvious that allows you to do this, or I've missed the point pfsockopen completely. Any help or information greatly appreciated. Many thanks Dan -- PHP General Ma

[PHP] Re: Code Structure/Errors

2002-06-16 Thread Dan Koken
Can simply set $i before the while. I assume the $last_name is coming from the DB. Not exactly sure what you want, but hope this helps. good luck... Dan. -- $i = 0; while ($row = mysql_fetch_array($result)) { extract($row); if (($i % 5) == 0) print &qu

[PHP] find replace quotes with single quotes

2002-06-18 Thread Dan McCullough
I need to strip out the double quotes and replace it with single quotes. Any help would be appreciated. __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- PHP General Mailing List (http://www.php.ne

Re: [PHP] find replace quotes with single quotes

2002-06-18 Thread Dan McCullough
Here is the snippet of code I'm working with. htmlMsg = displayMsg.replace(/"\""/gi,newHTML); --- Adam Voigt <[EMAIL PROTECTED]> wrote: > Hope this helps ya: > > str_replace("\"","'",$data); > > Adam Voigt > [EMAIL PROTEC

[PHP] res_search & dn_expand undefined reference php 4.2.1 / apache 1.3.26 / redhat 6.2

2002-06-20 Thread Dan Harrington
: *** [build-std] Error 2 make[1]: Leaving directory `/usr/local/src/apache_1.3.26' make: *** [build] Error 2 [...snip] and the compile then dies. I've searched the groups and there are some references to this problem, but no solutions that I can find. Redhat 6.2 is the OS. Thanks

Re: [PHP] securing an 'includes' dir

2002-06-28 Thread Dan Hardiker
e /inc/ directory (or further up > towards your docroot with the following: > > > Order Allow,Deny > Deny from all > Change the first line to in order to fit this more secure procedure. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer Fi

Re: [PHP] session.use_trans_sid

2002-06-29 Thread Dan Tappin
> On Saturday 29 June 2002 18:02, Dan Tappin wrote: >> I am setting up a login section of my site using sessions. I have the >> login working with and without cookies enabled. I do not want to restrict >> my users be requiring cookies. >> >> The problem is tha

[PHP] Sessions [Help]

2002-06-29 Thread Dan Tappin
ut sessions here? I have looked all over the web for a simular problem and I can't find one. Help!! :^) Thanks, Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] eregi problems

2002-07-04 Thread dan radom
se enter a valid email address"; exit; } $emp_email is being posted to the form. Any ideas why this is being ignored? dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] eregi problems

2002-07-04 Thread dan radom
My main cnocern at this point is that the eregi is being totally ignored. I just want to make sure the email address is in a valid format, not that it is a valid email address. I'll look at validEmailFormat as well, but I don't understand why it's not even being examined.

RE: [PHP] is their a jobs mailing list?

2002-07-08 Thread Dan Hardiker
I have no idea if this of any use to you guys ... but www.jobserv.co.uk has a load of IT jobs - but AFAIK they are all for mainland UK. Will be helpful for brits in any case. You might find a link to their continental / american / australian counterparts. -- Dan Hardiker [[EMAIL PROTECTED

[PHP] HELP!!! Word count

2002-07-11 Thread Dan McCullough
lines based on character total. Anyone know of way to accomplish this, I know that it will have to be done in seperate ways. but does anyone have an idea or two .. hlp thanks, dan __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http

[PHP] Re: sorting and searching an Array

2002-07-17 Thread Dan Koken
Unless I'm missing something, why put it in an array. Why not just just select the data from the data base that matches your search_name and list it. Something like: SELECT e_mail, name FROM e_mail_file WHERE name = '$search_name' ORDER by name HTH. Dan. [EMAIL PROTECTED] wr

[PHP] Re: To print in PHP

2002-07-21 Thread Dan Koken
Correct PDF does work and is well supported on Macs and Linux, and just about everywhere I looked. But, for out system, it don't work 'JUST FINE'. After a lot of test we decided it was just too slow for our use. Every system is different, and if you can live with PDF and it works for you, use

[PHP] IMAP patch needing testing

2002-07-22 Thread Dan Kalowsky
quota services, that would be just as good. This patch was made against 4.2.1, but there is no reason it shouldn't work against 4.2.2. Thanks for your time, and please cc me in any comments, I'm not subsribed to the list. >-------

Re: [PHP] Can't Connect Within Function?!

2003-09-01 Thread Dan Anderson
add this in the 1st line of the body of the function: global $shs_MySQLServer; global $shs_MySQLUser; global $shs_MySQLPassword; On Mon, 2003-09-01 at 14:20, Seth Willits wrote: > If I try to connect to a database within a function, I get the > following error. Why is this? > > > MySQL Connec

Re: [PHP] Restart Apache with PHP???

2003-09-02 Thread Dan Anderson
securely. -Dan On Tue, 2003-09-02 at 12:19, Joe Harman wrote: > Hey guys & gals... > > Is there a way to restart Apache with a PHP command? > > > > Joe Harman > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Copy database from MySQL to MSAccess

2003-09-02 Thread Dan Anderson
ork. So if you don't have a copy of Access running you will need to figure out how to export it to Access format, or a way to export it easily (Excel lets you open up XML spreadsheets, which are pretty easy to create using PHP. ). -Dan -- PHP General Mailing List (http://www.php.ne

Re: [PHP] read / unread system for my forum

2003-09-02 Thread Dan Anderson
pace in a mySQL database you could create a read_bool BIT in the table and for each user reference it. Of course, if you don't expire forum entries or index the tables you will be looking at serious performance issues. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] Backup Database

2003-09-02 Thread Dan Anderson
Do some googling. I keep seeing this on the listserv and there has to be a free/opensource one out there somewhere. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] opening remote tar.gz files

2003-09-02 Thread Dan Anderson
There are a number of possible solutions. If i remember correctly some compressed file types need the ability to handle them compiled into PHP. Try different things. Sometimes the easiest way to do things is to FTP into the remote server and ftp into your server to transfer it. -Dan -- PHP

Re: [PHP] Block HTML Control

2003-09-02 Thread Dan Anderson
You do realize that you don't need a semicolon right after Seth, > try to mingle PHP and HTML.. that means escape the PHP and jump to HTML > when > you want the HTML.. like this... > > > if (!$var) { > ?> > > > ; > } else { >

[PHP] if else while statement speed

2003-09-03 Thread Dan Anderson
I have a function where I have: would it be quicker to do the above code or: if ($option1) { while(something()) { do_1(); } } elseif ($option2) { while (something()) { do_2(); } } // ... continue for 10 or more options... Thanks, Dan -- PHP General Mailing List (http

Re: [PHP] installing php5

2003-09-03 Thread Dan Anderson
> Has anyone an idea, what I could do? You might be better off joining the beta testing mailing list if one exists. Many PHP 5 questions don't get much attention here for whatever reasons. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] Refreshing After Submitting a From

2003-09-03 Thread Dan Anderson
> Does anyone have any ideas on how I could do this? Is there any reason you can't throw a refresh command into a header before any data is sent? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] How can I get IP of ppp0?

2003-09-05 Thread Dan Anderson
server control though. So anything you do should be really beefy security. (i.e. make sure any idiot can't just go to your web site, pass in a get, and change the settings of your ethernet. :-D ) -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] POST security

2003-09-05 Thread Dan Anderson
circumvent your authorization. -Dan On Fri, 2003-09-05 at 10:32, bob pilly wrote: > Hi all, i know this isnt strictly a php question but > thought you would be a good group to ask because of > your experience. > > Is there any security issues with passing data via the >

[PHP] mySQL overhead: Tweaking Scripts for Speed

2003-09-05 Thread Dan Anderson
n a single one at the beginning of every script? Currently I have a bunch of functions each with their own calls. Best Regards, Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mySQL overhead: Tweaking Scripts for Speed

2003-09-05 Thread Dan Anderson
ng how much work coding it will save. Or will it default to the mysql connection active in the main program? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Java based HTML editor

2003-09-05 Thread Dan Phiffer
Assuming you mean that the user isn't typing HTML code (like an online IDE), you might want to take a look at: http://www.bris.ac.uk/is/projects/cms/ttw/ttw.html#os Best, -Dan "Todd Cary" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I would like to hav

Re: [PHP] Remove vars from memory?

2003-09-06 Thread Dan Anderson
f very large mySQL queries), you probably don't need to worry. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Function calling from url

2003-09-06 Thread Dan Anderson
I know what you're trying to do you just don't quite know how to say it... I use something like: if ($_GET['somevar'] AND $_GET['something_else']) { do_something($_GET['somevar'], $_GET['something_else']); } else { output_error_message(); }

[PHP] Running PHP scripts in PHP Nuke

2003-09-06 Thread Dan Anderson
PHP nuke page? Thanks, Dan Anderson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Linux Issues

2003-09-06 Thread Dan Anderson
o? Try redownloading and reburning. Chances are you didn't get a complete iso or had a bad burn. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Linux Issues

2003-09-06 Thread Dan Anderson
Oh also make sure you are using /9.1/ and NOT /9.2 RC1/! -Dan On Sat, 2003-09-06 at 22:51, Stephen Craton wrote: > Hello, > > This isn't really a PHP issue but I have no where else to go to get help really. > Hopefully someone here can still help me. > > I am runn

Re: [PHP] Running PHP scripts in PHP Nuke

2003-09-07 Thread Dan Anderson
> You need to be more specific. What error do you get? I don't get any error. It will ask me for the HTML code to the page and just not work. So I'm assuming that instead of being processed by Apache and a preprocessor that can send it to PHP it's being printed to the scree

Re: [PHP] Linux Issues

2003-09-07 Thread Dan Anderson
anything else? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Linux Issues

2003-09-07 Thread Dan Anderson
r i386 fine -- you just wouldn't get any hyperthreading (I'm not even sure if this is supported by the Linux kernel) -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Remove vars from memory?

2003-09-07 Thread Dan Anderson
ota of performance out of your scripts. Sometimes you just want to get it done. :-D -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Dan Anderson
u have spent enough to buy a second server for redundancy on a solution that is .035 seconds faster. But hey, I don't complain much. It keeps me employed. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form data

2003-09-08 Thread Dan Anderson
uot;; } ?> Then you can keep information from one form to the next. If you really want to get tricky add something like: $value) { if (!($_POST['dont_save[{$key}]'] )_ { hidden($key, $value); } } ?> -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Creating a Calender

2003-09-08 Thread Dan Anderson
Does anybody know how to generate calendars easily? (i.e. print out complete calenders from the current month on) Thanks in advance, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] upload problems

2003-09-08 Thread Dan Anderson
If you go to the PHP site they have a nice section on file uploads: http://us2.php.net/features.file-upload Double check that $_FILES['cat1_thumb']['error'] == 0 See: http://us2.php.net/manual/en/features.file-upload.errors.php -Dan -- PHP General Mailing List (htt

Re: [PHP] Dynamic Form checking

2003-09-08 Thread Dan Anderson
if $quantity isn't filled you get NULL or FALSE. so you could use: if ($_POST['variable']) etc. Try posting less code and more question to the list. Nobody's going to wade through 5 pages of code to analyze it and give you an answer. -Dan On Mon, 2003-09-08 at 03:41,

[PHP] Multiple Forms

2003-09-09 Thread Dan Anderson
Is it possible to tell a browser to send form a to URL a and form b to URL b? (i.e. post to two different URLS) Thanks, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can't use strtotime for dates before 1970. Why not??

2003-09-10 Thread Dan Joseph
Hi, Unix time stamps are based on the number of ...minutes/seconds (one of the two)... between 1/1/1970 and Now(). -Dan Joseph > -Original Message- > From: Free Grafton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2003 1:25 PM > To: [EMAIL PROTECTED] > Subje

Re: [PHP] Upload seems to time out over 7.5 M

2003-09-10 Thread Dan Anderson
try: set_time_limit(0); // don't time out. By default, if it takes more then 30 seconds (or is it 60?) to execute a web page PHP kills the script. -Dan On Wed, 2003-09-10 at 14:15, Lou Parmelee wrote: > Hello all, > > I couldn't upload any files larger than 2M. S

RE: [PHP] Upload seems to time out over 7.5 M

2003-09-10 Thread Dan Anderson
> In the php.ini file set this value? I believe so. If safe mode isn't stopping you from doign so you should be able to set_time_limit manually. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PEAR DB flipped fetch mode

2003-09-10 Thread Dan Phiffer
package.database.php Also, why isn't Google spidering the PEAR docs? Thanks, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Looking for a real good editor with some specific featrues ...

2003-09-10 Thread Dan Anderson
the things Emacs is notorious for. Vi(M) makes more sense for those people). -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Escaping the " ' " character

2003-09-10 Thread Dan Anderson
#x27;ve done it (sometimes google is no help) and it's helped me out big time, and I have no problems helping people out who do it. It's like, scratch my back and I'll scratch yours. That's why I post on this listserv. It helps me and I help others on it. And that's

Re: [PHP] loading classes and efficiency

2003-09-10 Thread Dan Anderson
eded that way. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Attention Moderator - Autoresponder Needs Unsubing from list

2003-09-11 Thread Dan Anderson
I get the same. (Although [EMAIL PROTECTED] is now being filtered to the trash. :-D ) -Dan On Thu, 2003-09-11 at 07:34, Jay Blanchard wrote: > Each time I send/respond I get an autoresponder from (major snippage to > header) > > Received: from lns.hs.ro (lns.hs.ro [19

RE: [PHP] loading classes and efficiency

2003-09-11 Thread Dan Anderson
asier to read). 3. If a function calling a require_once() is never called the script will never be parsed (and resources used). Perhaps I was not 100% clear in my original post, but require_once()s /can/ be used to not eat massive system resources. -Dan -- PHP General Mailing List (http:/

<    1   2   3   4   5   6   7   8   9   10   >