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
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: http://www.php.net

RE: [PHP] Secure File Upload

2002-06-06 Thread Dan Hardiker
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
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 Software Systems Engineer First Creative Ltd -- PHP

RE: [PHP] date problem

2002-06-06 Thread Dan Hardiker
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

Re: [PHP] array_walk

2002-06-06 Thread Dan Hardiker
, 'test_print'); The printout of the program above will be: Before ...: d. lemon a. orange b. banana c. apple and after: d. fruit: lemon a. fruit: orange b. fruit: banana c. fruit: apple -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd

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 Hardiker [[EMAIL

Re: [PHP] Formatting XML Data

2002-06-09 Thread Dan Hardiker
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

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

2002-06-10 Thread Dan Hardiker
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
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
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
the extension .phps. -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] view source with opera

2002-06-13 Thread Dan Hardiker
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.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] securing an 'includes' dir

2002-06-28 Thread Dan Hardiker
your docroot with the following: Files ~ \.inc$ Order Allow,Deny Deny from all /Files Change the first line to Files ~ \.inc.php$ in order to fit this more secure procedure. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General

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

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1

2002-07-23 Thread Dan Hardiker
[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] array_rand() and seed

2002-07-23 Thread Dan Hardiker
($arralpha, 3); I get the same characters each and every time. The way I am handling it right now is generating random values using mt_rand(0,25) and using those random values as the index of the array to retrieve the value of. Any ideas on this? Thanks. Naintara -- Dan Hardiker [[EMAIL

Re: [PHP] Hashes in strings

2002-05-02 Thread Dan Hardiker
] in strings. For this you have to jump out of the string and use contcatination... eg: $str = I can use .$hash[var][var2]. in strings; will output I can use Elephant in strings. Hope that helps :) -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd Hey

[PHP] CVS handled PHP projects

2002-05-02 Thread Dan Hardiker
-- 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] Stupid question

2002-05-02 Thread Dan Hardiker
. However if you don't want to round and instead just want to truncate the number, the number_format() function would be what you need. Sincerely, Craig Vincent If speed is an issue, instead of using number_format for truncation use substr. i.e: echo substr($var, 0, 5); to get 3 dp. -- Dan

Re: [PHP] Opinions Wanted

2002-05-02 Thread Dan Hardiker
require. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd Just a general question of the best way to do it ! I've got a job search site with mysql at the back of it ! You choose on the first page - type of job, where and other bits, go to the next page

Re: [PHP] Test if a daemon is running...

2002-05-02 Thread Dan Hardiker
of ways and use the resulting matrix to determine. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd Hello everybody, I would like to know an easy way to check is a daemon is running. What do you think is the best? Try to read a .pid file from the right

Re: [PHP] CVS handled PHP projects

2002-05-02 Thread Dan Hardiker
at cvshome.org (man that was a labourous task) and I still dont think I grasp it fully... guess its time to jump in at the deep end. Thanks -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd At 10:08 AM +0100 2/5/02, Dan Hardiker wrote: As these files need

RE: [PHP] Test if a daemon is running...

2002-05-02 Thread Dan Hardiker
execution (or you dont have access to it) ... then your gonna have to do it the long winded way (greping out unique attributes from a ps auxww / sockstat etc). Good luck -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd I would like to monitor 3 different daemon

Re: [PHP] PRIMARY KEY vs. INDEX

2002-05-02 Thread Dan Hardiker
/) To unsubscribe, visit: http://www.php.net/unsub.php -- 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] page reloading

2002-05-02 Thread Dan Hardiker
can be done with refresh headers (either html-meta or http). -- 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] Multiple mails to be sent from checkbox selection

2002-05-02 Thread Dan Hardiker
, and if an old version of PHP is being used then use $HTTP_POST_VARS / $HTTP_GET_VARS. -- 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] Hashes in strings

2002-05-02 Thread Dan Hardiker
getting out of the scope of the question heh -- 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] New Session Variable unset doesn't work

2002-05-03 Thread Dan Hardiker
session_register to set the session variable, it would make sense for you to use session_unregister to do the inverse. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] problem with fread

2002-05-07 Thread Dan Hardiker
byte blocks (or chunks), and the while will keep pulling the chunks until there is nothing left to pull. -- 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] problem with fread

2002-05-07 Thread Dan Hardiker
from if ($fp = fopen($url, r)) { while ($tmp = fgets($fp, 4096)) $output .= $tmp; fclose($fp); } echo The URL's content is: .$output; ? -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net

Re: [PHP] Registering an Array in a Session

2002-05-07 Thread Dan Hardiker
session_register(fieldtext); $_SESSION[fieldtext][.$page.]++; // Show all pages print_r($_SESSION[fieldtext]); ? That should get you started. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] permissions issue under NT?

2002-05-07 Thread Dan Hardiker
you wish it to go) -- 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] Creating mail account on Linux server

2002-05-07 Thread Dan Hardiker
(eg: how would you go about the problem using shell scripts / command line typing) This will give the people who try to help a better impression of the situation and give you more targeted advice. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP

