RE: [PHP] What is wrong with this?

2003-02-24 Thread Tim
hi, i think there is an error in the html part: $drop_down_list .= "$aviao"; ^ should that not be?: $drop_down_list .= "$aviao"; HTH t. > -Message d'origine- > De : Miguel Brás [mailto:[EMAIL PROTECTED] > Envoyé : lundi 24 f

RE: [PHP] explode(" ", $pizza)

2003-02-25 Thread Tim
The following example illustrates the use of the split method. function SplitDemo(){ var s, ss; var s = "The rain in Spain falls mainly in the plain."; // Split at each space character. ss = s.split(" "); return(ss); } HTH t. > -Message d'origine- > De : John Taylor-Johns

[PHP] multi line regular expression?

2003-07-01 Thread Tim
hi, i have a string that contains the following: $mystring=<

[PHP] Re: Problems with GD 2.0.1

2002-09-09 Thread Tim
libgd in /etc/ld.so.conf? I can confirm that RH7 with GD-1.8 RPM and custom built PHP+GD-2.0.1 does work. I normally install libgd in /usr/local and have /usr/local/lib as the first entry in /etc/ld.so.conf (From memory, I think I did this to get libgd working with PHP) Tim Ville Mattila

[PHP] Anybody using PEAR Auth_HTTP?

2002-07-11 Thread Tim
crypt passwords all to no avail. I also can't find any further documentation other than what's on pear.php.net. Any ideas? I've e-mailed pear-general but no response so far. Thanks!! Tim "pgsql://tim@localhost/auth", "table" =>

Re: [PHP] Create a list of links

2001-10-18 Thread Tim
There is a class floating around called Snoopy which does at least most of what you'd like...not sure about the link text. You could tweak it's regex and code to do that though. http://snoopy.sourceforge.com - Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] PHP with XML

2001-10-23 Thread Tim
On Tue, 2001-10-23 at 15:17, Vinicius Tavares wrote: > > What I have to do to make the PHP4 run the DOM XML??? http://www.php.net/manual/en/ref.domxml.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[PHP] NNTP

2001-03-23 Thread Tim
Does anyone know of any examples of using IMAP to connect to NNTP newsgroups, any feedback would be appreciated Cheers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administra

Re: [PHP] Moving a PHP/MySQL web site ???

2001-07-27 Thread Tim
You can just use mysqldump to copy the contents of the database to a file, and it will be easy to re-create it on the new site. - Tim http://www.phptemplates.org > I will be having to face the dubious task of moving my PHP/MySQL-based website to >another server. Can anyone out there

Re: [PHP] PHP4, Flash and tab characters

2001-07-29 Thread Tim
value at the end: &bAcquired=Y&ok=1& in the flash movie, set ok=0 and wait/loop until you see ok=1 and you'll know the data reading is complete. (This may have been fixed in Flash 5, but I haven't tested it). - Tim http://www.phptemplates.org > The string getting

Re: [PHP] Syntax

2001-08-02 Thread Tim
You need to do: if (isset(...)) { ... } else if (isset(...)) { ... } else if (isset(...)) { ... } ... On 02 Aug 2001 17:10:26 +0200, BRACK wrote: > Hi, > > I'm in a process of doing site with MySQL database, and most of > the code I plased in index.php3 (in one file) but I've got some > pro

Re: [PHP] mail the contents of an array

2001-08-03 Thread Tim
You could use the implode() function to convert the arrays to strings and then pass the concatenated strings to the mail() function. - Tim On 03 Aug 2001 09:00:04 +, Geoffrey Makstutis wrote: > I'm sure that I'm missing something obvious (probably sleep), but how can I take t

Re: [PHP] References: & in front of functionnames

2001-08-03 Thread Tim
The function return value is by reference. http://www.php.net/manual/en/language.references.php - Tim > Ex. in DB/standard.php; function &db_fetchall($args=array()){ ... > > I've seen and used the pass by reference syntax on function parameters but > not on functionname

Re: [PHP] Adopt A Newbie (ME)

