Re: [PHP] no newline after ? in the resulting HTML

2006-03-18 Thread Adrian
Is there a way to circumvent this? My template engine compiles templates to PHP files and this feature makes the output html code look awful sometimes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] microsoft PHP ?

2006-04-01 Thread Adrian
Did you even look at the calendar which date we have today? Correct, April 1st... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to get incoming emails captured by PHP ?

2006-05-10 Thread Adrian
PHP is correct) And the script it calls (email.php) the code is: #!/usr/bin/php ?php $fd = fopen(php://stdin, r); $email = ; while (!feof($fd)) { $email .= fread($fd, 1024); } fclose($fd); ? Adrian

RE: [PHP] How to get incoming emails captured by PHP ?

2006-05-10 Thread Adrian
mailer error 255 -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 10:51 AM To: Adrian Cc: php-general@lists.php.net Subject: Re: [PHP] How to get incoming emails captured by PHP ? Adrian wrote: I have my aliases file set up with the line: ade: |/usr

RE: [PHP] How to get incoming emails captured by PHP ?

2006-05-10 Thread Adrian
THANK YOU! That did it, its now working, thank you for your help. -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 11:03 AM To: Adrian Cc: php-general@lists.php.net Subject: Re: [PHP] How to get incoming emails captured by PHP ? Adrian wrote

[PHP] Re: How to get incoming emails captured by PHP ?

2006-05-10 Thread Adrian
Hi John Thank you, I have just got it working now, will look into the different ways you suggested. Adrian wrote: Hi All I have been trying to have PHP capture incoming emails sent to a specific email account and have not been able to achieve this, I have searched high and low

Re: [PHP] Embedding PHP 5 in a C application

2006-05-24 Thread Adrian
I think you can use the 'embed' SAPI for that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Handling of lengthy server operation in php

2006-02-18 Thread Adrian
everything on the server instead of using js for example in the browser. Any help would be really appreciated. Thanks, Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Newbie question

2005-02-18 Thread Adrian
error_reporting(E_ALL); Then you will get a notice when you try to read a variable which doesn't exist. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Adding Loop / If support to a simple template engine

2005-04-06 Thread Adrian
Just make your template engine compile templates to native php code. i.e. write a parser which replaces {if $foo}{$var}{/if} with ?php if($foo) {??php echo $this-templateVars['var'];??php } ? To check if the template must be recompiled, just compare filemtimes. The assign function could be look

Re: [PHP] Hard disk number

2003-07-27 Thread Adrian
Can we know clients' hard disk number with a phpscript. If yes what is the code? of course no, because php is running on the server ;) -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List

Re: [PHP] Your E-Book

2003-07-27 Thread Adrian
removed. -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Adrian
everyone can execute shell commands via system(); on your server. - delete the script ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] System() works on /usr/sbin commands

2003-07-31 Thread Adrian
. __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http

Re: [PHP] eval

2003-08-01 Thread Adrian
); ? -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] chown / chgrp of a http owned file after upload

2003-08-10 Thread Adrian
you could setup a cronjob running as root which chowns the files. or maybe you can so something with sudo -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net

Re: [PHP] suggestion on php-editor?

2003-08-14 Thread Adrian
the tswebeditor ist not bad: http://194.112.147.2/tswebeditor/index/index/en -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Image with graduated fill using PHP

2003-08-14 Thread Adrian
Hi all! Is it possible to have PHP creates an image that graduates 1 color to another, such as create and images 100 pixels wide and in height which fades red to green top to bottom? Any help or suggestions would be really helpful. Thanks Adrian [EMAIL PROTECTED]

[PHP] Graduated fills using PHP Images

2003-08-15 Thread Adrian
Hi all! Is it possible to have PHP creates an image that graduates 1 color to another, such as create and images 100 pixels wide and in height which fades red to green top to bottom? Any help or suggestions would be really helpful. Thanks Adrian [EMAIL PROTECTED]

Re: [PHP] weird output on my Apache2, PHP 4.2.3 Win2k box...