Re: [PHP] permissions issue under NT?

2002-05-07 Thread Dan Hardiker
should work... I dont know if you need to escape php.ini values (hence the \\ and \ options). -- 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] Creating mail account on Linux server

2002-05-07 Thread Dan Hardiker
a unix style operating system? heh Hell lets license people to use computers. -- 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] Creating mail account on Linux server

2002-05-07 Thread Dan Hardiker
and then just walk straight in?? Given your current attitude (and awareness) of security, I doubt that it would take long for your machine to be anhilated. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net

Re: [PHP] Announcement: Smarty template engine 2.1.1 released

2002-05-07 Thread Dan Hardiker
This is a minor bug fix release. Wasnt aware that php-general had incorporated a channel for product plugging and advertisment?! -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Problem with object

2002-05-10 Thread Dan Hardiker
altering the master array and not the copy -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: randomize?

2002-05-10 Thread Dan Hardiker
; } // Return return $return; } // Replace these with the items you want, and specifiy 4 groups $items = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14); $result = randGroup($items, 4); echo pre; print_r($result); echo /pre; ? -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software

Re: [PHP] Script executes for longer than 30s [SECURITY CONCERN]

2002-05-13 Thread Dan Hardiker
file is definately set to 30s timeout. Is there something wrong or do I have a misunderstanding of the timeout workings? Thanks ' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software

Re: [PHP] Script executes for longer than 30s

2002-05-13 Thread Dan Hardiker
' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is $HTTP_REFERER worth trusting?

2002-05-16 Thread Dan Hardiker
) then serve up the generated information from the table. This would mean that your db no longer gets hammered if malitious users were to launch 5000 requests at it in the space of 10 mins, it would just do the big DB operation the once. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems

RE: [PHP] is $HTTP_REFERER worth trusting?

2002-05-16 Thread Dan Hardiker
none! Just making sure that everyone is aware of the consequences and implications. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: help with arrays

2002-05-16 Thread Dan Hardiker
: for the current time */ $timespread[date(H)]++; ? follow or have I lost ya? -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is $HTTP_REFERER worth trusting?

2002-05-16 Thread Dan Hardiker
if malitious users were to launch 5000 requests at it in the space of 10 mins, it would just do the big DB operation the once. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Dan Hardiker
end up in /usr/local/bin/php for you to use as your shell interpretor. (Follow up email regarding security to follow from a linx post). -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Dan Hardiker
have 3 binarys, one with sockets pcntl enabled, one with dom xml enabled, and one with everything enabled... etc. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Dan Hardiker
. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Dan Hardiker
Show compiled in modules -i PHP information -h This help [14:03:52][dhardiker@amnesiac]:~$ everything there is pretty self explanitory... as is the reason for using option q ;) -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer

Re: [PHP] Variables in PHP: public vs. private

2002-05-17 Thread Dan Hardiker
to be fully OOP compliant infact it has quite blatently stated that its not. I hope that the time will come when PHP has much more OOP support like other languages (such as C++, delphi etc). -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http

RE: [PHP] Using php as a scripting language within cron jobs?

2002-05-17 Thread Dan Hardiker
locked it down which is silly when you could just run it locally yourself). Also the data is going over HTTP which would easily be intercepted with ethereal / tcpdump etc. I still *strongly* recommend compiling a binary if only for purely security based precautionary reasons. -- Dan Hardiker [[EMAIL

RE: [PHP] Looking for web based email

2002-05-17 Thread Dan Hardiker
that ;) - Dan http://nocc.sourceforge.net/ -Jared -Original Message- From: Craig [mailto:[EMAIL PROTECTED]] I am in the process of developing a website with a webmail system similar in functions to hotmail Does anyone have any suggestions for where to start? -- Dan Hardiker [[EMAIL

Re: [PHP] PHP and MySQL

2002-05-17 Thread Dan Hardiker
over the internet. (not just with PHP, but with the data you communicate in the messages as well!!) -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with sending information with quotes

2002-05-17 Thread Dan Hardiker
Turn magic_quotes off. Check the manual for full details. or use stripslashes() ... rtm ;) -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP,Apache disabled FTP?

2002-05-18 Thread Dan Hardiker
FTP ;) That would go belly up if youve got another http processes running. More information about your setup is required for us to help further. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Problem with mktime()

2002-05-20 Thread Dan Hardiker
$startDate['Jungfrau'] = mktime (0, 0, 0, 08, 24, 2000); $startDate['Waage']= mktime (0, 0, 0, 09, 24, 2000); Replace 08 and 09 with 8 and 9 respectivly and you will have the effect you desire. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing

Re: [PHP] Executebale code from a databse

2002-05-22 Thread Dan Hardiker
) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP script and external C program

2002-05-28 Thread Dan Hardiker
, visit: http://www.php.net/unsub.php -- 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] Re: DOMXML...

2002-07-31 Thread Dan Hardiker
tp://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- 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] progress bar

2002-08-12 Thread Dan Hardiker
/unsub.php -- 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] crypt(): How to make it use blowfish?