2001-08-03 Thread Tim
I hereby nominate Kyle as the official George W. Bush of the PHP General mailing list. Anyone second it? - Tim On 02 Aug 2001 15:07:49 -0700, Kyle Smith wrote: > zillion is actually a number? i just downloaded a program which reads out > text for you cause it just gets really boring r

Re: [PHP] web hosting

2001-08-05 Thread Tim
If you want the freedom to do anything you want to your very own server (i.e. not shared with a bunch of other people) then something like http://www.rackspace.com is an alternative (although it costs more :). - Tim On 04 Aug 2001 23:26:44 -0500, Damiano Ferrari wrote: > Since I am tired

Re: [PHP] 404's and requesting page

2001-08-05 Thread Tim
$HTTP_SERVER_VARS["REDIRECT_STATUS"] will be "404" (or "403" if you trap those too). $HTTP_SERVER_VARS["REDIRECT_URL"] will be the requested URL that caused the error. - Tim http://www.phptemplates.org On 05 Aug 2001 18:46:04 +0100, Tom Carter w

Re: [PHP] 404's and requesting page

2001-08-05 Thread Tim
. If your 404 page just dumps phpinfo() you can see the list of variables available to your script. - Tim On 05 Aug 2001 21:16:29 +0100, Tom Carter wrote: > Thanks for the advice Tim, however it didn't work. Neither of the statements > in your mail were set ... I trued $REDIRECT_STATU

Re: [PHP] age

2001-08-05 Thread Tim
uot;year"] - 1900) * 12); $em = $tm - $fm; return intval($em/12); } - Tim http://www.phptemplates.org On 06 Aug 2001 03:00:13 +0700, Jon Yaggie wrote: > does any one know where i can get a script that will convert a birthdate in to an >age. i have one half written however

Re: [PHP] Problem with installing on Solaris 8

2001-08-06 Thread Tim
'ar' is a system utility. On my system it's in /usr/ccs/bin. - Tim On 06 Aug 2001 18:12:52 +0200, Peter Ostry wrote: > We try to install PHP4 on a Sun Netra AC200 (T1) under Solaris 8. > After we finally managed to 'configure', we get an error with 'make&#x

Re: [PHP] Display the weather on my site

2001-08-06 Thread Tim
WeatherUnderground.com and Weather.com both offer little weather boxes for your site. - Tim On 06 Aug 2001 14:44:55 -0400, pierre-yves wrote: > Hello, > I would like to display the wheather on a page depending on the city of my user. > (or the capital of their province/state) > D

Re: [PHP] getting an auto increment value immediately after insert

2001-08-06 Thread Tim
See: http://www.php.net/manual/en/function.mysql-insert-id.php - Tim On 06 Aug 2001 16:03:43 -0500, garman wrote: > I'm inserting some information into a MySQL database via a PHP script. A > handful of various information is put into the database via the "INSERT > I

Re: [PHP] Uptime script