2003-08-26 Thread Adrian
onLoad=var SymTmpWinOpen = window.open; window.open = SymWinOpen; window.open = SymTmpWinOpen; -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: interact with .htaccess

2003-06-15 Thread Adrian
box? -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] opening msword files outside the browser

2003-06-15 Thread Adrian
you could try header('Content-Disposition: inline; filename=test.doc'); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] opening msword files outside the browser

2003-06-15 Thread Adrian
oops, i thougt you wanted it opening in the browser. i don't think there is a way to open it directly outside the browser, because if this would be possible someone could do so with a virus .exe, too. .. but this is opening word document inside the web browser which is not acceptable in my case

Re: [PHP] highlight_file() in XHTML Strict?

2003-06-24 Thread Adrian
try this: ob_start(); $oldlevel=error_reporting(0); highlight_file($file); error_reporting($oldlevel); $buffer = ob_get_contents(); ob_end_clean(); $buffer = str_replace(code, , $buffer); $buffer = str_replace(/code, , $buffer); $buffer = preg_replace(/font

Re: [PHP] fwrite() question

2003-07-01 Thread Adrian
. news.txt is owned by nobody with 755 and apache runs as nobody. I'd appreciate any help. Thanks! Adam -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http

Re: [PHP] Pulling variables from a URL

2003-10-14 Thread Adrian
lol variables in quotes - especialli when there is only the variable are really ugly. you should use $_GET[$username]... Use double quotes: $_GET[$username]; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] addslashes() vs. magic_quotes_gpc

2003-10-19 Thread Adrian
. -Rasmus - Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using existing mysql connection in a php extension

2003-10-31 Thread Adrian
to the mysql server again from my extension, i'll lose the performance-improvement gained from the faster C++-code. -- Adrian mailto:[EMAIL PROTECTED] www: http://www.planetcoding.net www: http://www.webskyline.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Global Vars

2004-03-04 Thread Adrian
use $_POST['name_of_your_form_field'] or $_GET['name_of_your_form_field'] or $_REQUEST['name_of_your_form_field'] $_REQUEST contains $_GET, $_POST and $_COOKIE for server vars there is $_SERVER and $_ENV for environment vars $_SESSION is for session vars -- PHP General Mailing List

Re: [PHP] Variables Help

2004-05-13 Thread Adrian
$GLOBALS -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] umm i am confused...

2004-06-19 Thread Adrian
action=module/personal/delete.phpdelete/td/tr); replace this with action=module/personal/delete.phpdelete/td/tr; and remove the ; after } - it's ugly and useless ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Text Parser

2004-11-24 Thread Adrian
$string = str_replace(' ', ',', $string); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Only variables can be passed by reference - Preg_match Fatal error

2005-01-16 Thread Adrian
check your preg_match() call... things like $pattern and $msg are the spawn of satan btw. there is ABSOLUTELY NO REASON to put variables in quotation marks except that php has to parse the string which is slower than php just seeing the variable. and when a functions expects a reference,

Re: [PHP] PHP in MS-DOS

2005-01-17 Thread Adrian
DOS = 16bit but I guess, PHP ist for 32+ bit ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hacker IP and Script

2004-09-26 Thread Adrian
I would remove bad scripts like *Nuke. Their code just sucks and has really lots of bugs. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] convert video files to FLV

2009-04-08 Thread Adrian
Don't waste CPU power of shared servers for video recoding. If you need that, get a dedicated server without other customers who would probably be affected by you using lots of cpu power. Besides that, if you cannot install own (compiled) software on it, you'd have to use a pure php solution

Re: [PHP] Delete File With Any File Extension