2002-08-14 Thread Dan Hardiker
My system is a linux RH7.2 box. How can I make blowfish encryption available to PHP's crypt? Use mcrypt. See 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

Re: [PHP] Web Based Mail

2002-08-18 Thread Dan Hardiker
www.squirrelmail.org -- 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] Compiling PHP with Sablot support

2002-08-27 Thread Dan Hardiker
. -- 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] Compiling PHP with Sablot support

2002-08-27 Thread Dan Hardiker
- From: Dan Hardiker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 2:52 PM Subject: [PHP] Compiling PHP with Sablot support Hi All, I have PHP-4.3.0(dev) [php cvs version] and have the following configure: ../configure --with-mysql=/usr/local/ --with-gd=/usr

[PHP] Load / Stress Testing

2002-09-09 Thread Dan Hardiker
(using APXS) [also v4.3.0-dev will be tested] Apache 1.3 MySQL 3.23 FreeBSD 4.6-STABLE Ive thought of writting a load testing script, but Im not after reinventing the wheel. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing

RE: [PHP] adding unix account via system command

2002-09-20 Thread Dan Hardiker
); } then cc -o yourfile yourfile.c chown root.root yourfile chmod 4755 yourfile this will make it rwsr-xr-x -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: An integer?

2001-07-27 Thread Dan Hardiker
Why not just use a regular expression match to see if there is anything other than numeric characters? That will tell you if it is an integer before you do the type casting. (sorry if that sounds a little obvious but no-one seems to have suggested it) - Dan Unknown Sender [EMAIL PROTECTED]

Re: [PHP] PHP-4.3-dev - What is it for?

2002-12-11 Thread Dan Hardiker
lists to use for what (bugs, qa, dev questions) can be found on the php website. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Restarting a daemon in PHP

2002-12-12 Thread Dan Hardiker
client. I'm puzzled, too... This could because exec statements are executed in the foreground. Your best bet would be to background the process with . exec(perl myscript.pl ); -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http

[PHP] Piping to a PHP cgi-binary... broken in v4.3.2?

2003-02-24 Thread Dan Hardiker
cgi-binary? Is this modified behavoir limited to me, or expected? -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] what are the planned features of php 5?

2003-02-26 Thread Dan Hardiker
in the realm of what your looking for: http://www.php.net/ZEND_CHANGES.txt -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IP Addesses on local network

2003-03-03 Thread Dan Hardiker
. -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: eval help

2003-03-03 Thread Dan Hardiker
. Apply the following change to have happy dreams: From: $str3 = brHello, $arr2['name']; To: $str3 = brHello, .$arr2['name']; -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Still no luck running a PHPCLI script from CRON

2003-03-03 Thread Dan Hardiker
... try it -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] eval challenge

2003-03-04 Thread Dan Hardiker
a test bed if its not gonna get used ;) PS: Im guessing your building dynamic templates ... have you had a look into smarty? http://smarty.php.net/ -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] eval challenge

2003-03-04 Thread Dan Hardiker
();? If your using XML throughout - have you looked at XSLT transformations? -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Hacker problem

2003-03-12 Thread Dan Hardiker
List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP_REFERER reliability

2003-03-16 Thread Dan Hardiker
the data. There is nothing to stop the client from adding malformed, incorrect or spoof data into this field - and thus possibly faking entry to the data you are protecting. You cannot rely on this field to be accurate, correct or even populated. -- Dan Hardiker [EMAIL PROTECTED] ADAM Software

Re: [PHP] remove ' from string

2003-03-19 Thread Dan Hardiker
Any functions to remove'from a longstring? ?php $myLongString = ..'..'.'.; $myLongString = str_replace(', , $myLongString); ? et voila! Simple huh ;) For more info, check out: http://www.php.net/str_replace -- Dan Hardiker [EMAIL PROTECTED] ADAM Software Systems

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

2002-10-15 Thread Dan Hardiker
, 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 (http://www.php.net

Re: [PHP] OpenSSL Encryption to a browser.

2002-11-29 Thread Dan Hardiker
certificate pairs and installing them in a custom manner on the apache installation - Alternative methods PS: if your not using apache, I cant help you at all. Others may. --- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative -- PHP General Mailing List (http

Re: [PHP] hiding php

2002-12-03 Thread Dan Hardiker
the following: telnet yourserve 80 and than type GET / HTTP1.0 and press Enter twice You'll see the server response which will tell anybody that the server is Apache and even the operation system it runs at. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative

RE: [PHP] hiding php

2002-12-03 Thread Dan Hardiker
://your-server.com/some.script With .script being parsed by php, but the outside world not knowing what technology you are using behind the scenes. Very simple, yet very effective way of blindfolding the end user. -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software Systems Engineer First Creative

[PHP] java.lang.UnsatisfiedLinkError: send trying to install PHP as a Servlet for Tomcat 5.0.18 on FreeBSD

2004-03-01 Thread Dan Hardiker
) Does anyone have any idea how to get around this? Thanks for your time, -- Dan Hardiker -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php