2001-08-06 Thread Tim
Nope, but I do something similar with weather data from my home weather station.:) The jpgraph library (http://freshmeat.net/projects/jpgraph/) is excellent and makes that kind of stuff a snap. A sample graph is attached. - Tim http://www.phptemplates.org On 06 Aug 2001 17:15:53 -0500

Re: [PHP] Search Engines

2001-08-06 Thread Tim
x27;s not an issue for them. - Tim On 07 Aug 2001 01:47:28 +0100, Tom Carter wrote: > Hi All, > > Does anyone have any experience with registering sites on the major search > engines? I have a number of questions I hope to find help with (and please > do excuse that not all of t

Re: [PHP] problem with querystring

2001-08-06 Thread Tim
Is it found in $HTTP_GET_VARS["par1"]? - Tim On 07 Aug 2001 08:02:44 +0700, Ishak Anwar wrote: > hai all, > i have problem with QueryString. > I use php 4.0.x with apache 1.3.x on win 2000 > but can not get the querystring on browser. > ex: > http://localhost/m1

Re: [PHP] problem with querystring

2001-08-06 Thread Tim
See: http://www.php.net/manual/en/security.registerglobals.php - Tim On 07 Aug 2001 08:12:46 +0700, Ishak Anwar wrote: > with $HTTP_GET_VARS["par1"] > i can get par1 value... > but... why with $par1 variable i can not get it ? > > thanks -- PHP General Mailing

Re: [PHP] Split array

2001-08-07 Thread Tim
See: http://www.php.net/implode - Tim http://www.phptemplates.org On 07 Aug 2001 14:02:04 +0200, Veniamin Goldin wrote: > How do I split array so, that I'll get string variable with "," delimeter of > each array value ? -- PHP General Mailing List (http://www.php.ne

Re: [PHP] Alternate way of calling php scripts

2001-08-08 Thread Tim
t's well-discussed in the archives and at phpbuilder. - Tim http://www.phptemplates.org On 08 Aug 2001 06:13:14 -0700, Evan Nemerson wrote: > I seem to recall that you can call a PHP script with a slash after it then > variables. For instance http://localhost/script.php/your=mom. I can

Re: [PHP] Strange session problems. Please help.

2001-08-08 Thread Tim
27;Upgrade PHP on the 4.0B2 server' or > 'move to a different server'. That, unfortunately is beyond my control :( ) I suspect that's about all you can do. You can search the bug database at php.net to see if there is a specific problem and if there are any work-ar

Re: [PHP] RANDOM MOVIE?

2001-08-08 Thread Tim
Use file() to load in the names of the movies from your text file into an array. Use rand() to pick one of them from the array. - Tim On 08 Aug 2001 17:47:36 -0700, Kyle Smith wrote: > Could somebody please show me, send me an example or redirect me to a page which >shows how to show a

Re: [PHP] newbie

2001-08-08 Thread Tim
http://www.phpbuilder.com is loaded with goodies that should be able to help you. - Tim On 08 Aug 2001 12:49:56 -0400, Jeremy Morano wrote: > Can anyone give me some information or a link other than php.net > PLEASEthank you. -- PHP General Mailing List (http://www.p

Re: [PHP] Using fsockopen()

2001-08-13 Thread Tim
al/en/function.set-time-limit.php - Tim On 13 Aug 2001 11:40:04 +0100, David Ovens wrote: > Thought I would repost, does anyone have a solution ? > > I am using php, apache on a windows system. > > - Original Message - > From: "David Ovens" <[EMAIL PROTECTED]> &

Re: [PHP] Using fsockopen()

2001-08-13 Thread Tim
Try doing set_time_limit(0); at the start of your script and see if that makes a difference. - Tim On 13 Aug 2001 12:00:24 +0100, David Ovens wrote: > this is my fsockopen satement it will check about 4/5 urls and then time out > (exceed 30 second timeout error) on the 5/6 url, I h

Re: [PHP] Site Stats/Server Logs

2001-08-13 Thread Tim
I'm rather fond of Webalizer. - Tim On 13 Jul 2001 23:07:46 +1000, ReDucTor wrote: > what are some good things for analyising server logs?!? > I currently have Wusage, is there any better?!? :D > - James "ReDucTor" Mitchell > > > -- > PHP General Mai

Re: [PHP] new one is it ??

2001-08-13 Thread Tim
Boy that looks familiar...my (apache) logs are full of 'em. I wonder if we can make a PHP script called default.ida that sends back a big chunk of data and causes the worm to get a buffer overflow? :) :) - Tim (glad I don't run IIS :) On 13 Aug 2001 22:27:06 +0800, Mar

RE: [PHP] new one is it ??

2001-08-13 Thread Tim
That's pretty cool. Alas, the 'whois' part of the code doesn't work properly (at least on my system). - Tim On 13 Aug 2001 10:21:45 -0500, Mark Roedel wrote: > I rather liked this approach that I saw posted in another list: > > http://www.klippan.seths.se

Re: [PHP] session security issue

2001-08-14 Thread Tim
If you test $HTTP_SESSION_VARS["uid"] instead, you'll know that it came from a session and not from a GET variable. - Tim On 14 Aug 2001 08:42:22 -0300, Christian Dechery wrote: > I have pages that uses session for security that looks something like this: > &

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread Tim
Do you have Macromedia Generator installed on your server? It's responsible for taking the .swt and generating the .swf output. - Tim On 15 Aug 2001 14:28:24 +0100, AJDIN BRANDIC wrote: > Hi, > > I have RH6.2, php4, MySQL and want to generate graphs with flash. I have >

Re: [PHP] apache,php,mysql,flash

2001-08-15 Thread Tim
a whole SWF movie at runtime. - Tim On 15 Aug 2001 15:15:20 +0100, AJDIN BRANDIC wrote: > Hi, NO this is what i am trying to find out. where can i download it > from (for RD6.2 and Aache 1.3.12). I have tried RH site but no joy. -- PHP General Mailing List (http://www.php.net/) To u

Re: SV: [PHP] Sending alots of mail

2001-08-16 Thread Tim
I have a system where we send periodic batches of 60,000 messages at a time, so it's definitely doable. It helps to put some throttling in there (i.e. a sleep() periodically) to be kind to your e-mail server. - Tim On 16 Aug 2001 18:34:11 +0200, Jimmy Bäckström wrote: > Hmm I knew tha

Re: [PHP] Dreamweaver templates

2001-08-20 Thread Tim
PHP already ignores those SGML comments. They're just there for the Dreamweaver editor to know where the editable regions are. - Tim On Mon, 2001-08-20 at 08:45, -:-Doigy-:- wrote: > Hi Folks, > > Can't find an answer in the archives... > Can php parse DW templates? >

Re: [PHP] PHP and the Console

2001-08-20 Thread Tim
I haven't tried this personally, but according to http://www.php.net/manual/en/function.fopen.php you can open the standard streams as php://stdin and php://stdout, which should allow you to read and write to the user directly. - Tim On Mon, 2001-08-20 at 12:14, Bill Brigden wrote: >

Re: [PHP] Print..

2001-08-27 Thread Tim
d it's not commented out. - Tim On Tue, 2019-08-27 at 06:55, Daniel Antonio de Lima wrote: > Fatal error: Call you undefined function:printer_open() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: [PHP] $HTTP_POST_VARS

2001-08-27 Thread Tim
while (list($k,$v) = each($HTTP_POST_VARS)) { echo "$k = $v"; } On Mon, 2001-08-27 at 21:48, Andy Ladouceur wrote: > Hello all, > I am wondering if there is a command or function to get a list of all the > current '$HTTP_POST_VARS["variable"]' variables? Or, a user-created way... > Any h

Re: [PHP] Re: Sorry, i need HTML help

2001-08-29 Thread Tim
Yeah, but isn't "marquee" the ancient Aztec word for "tar and feather me, I'm a tastless HTML author who is mesmerised by blinking lights and horizonally scrolling text beyond my control"?? Someething like that. - Tim ;) On Wed, 2001-08-29 at 11:35, Gary wrote:

Re: [PHP] Quick TXT document stuff

2001-08-30 Thread Tim
change the first line to $fp = file("meh.txt"); - Tim On Thu, 2001-08-30 at 16:31, Kyle Smith wrote: > ok i have this code to do whats below, but its not working > >$fp = fopen("meh.txt","r"); > for($i=0;$i<2;$i++) > {

Re: [PHP] php's future

2001-09-02 Thread Tim
cations running on your actual servers...anything else is only speculation. - Tim http://www.phptemplates.org On Sun, 2001-09-02 at 15:08, Mark Charette wrote: > And, of course, the JSP was running 2 x 2 iterations, or 400,000,000 > iterations, in a few seconds. > > Yeah

Re: [PHP] Log file analysis

2001-08-30 Thread Tim
You can use the Apache CustomLog directive to send each virtual host's traffic to it's own logfile. http://httpd.apache.org/docs-2.0/logs.html#accesslog - Tim http://www.phptemplates.org On Thu, 2001-08-30 at 09:59, Mark Lo wrote: > Hi, > > Is there any software or

Re: [PHP] Another script doesnt work!

2001-09-04 Thread Tim
You're missing a ";" on the line above the error. - Tim On Tue, 2001-09-04 at 16:18, Kyle Smith wrote: > And this time its not because of a dot, someone please help! > > Parse error: parse error in >/web/sites/197/lk6/www.stupeedstudios.f2s.com/dannys/sendform.php

[PHP] Problems with Sessions?

2001-09-06 Thread Tim
When I first browse to a site on my LAN, I get links with URLs that look like this: chat/?PHPSESSID=f3d149f79f5196bd709fb3c256dbb3d8 after a refresh, the whoe PHPSESSID goes away. Wondered if there was some setting in php.ini that I've overlooked? I'm running PHP4 with Apache on an Unstable De

Re: [PHP] Apache redirection by PHP

2001-09-11 Thread Tim
Look in the Apache manual at the section on mod_rewrite. - Tim On Tue, 2001-09-11 at 05:58, Andrew Perevodchik wrote: > I have the DNS alias on my server for "*" (which > means any name). So that any requests for > http://anyname.my.host are recieved by one virtual >

Re: [PHP] More thoughts about PHP: Taglibs

2001-09-11 Thread Tim
A good template library (and there's quite a few out there) will take care of this issue. You can have nearly pure HTML files and pure PHP files and maintenance and readability of your projects is much improved. - Tim http://www.phptemplates.org On Tue, 2001-09-11 at 01:04, Dr. Evil

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Tim
risk, i.e. they may change in a future release of the class or not work properly/safely when accessed directly. - Tim http://www.phptemplates.org On Wed, 2001-09-19 at 09:00, Emile Bosch wrote: > I am a huge fan of php but i am kinda scared by c# i really like it's > ability to make

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Tim
strong typing (or at least more formal typing) is a requirement, but I'm quite happy without all the related hoops that C++/Java makes you jump through...that alone is enough to give the average PHP developer a big boost in productivity vs. those languages. :) :) - Tim

Re: [PHP] if statement

2001-09-20 Thread Tim
You need to use == instead of = in that situation. - Tim On Thu, 2001-09-20 at 09:46, Jeb Anderson Scarbrough wrote: > This seems to be a simple questions, but it is baffling me for some reason. > How do I create an if statement with multiple conditions. For example, I > cannot get

Re: [PHP] include XHTML document

2001-09-24 Thread Tim
On Mon, 2001-09-24 at 08:04, cweiske wrote: > I wrote my new page in XHTML 1.0, split it and wanted to include the top > part of the file with the include( "page_top.htm"). > The problem is, that the valid XHTML document has to begin with > > > The problem now is, that I for myself use http://w

Re: [PHP] Flexible, "Component-based" and Large Application Systemsin PHP

2001-10-04 Thread Tim
ss. I have a case-study document that I'm in the process of getting permission to publish. I'll post a link to it when I can. - Tim http://www.phptemplates.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: [PHP] preg_match problem

2007-01-19 Thread Tim
Not a big regex expert, but first off i would recommend not using / as a delimiter for your pattern if you are trying to catch forward slashes in your text. I would use a pattern like: #[a-zA-Z0-9/]{6,}# Regards, Tim > -Message d'origine- > De : Németh Zoltán [mailto:[EMAI

RE: [PHP] Parsing mail file

2007-01-30 Thread Tim
wrote: > > If somebody uses a great function and want to share, I will please > > him... :-) > > > > Er, could you please define "I will please him"? > > I think that you've scared off a few potential helpers He's french, i think he means he &#

[PHP] TR: Manipulating "categories" in a php database

2007-01-30 Thread Tim
that I would want to put between 1011 and 1012. I'm having trouble developing the algorithm that would allow this.. Would appreciate any "ideas" that may help me conclude this function in my module. Regards, Tim Earl

[PHP] Manipulating "categories" in a mysql database

2007-01-30 Thread Tim
that I would want to put between 1011 and 1012. I'm having trouble developing the algorithm that would allow this.. Would appreciate any "ideas" that may help me conclude this function in my module. Regards, Tim Earl -- PHP General Mailing List (http://www.php.net/) T

RE: [PHP] TR: Manipulating "categories" in a php database

2007-01-30 Thread Tim
Ok great stuff, thank you, that has enlightened me on the method I need to develop :) Oh and about the double msg, sorry fighting with outlook here, not my usual client ;) Regards, Tim -Message d'origine- De : Robert Cummings [mailto:[EMAIL PROTECTED] Envoyé : mardi 30 janvier 20

RE: [PHP] Need desperate help with query

2007-01-31 Thread Tim
st? > If anyone can help out with this and would be > willing to email me off list to take a look at it > the good karma and appreciation would rain down > upon you in such multitudes as to... as to... > as... to... Don't think most here do it for the praise...> I've ru

RE: [PHP] Manipulating "categories" in a mysql database

2007-02-01 Thread Tim
> -Message d'origine- > De : Richard Lynch [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 1 février 2007 02:35 > À : Tim > Cc : php-general@lists.php.net > Objet : Re: [PHP] Manipulating "categories" in a mysql database > > On Tue, January 30, 2007 12:

RE: [PHP] PHP book reviewers wanted

2007-02-05 Thread Tim
> -Message d'origine- > De : tedd [mailto:[EMAIL PROTECTED] > Envoyé : lundi 5 février 2007 17:10 > À : Manuel Lemos; php-general@lists.php.net > Objet : Re: [PHP] PHP book reviewers wanted > > At 1:05 AM -0200 2/5/07, Manuel Lemos wrote: > >Demonstrating good English writing skills and

RE: [PHP] PHP4 to PHP5 issue

2007-02-05 Thread Tim
, we developed a more specialized app for project management internally. Other then the fact that it is definitely NOT PHP5 compatible it seems to be a great project manager with many great features. I'd assume if you really want to use it, run it on a server with PHP4 you'll save yourself

RE: [PHP] PHP4 to PHP5 issue

2007-02-05 Thread Tim
> -Message d'origine- > De : Jochem Maas [mailto:[EMAIL PROTECTED] > Envoyé : lundi 5 février 2007 21:00 > À : Skip Evans > Cc : 'PHP-General' > Objet : Re: [PHP] PHP4 to PHP5 issue > > Skip Evans wrote: > > Tim wrote: > >> Yes,

[PHP] All-in-one PHP Classes

2007-02-06 Thread Tim
ss.. At what moment does one decide to use an all-in-one "bloated" with "out of context" functionality, php class, knowing how powerfull only several functions in this class can be to him? Shouldn't these classes be perhaps broken down into usefull "parts". Thank

[PHP] Boolean-cast and arrays

2007-02-08 Thread Tim
good practise? Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Boolean-cast and arrays

2007-02-08 Thread Tim
sorry typo, make that: > Shouldn't have been simply doing: > > $arr = array(); > If (!$arr) {} > -Message d'origine- > De : Tim [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 8 février 2007 16:49 > À : php-general@lists.php.net > Objet : [PHP] Boolean

RE: [PHP] Error compiling lib

2007-02-08 Thread Tim
llect2: ld returned 1 exit status > make[2]: *** [mtest] Error 1 > make[2]: Leaving directory `/usr/local/src/imap-2006e/mtest' > make[1]: *** [bundled] Error 2 > make[1]: Leaving directory `/usr/local/src/imap-2006e' > make: *** [slx] Error 2" > > Can someon

RE: [PHP] Multi lingual pages

2007-02-09 Thread Tim
re using the same framework, i can't imagine using several copies of the same framework to overcome language issues, which would be the case if they were using seperate directories for languages, IMO. Just a "logical" geuss, please correct me if I am mistaken ;) Regards, Tim >May

RE: [PHP] round to nearest 500?

2007-02-12 Thread Tim
> -Message d'origine- > De : Robert Cummings [mailto:[EMAIL PROTECTED] > Envoyé : lundi 12 février 2007 18:00 > À : blackwater dev > Cc : php-general@lists.php.net > Objet : Re: [PHP] round to nearest 500? > > On Mon, 2007-02-12 at 11:52 -0500, blackwater dev wrote: > > Is there an easy

RE: [PHP] round to nearest 500?

2007-02-13 Thread Tim
> Supposedly this is an accounting trick that > ultimatley works out in the end for proper rounding of money > values. Yeah works out for who? Bet it doesn't for the guy paying :P -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Banner rotation with links

2007-02-14 Thread Tim
a database of banner entries. Google: banners +javascript first before posting, there's always an answer ;) Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Banner rotation with links

2007-02-14 Thread Tim
; > link for this. > > > > please go STFW for "banner rotation php script" > > > > greets > > Zoltán Németh > > > > Even better, download this free open source application which > does it all for you... > > http://www.phpadsnew.

RE: [PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Tim
> -Message d'origine- > De : Dan Shirah [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 14 février 2007 19:20 > À : php-general > Objet : [PHP] Retrieve value of newly inserted row. > > Hello, > > I have a page the contains two insert statements. > > > $insert1 = "INSERT INTO table1 (

RE: [PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Tim
> -Message d'origine- > De : Tim [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 14 février 2007 19:28 > À : 'Dan Shirah'; 'php-general' > Objet : RE: [PHP] Retrieve value of newly inserted row. > > > > > -Message d&#x

[PHP] Deny processing of non included files

2007-02-15 Thread Tim
ssiblity of someone taking over my admin systems... Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Deny processing of non included files

2007-02-15 Thread Tim
> -Message d'origine- > De : Jon Anderson [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 15 février 2007 17:11 > À : Tim > Cc : 'php-general' > Objet : Re: [PHP] Deny processing of non included files > > Easy answer: deny access to them. Use your we

RE: [PHP] Deny processing of non included files

2007-02-15 Thread Tim
" file that got forgotten during dev or something, or even a user uploading a $.php file i dont want him to execute.. Thanks guys, Regards, Tim > -Message d'origine- > De : Jon Anderson [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 15 février 2007 17:11 > À : Tim &g

[PHP] Securing user table with sha function

2007-02-17 Thread Tim
what other security conscious people think of this "plan" even though it may slow down logins a tad but the tight security in my opinion justifies this.. Does anyone see an ugly flaw in this scheme? Does it look viable? Thanks for any input, Regards, Tim -- PHP General Mailing

RE: [PHP] Re: Securing user table with sha function

2007-02-19 Thread Tim
T * FROM users WHERE username=\'' . Sha1($_POST['username']) . '\' and pass=\'' . Sha1($_POST['pass']) . '\''; Well was just an idea, i'll try it, doesn't seem to interest many people, that's ok keep using the cl

RE: [PHP] Re: Securing user table with sha function

2007-02-20 Thread Tim
er answer password protected question. > > > > > > -- > > Haydar TUNA > > Republic Of Turkey - Ministry of National Education Education > > Technology Department Ankara / TURKEY > > Web: http://www.haydartuna.net > > > > ""Tim"" &

RE: [PHP] Re: Securing user table with sha function

2007-02-20 Thread Tim
> -Message d'origine- > De : Fergus Gibson [mailto:[EMAIL PROTECTED] > Envoyé : lundi 19 février 2007 12:01 > À : php-general@lists.php.net > Objet : [PHP] Re: Securing user table with sha function > > Tim wrote: > > Now moving on into other aspects of

RE: [PHP] Re: Securing user table with sha function

2007-02-21 Thread Tim
uot;. I'll just have to adapt these "security" methods based on whats known to be one of the "best" ways. Once again thanks for your input, it's my call now :D Tim > -Message d'origine- > De : Haydar Tuna [mailto:[EMAIL PROTECTED] > Envoyé : mercre

RE: [PHP] ID problem

2007-02-28 Thread Tim
> -Message d'origine- > De : Delta Storm [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 28 février 2007 10:24 > À : php-general@lists.php.net > Objet : [PHP] ID problem > > Hi, > > I'm building an CMS system (for practice and experience :)). > > And of course like many times before I

RE: [PHP] ID problem

2007-02-28 Thread Tim
> -Message d'origine- > De : tedd [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 28 février 2007 15:54 > À : Delta Storm; php-general@lists.php.net > Objet : Re: [PHP] ID problem > > At 10:24 AM +0100 2/28/07, Delta Storm wrote: > >The problem is: > > > >I have a index.php that takes th

RE: [PHP] Re: how to display images stored in DB

2007-03-02 Thread Tim
> I highly recommend a dark ale or two > to bring down the core temperature :) Amen! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Question on virus/worms

2007-03-03 Thread Tim
e still a lot of servers out > there still > > using PHP4. Is this vulnerability a known bug? At least, I'm not > > aware of that before! > > It's not a bug. It will never be a bug. Yes PHP5 (I believe > it's 5.2+) introduces the ability to turn off the abi

RE: [PHP] Re: question regarding form filtering

2007-03-13 Thread Tim
t than writing a new function for each typei could come across... NOW, my original question is why should I or should not use regexp?? Is their a performance hit or not? Why do i not see anyone just using regexp instead of going through htmlentities() stripslashes() striptags(), i mean, if the regexp doesnt validate it then its wrong.. Period.. User friendliness maybe? Try to make it easier for the person filling the form? Am stumped, can't seem to find the real reason... Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] question regarding form filtering

2007-03-14 Thread Tim
> -Message d'origine- > De : Richard Lynch [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 14 mars 2007 09:39 > À : Tim Earl > Cc : php-general@lists.php.net > Objet : Re: [PHP] question regarding form filtering > > I use PCRE for filtering all the time. &g

RE: [PHP] Re: question regarding form filtering

2007-03-14 Thread Tim
> -Message d'origine- > De : Richard Lynch [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 14 mars 2007 09:48 > À : Tim > Cc : 'Haydar Tuna'; php-general@lists.php.net > Objet : RE: [PHP] Re: question regarding form filtering > > I personally

RE: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache

2007-03-14 Thread Tim
aces.. My productions servers are linux, my developpment server is linux, i wouldn't have it any other way.. It's almost treason to run an open source language on a proprietary OS! (laugh laugh, don't get upset its a joke).. Double quote: "He who asks a question may be a fool

RE: [PHP] Referring URL Authentication

2007-03-14 Thread Tim
he Apache directives, you should have some hints in their as to how to limit certain hosts, to certain domains.. Regards, Tim "Programming is a race between people making better and faster programs and the universe making bigger and dumber people. So far the universe is winning&quo

RE: [PHP] "cannot load mysql extension" - PHP Installation on Vista/Apache

2007-03-14 Thread Tim
> -Message d'origine- > De : Rahul Sitaram Johari [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 14 mars 2007 16:48 > À : Tim; PHP > Objet : Re: [PHP] "cannot load mysql extension" - PHP > Installation on Vista/Apache > > Ave, > > Well g

[PHP] $_POST array order

2007-03-14 Thread Tim
submit element (it is always last in form)? I would like to array_pop($_POST) to get rid of that last element for various reasons (validation scheme) later on.. Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: $_POST array order

2007-03-14 Thread Tim
on so is not a security issue.. Just a save cycles, and cleaner coding issue.. Regards, Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] $_POST array order

2007-03-14 Thread Tim
> -Message d'origine- > De : Brad Fuller [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 14 mars 2007 18:29 > À : 'PHP' > Objet : RE: [PHP] $_POST array order > > > -Original Message- > > From: Tim [mailto:[EMAIL PROTECTED] > &

RE: [PHP] Re: question regarding form filtering

2007-03-15 Thread Tim
> -Message d'origine- > De : Richard Lynch [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 14 mars 2007 23:45 > À : Tim > Cc : 'Haydar Tuna'; php-general@lists.php.net > Objet : RE: [PHP] Re: question regarding form filtering > > On Wed, Marc

[PHP] Re: combine empty and trim

2007-03-26 Thread Tim
Ross schrieb: I want to trim any whitepace and check if it is empty in the same line this is not working. if (empty(trim($_POST['_createcategory']))) { Hi, try this: if (isset($_POST['_createcategory'])) { $value = trim($_POST['_createcategory']); if (empty($value)) { } } -- PHP

  1   2   3   4   5   6   7   8   9   10   >