2010-06-15 Thread Adrian
Use glob() to get a list of matching afiles nd then unlink() them separately. I need to delete a file with any file extension where i know the name of the file, is it possible to use regular expressions with the unlink function? -- PHP General Mailing List (http://www.php.net/) To

[PHP] Non-existant folders??

2001-01-23 Thread Adrian Murphy
led from a DB it's seems to me a little pointless having all these folders with the same php page in each.essentially i'd like a php script to run automatically each time taking what looks like a folder name and making a call to the db using this name as a variable. easy,difficult or impossible? t

Re: [PHP] multple select forms... going to hit my head against a wall ..

2001-01-23 Thread Adrian Murphy
hey, since u are slecting multiple options you'll have to use an array here's how.i u need explanation,feel free to mail me: ? if ($select==""){ print" form method=\"post\" name=\"select\" action=\"test.php3\" SELECT MULTIPLE NAME=\"select[]\" Option VALUE=\"Chocolate\"Chocolate/Chocolate Chip

[PHP] Encoder price too high (was: Zend hit)

2001-01-25 Thread Adrian Teasdale
"Uioreanu Calin" [EMAIL PROTECTED] wrote in message Hello, What do you think about Zend position? I thought I would reply to the list on this one, basically to see if I am in the minority (and if so, I will shut up!)... Firstly, many people who use PHP do so to make money - I know I do!

Re: [PHP] A apache/php/mysql/linux security tutorial?

2001-01-27 Thread Adrian Teasdale
I have read through variouos docs to learn about security issues for running a linux/apache/mysql/php server and have learned a lot. What I'd like, though, is to know if there is an overall tutorial on this specific topic, where all the info is in one place? Hopefully aimed at the newbie?

[PHP] 2 questions

2001-02-04 Thread Adrian Teasdale
Hi I have a couple of questions. One about hosting and the other about IP addresses. The first on the IP's. I have been speaking to a company that I am looking at getting a dedicated server from. They ONLY do one IP address per server and use name-based hosting. I have asked for

Re: [PHP] PHP mySQL primer?

2001-03-06 Thread Adrian Murphy
first i'd set up phpmyadmin. http://www.phpwizard.net/projects/phpMyAdmin/ it' great and really easy to use for you mysqldb. once you've done that.there's a useful tutorial on webmonkey for what u need. http://hotwired.lycos.com/webmonkey/00/05/index2a.html?tw=programming g'luck - Original

Re: [PHP] Active-X

2001-03-28 Thread Adrian Murphy
allegedly this works,but i haven't tried it and can't remember where i got it but i used google,of course: object classid="clsid:D27CDB6E-AE6D-11cf-96B8-44455354" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0 ,0" id=ebusiness width=191 height=174

[PHP] why some dll's don't work

2001-04-02 Thread Adrian Murphy
Certain dll's i try to use simply refuse to work. php.ini is edited correctly. php_ftp.dll works php_gd.dll don't php_ldap.dll works php_oci8.dll don't(with oracle 8i personal inastalled) etc. whats going on.all the requiste dll's are in the right folder. -- PHP General Mailing List

[PHP] Problem with unset($PHP_AUTH_USER );

2001-04-03 Thread Adrian Murphy
I use a login script with the header() function and $PHP_AUTH_USER etc. the problem is once i've logged in once ,i refresh the page i stay logged in. i want to do testing with different privileges so i want to be asked for a username and password each time i've refreshed the page.I thought

Re: [PHP] Novice question - please help

2002-02-11 Thread Adrian Murphy
use str_replace() instead of ereg_replace() ...in the same way described - Original Message - From: brendan conroy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 11, 2002 9:15 PM Subject: [PHP] Novice question - please help Hi, THANK YOU for reading this.I would

[PHP] image generation issues

2002-02-11 Thread Adrian Murphy
Hi, I'm using the code in the manual to draw text on a png. but Its not working - ImageString() works but not ImageTTFText() I uploaded arial.ttf from windows to fonts/ folder Any Ideas: as a side note: PNG's - any real disadvantage to using them instead of gifs - not withstanding the

Re: [PHP] image generation issues

2002-02-11 Thread Adrian Murphy
i get 'Could not read font in..' i set permissions to 777 on both file and folder - Original Message - From: Martin Towell [EMAIL PROTECTED] To: 'Adrian Murphy' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 2:36 AM Subject: RE: [PHP] image generation issues when

Re: [PHP] image generation issues

2002-02-11 Thread Adrian Murphy
tried everything suggested and still get 'could not read font' oh well thanx. - Original Message - From: hugh danaher [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Tuesday, February 12, 2002 3:00 AM Subject: Re: [PHP] image generation issues Adrian, If you're using the code

Re: [PHP] image generation issues

2002-02-11 Thread Adrian Murphy
: Re: [PHP] image generation issues Hi Some of MS fonts wont work, try downloading some freeware fonts. Tom At 01:24 PM 2/12/02, Adrian Murphy wrote: tried everything suggested and still get 'could not read font' oh well thanx. - Original Message - From: hugh danaher [EMAIL

[PHP] Php contract dublin ireland

2002-02-13 Thread Adrian Murphy
Hi dublin php people here's a 1 month contract i can't do. PHP /MySQL Vacancy Many thanks for registering your details with us during this last 12 months . I have outlined below details of an urgent PHP/MySQL contract which you may be interested in. If you feel the role is suitable please

[PHP] center text on image

2002-02-14 Thread Adrian Murphy
I was wondering if it's possible to centre text precisely on an image.I'm thinking I need to get the width of of the string in pixels?,take this away from imagesx(image) and devide by 2 to get x value. so has anyone achieved this?

Re: [PHP] Re: center text on image

2002-02-14 Thread Adrian Murphy
: center text on image If you're using GD2, try looking at ImageTTFBox() and ImageFTBox(). They'll give you the coordinates for a bounding box around the text. Use them in relation to the image to center it properly. J Adrian Murphy wrote: I was wondering if it's possible to centre text

Re: [PHP] Change gif image with php

2002-02-16 Thread Adrian Murphy
button.php ?php Header(Content-type: image/gif); $string=str_replace(%20, , $string); $theimage = images/ . $button ..gif; $im = imageCreateFromgif($theimage); $white = ImageColorAllocate($im, 255, 255, 255); $font = /fonts/VERDANAB.TTF; $box = imagettfbbox ( 12, 0,

[PHP] implement yourname.mysite.com redirection

2002-02-18 Thread Adrian Murphy
Hi, I'd like to implement a system whereby people have a subdomain on my site like so: yourname.mysite.com I've been reading the apache docs that say you can do this via virtual hosts. Can I do it so 'yourname' can be anything - where all requests are sent to the same page where i can parse the

Re: [PHP] if(isset($submit))

2002-02-28 Thread Adrian Murphy
just use an input type=hidden and call it submit,thats what i do - Original Message - From: jtjohnston [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, February 28, 2002 5:32 AM Subject: Re: [PHP] if(isset($submit)) So I can forget using type=image :( Wah, it's not

[PHP] mod_rewrite

2002-03-01 Thread Adrian Murphy
of database updating involed in the site and i'm wondering should i use mysql(i am at the moment). any real world examples of the performance of mysql?I know it's great for selects. Thanx adrian murphy

[PHP] preload dynamic image problems

2002-03-06 Thread Adrian Murphy
is that when i use the source of the php page and save it as a html page,the html page works fine! I've encountered a few strange problems with image generation stuff.any ideas adrian

[PHP] Re: Comparrison

2002-03-27 Thread Adrian Ciutureanu
http://php.net/ereg Ron [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How would I compare to variables where I would want one variable to equal only part or some of the other variable? Here is the code ? if ($HTTP_USER_AGENT !== %MSIE 5.5%) { print You

[PHP] what should be my wishlist?

2002-04-02 Thread Adrian Murphy
Hi I'm creaating my wishlist for my php build for my isp. I've got the usual stuff gd/ftp/xml etc and was wondering what else should i ask for e.g. i've never used pear but it might be useful? curl etc.

Re: [PHP] Passing a variable invisibly via a href?

2002-04-02 Thread Adrian Murphy
or use javascript href=javscript:form.submit() or if you really wanted you could encrypt the variable pass it via the url and then decrypt it on the next page! to avoid a reload put no-cache in the header. - Original Message - From: Daniel Alsén [EMAIL PROTECTED] To: PHP List [EMAIL

[PHP] using .htaccess to repoint

2002-04-10 Thread Adrian Murphy
Hi, my isp uses wildcard dns to point to the root. I want to put a .htaccess file in the root to repoint the wildcard requests to a sub-folder but leave the normal request alone. plese help or tell me an article i can read(i've looked but haven't found one specifically dealing with this.) adrian.

[PHP] Editor

2002-06-14 Thread Adrian Greeman
it with php tags for example. Does Java and other stuff too. Lots of plug-ins endlessly under development And it's FREE. I have it plugged in as the external text editor of choice with Dreamweaver. Regards Adrian Greeman Telephone +44 20 8672 9661 Mobile +44 780 329 7447 e-mail:- [EMAIL

[PHP] about file permissions + cuteftp

2002-06-23 Thread Adrian Murphy
hi, how come when i make a dir thus mkdir($basedir,0777); cute can't then chmod or delete said dir. also vice versa : when i create a dir with cute with 777 access php can't do anything with it. it's very annoying.

[PHP] Register globals off

2002-07-01 Thread Adrian Greeman
that was not needed with a string. I am also unclear what happens when you send something using header() - does that also go into an array - if so which one and how do I use it? This may all seem unecessarily complicated but I am not yet au fait with the whole thing. Regards Adrian Greeman

[PHP] whats wrong with this function

2002-07-03 Thread Adrian Murphy
whats wrong with this. it's getting stuck somewhere function urls_clickable($string) { for($n=0; $n strlen($string); $n++) { if(strtolower($string[$n]) == 'h') { if(!strcmp(http://;, strtolower($string[$n]) . strtolower($string[$n+1]) . strtolower($string[$n+2]) .

Re: [PHP] whats wrong with this function

2002-07-03 Thread Adrian Murphy
relax friend.i was just asking - Original Message - From: 1LT John W. Holmes [EMAIL PROTECTED] To: Adrian Murphy [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, July 03, 2002 2:08 PM Subject: Re: [PHP] whats wrong with this function Yes, your problem is it doesn't work

Re: [PHP] whats wrong with this function

2002-07-03 Thread Adrian Murphy
:05 PM, Adrian Murphy wrote: whats wrong with this. it's getting stuck somewhere Somewhere isn't very helpful. When asking for help be sure to include as much information as possilble. Laying out your code so the structure can be seen... ?php function urls_clickable($string) { for($n=0

[PHP] mod_rewrite problem

2002-07-18 Thread adrian murphy
] RewriteRule ^www\.([^.]+)\.mysite\.ie(.*) http://www.mysite.biz/users/sites/$1 adrian.

[PHP] what do i put in .htaccess to achieve this

2002-04-15 Thread Adrian Murphy
. thanx adrian

[PHP] what do i put in .htaccesss to achieve this

2002-04-15 Thread Adrian Murphy
. thanx adrian

[PHP] Re: [HELP] redirect browser pass variable !

2002-04-21 Thread Adrian Ciutureanu
{ header(Location: http://www.XXX.edu/index.php?variable=$variable;); exit;} Joe [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am using header function to redirect browser. { header(Location: http://www.XXX.edu/index.php;); exit;} Although it can

[PHP] How to get allocated memory?

2002-04-22 Thread Adrian Ciutureanu
I get the PHP Fatal error: Allowed memory size of N bytes exhausted and I want to check free memory at some point in a script. How can I do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: deleting lines in a textfield

2002-04-22 Thread Adrian Ciutureanu
?php $file_name = 'test.txt'; $line_no_to_delete = 2; $f = fopen($file_name, 'rw+'); $s = explode(\n, fread($f, filesize($file_name))); unset($s[$line_no_to_delete - 1]); fseek($f, 0); fputs($f, implode(\n, $s)); fclose($f); ? Kris Vose [EMAIL PROTECTED] wrote in message [EMAIL

[PHP] Re: adding numbers to a file

2002-04-22 Thread Adrian Ciutureanu
?php $file_name = 'test.txt'; $new_value = rand(1000, 100); $f = fopen($file_name, 'rw+'); $s = explode(\n, fread($f, filesize($file_name))); $s[1] = substr($s[1], 0, 11) . $new_value; fseek($f, 0); fputs($f, implode(\n, $s)); fclose($f); ? Craig Westerman [EMAIL PROTECTED] wrote in message

[PHP] Re: From where was function called?

2002-04-23 Thread Adrian Ciutureanu
You can use the 'magic constants' __FILE__ and __LINE__ For example, if you have an editor that can replace the newline \n character, you can replace all \n with \nerror_log(__FILE__ . '[' . __LINE__ . ']'); Nico Van Der Dussen [EMAIL PROTECTED] wrote in message

[PHP] Re: validating user input

2002-04-24 Thread Adrian Ciutureanu
No validating user input is needed if you are using OCIBindByName. See also the Avertisment at www.php.net/OCIBindByName [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi the M.L. I have to validate forms user inputs before the construction of my query to my

[PHP] load testing utility

2002-04-29 Thread Adrian Murphy
anyone have a recommendation for a good free/cheap load testing utility for php/mysql sites? thanx adrian

[PHP] search engine indexing and redirects

2002-05-17 Thread Adrian Murphy
for a while but now they've come back to me saying the url doesn't work when it clearly does.i've asked the google folks about this and am waiting for them to get back. was just wondering if anyone had experience of this sort of thing. thanks adrian

[PHP] apache redirect and request

2002-05-17 Thread Adrian Murphy
Hi, my isp has set up an internal redirect that resolves www.mysite.biz to www.mysite.com how can i check if the request was for the .biz version. thx

Re: [PHP] apache redirect and request

2002-05-17 Thread Adrian Murphy
to the root of the domain. -Jared -Original Message- From: Adrian Murphy [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 9:20 AM To: [EMAIL PROTECTED] Subject: [PHP] apache redirect and request Hi, my isp has set up an internal redirect that resolves www.mysite.biz

[PHP] looking for training course in london

2002-05-17 Thread Adrian Murphy
Hi, anyone know/done good php training courses in london thx adrian

Re: [PHP] what does this mean in plain english?

2002-05-17 Thread Adrian Murphy
The ? in this senario is called the ternary operator basically shorthand for an if/else statement e.g $theValue = ($theValue != ) ? ' . $theValue . ' :NULL; is the equivalent of if($theValue != ) { $theValue =$theValue ; } else{ $theValue =NULL; } - Original Message - From: Jeff Field

[PHP] Re: Session problem

2002-05-24 Thread Adrian Ciutureanu
All you have to do is to call session_name(EmailSess); session_start(); in rest of pages. BTW: You don't really need to call session_name() Manisha [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I am facing so many problems - first file lock and now for

[PHP] Can't get Apache and PHP to run together -each seems to work OK WinME

2002-05-25 Thread Adrian Greeman
localhost. So - I am being driven slowly nuts with frustration. May I ask for any ideas? (I should add that I am a rank amateur trying to do all this so please take it slowly). Regards from Adrian Greeman Regards from Adrian Greeman 52 Salterford Road, Tooting, London, SW17 9TF Phone

[PHP] xcopy inside of exec()

2002-05-29 Thread Adrian Christen
Hi! I'm traying tu use the xcopy commando from win 2000 under php4, to move folders: ? //like this: exec('cmd /c xcopy c:\source c:\target'); ? But it does not work ... also passthru() does not give any (expected) answer? Where i'm wrong? Thanx for your answers! Adrian -- PHP General

Re: [PHP] Smart URLs

2002-06-02 Thread Adrian Murphy
whenever a URL like mysite.com/thumbnails/funny/4 i called the thumbnails.php is excuted, in which you I think if you call it thumbnails.php it won't work. however if the script is simply called thumbnails then it'll work.of course you then must make sure that 'thumbnails' is parsed as php.do

Re: [PHP] A quick question - Help Please !

2002-08-19 Thread Adrian Murphy
to do it with javascript u could post the form to another local page with a form with hidden fields - send the mail and use onload= to post the second form. would be a messy way to do it but would work. adrian murphy - Original Message - From: Justin French [EMAIL PROTECTED] To: Dan

[PHP] Apache 2

2002-08-20 Thread Adrian Ciutureanu
Hi, There is a note at http://www.php.net/ChangeLog-4.php for Version 4.2.0 (Note: Apache2 support is EXPERIMENTAL.) Is it still justified? adu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache 2 and PHP

2002-08-21 Thread Adrian Ciutureanu
At http://www.php.net/ChangeLog-4.php#4.2.0 there is a note (Note: Apache2 support is EXPERIMENTAL.) Is this note still justified for PHP/4.2.2? Is it about security? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] why is html code written like this? hr /

2002-09-02 Thread Adrian Murphy
thats xhtml - it's xml comliant html. tags must be closed so a tag like hr which didn't have a closing tag is written hr / so,for example in php the nl2br() function now produces br / instead of the old br - Original Message - From: Victor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: Fw: [PHP] question about Location

2002-09-06 Thread adrian murphy
make sure there is no whitespace before first ? - Original Message - From: Marek Kilimajer [EMAIL PROTECTED] To: PHP [EMAIL PROTECTED] Sent: Friday, September 06, 2002 11:34 AM Subject: Re: Fw: [PHP] question about Location Put your code that takes care of the post before the line 2,

Re: [PHP] Source code

2002-09-06 Thread adrian murphy
add nl2br() to make it look pretty e.g span ? $mem = join('', file('index.htm')); $mem = htmlspecialchars($mem); $mem = nl2br($mem); echo $mem; ? /span - Original Message - From: Roman Duriancik [EMAIL PROTECTED] To: PHP-General [EMAIL PROTECTED] Sent: Friday, September 06, 2002 11:53

[PHP] images no appearing

2001-09-24 Thread Adrian D'Costa
. Right now I have changed the program to work with gif. My question, why not Jpg?? Adrian -- 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 administrators, e-mail: [EMAIL

[PHP] images no appearing

2001-09-24 Thread Adrian D'Costa
give. Right now I have changed the program to work with gif. My question, why not Jpg?? Adrian -- 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 administrators, e-mail: [EMAIL

[PHP] Undelivered Mail Returned to Sender (fwd)

2001-09-24 Thread Adrian D'Costa
--with-jpeg-dir=/usr/lib still the image does not appear. Even in the gd section it does not give JPG Support enabled. Only give. Right now I have changed the program to work with gif. My question, why not Jpg?? Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] Why this error to this newsgroup?

2001-09-24 Thread Adrian D'Costa
This is the same error I get. The question is why the mails is going to: mail.aaz-netmarketing.com when it should be going to : pb1.pair.com Adrian On Sat, 22 Sep 2001, hvm wrote: Hi I have the same and I don't know if some one even get my questions, I never get a response. Maybe

[PHP] Re: images no appearing

2001-10-03 Thread Adrian D'Costa
My local gd version is 1.6.2 or higher, online check the link vvmm.net/phpinfo.php Adrian On Tue, 2 Oct 2001, Richard Lynch wrote: Older versions of GD will do GIF, but not JPEG, and vice versa... What versions of GD are on the two servers? -- WARNING [EMAIL PROTECTED] address

Re: [PHP] sending email to php script

2001-10-31 Thread Adrian D'Costa
in the script. Or rather in what format does this mail arrive. I even tried to write it to a file but nothing is written. You'll also need to compile php as a standalone, and put as the first line of your php script #!/path/to/php -q What if we need both version?? Adrian -- PHP General

  1   2   3   4   >