Re: [PHP] Sockets problem

2007-03-21 Thread Adrian Gheorghe
, so I might be wrong. On 3/21/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Tue, March 20, 2007 8:27 am, Adrian Gheorghe wrote: > I've sent a bug report earlier and it got marked as bogus, so I > decided to ask here about a possible solution. You can see the bug > report at h

[PHP] Randomly unable to read set variable from class

2012-03-13 Thread Adrian Basalic
I have an issue that occurs randomly on a machine. After a number of reloads of the page i can't read $this->_foo although it is set (var_dump shows it but the script cannot read it). The code works locally and on other machines i tested. Apache restart seems to fix it but only temporary. Environm

RE: [PHP] Randomly unable to read set variable from class

2012-03-14 Thread Adrian Basalic
: Wednesday, March 14, 2012 1:42 AM To: Adrian Basalic Cc: php-general@lists.php.net Subject: Re: [PHP] Randomly unable to read set variable from class Sorry wasn't able to reproduce it on my test machine. Do you have any external modules loaded such as APC, memcached, xDebug maybe or other

Re: [PHP] patTemplate

2004-04-14 Thread Adrian Madrid
r 3.0 (CVS)? Thanks in advance, -- Adrian Madrid http://www.hyperxmedia.com HyperX Media 45 West 9000 South, Unit 2 Sandy, UT 84020 Office: 801.566.0670 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pear Layout question

2004-04-19 Thread Adrian Madrid
t in a zip. -- Adrian Madrid http://www.hyperxmedia.com HyperX Media 45 West 9000 South, Unit 2 Sandy, UT 84020 Office: 801.566.0670 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Midgard anyone?

2004-04-29 Thread Adrian Madrid
vance, -- Adrian Madrid http://www.hyperxmedia.com HyperX Media 45 West 9000 South, Unit 2 Sandy, UT 84020 Office: 801.566.0670 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dynamic table

2004-05-26 Thread adrian murphy
myrow[0]; >} >echo ''; > > >regards $i = 1; echo '' . "\n"; echo '' . "\n"; while ($myrow = mysql_fetch_array($sql)){ echo '' . $myrow[0]. "\n"; if ($i % 5 == 0){ echo "\n";

Re: [PHP] dynamic table

2004-05-26 Thread adrian murphy
h_array($sql)){ > > echo '' . $myrow[0]. "\n"; > > if ($i % 5 == 0){ > echo "\n"; > } > > $i++; > } > > $odd = ($i - 1) % 5; > if ($odd){ > echo ' ' . "\n"; > } > echo '' . "\n"; > echo '' . "\n"; > > > adrian sorry the $odd bit at the end aint right but you get the idea. adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php-cgi+suexec and fastcgi

2004-06-04 Thread Adrian Teasdale
Hi there we need to run php under another user account as we are setting up a link with it to Qmail. Our plan is to use: php-cgi+suexec for this. fastcgi may be an alternative and we are just wondering if there is anything bad about using fastcgi for this? Any help appreciated Thanks Ade --

[PHP] php-cgi+suexec and fastcgi

2004-06-04 Thread Adrian Teasdale
Hi there we need to run php under another user account as we are setting up a link with it to Qmail. Our plan is to use: php-cgi+suexec for this. fastcgi may be an alternative and we are just php-cgi+wondering if there is anything bad about using fastcgi for this? Any help appreciated Thanks

RE: [PHP] protecting your source code?

2004-06-14 Thread Adrian Teasdale
Check out: Zend encoder www.zend.com SourceGuardian www.sourceguardian.com IonCube www.ioncube.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] funny

2004-06-28 Thread adrian murphy
I hate to put a url in but there are some choice words in the extract. You may have come accross it before but if you are a sys admin u should read this. It's funny unless u know the guy i suppose.hell it's just funny! Its a reply email after the guy was given some helpful advice on installing Imag

[PHP] Help with system architecture and planning

2004-07-06 Thread Adrian Teasdale
Hi there Bit of a long one. Sorry about that :) Basically we have been contracted to develop an information portal which will also include free web-based email and a free sitebuilder tool, running standalone independent php-driven websites for this particular vertical market. My concern is that

[PHP] Flexy Template and IF condition statements

2004-07-22 Thread Adrian Madrid
Is there any way to test a condition other than true/false with flexy? I mean, how/can you test $x == 'hello' in flexy? Sorry about my ignorance, just trying to learn Flexy. BTW, are there any other resources besides the PEAR manuals? Thanks in advance, -- Adrian M

Re: [PHP] Name of variable to string

2008-02-08 Thread Adrian Bruce
tedd wrote: Hi gang: From a variable with the name of $this_variable -- how do I get a string 'this_variable' ? Cheers, tedd At some point or the other you will have to define $this_variable as $this_variable, so at that point you will have access to the string 'this_variable'. Even if yo

Re: [PHP] generate xls file on fly

2008-02-08 Thread Adrian Bruce
Hiep Nguyen wrote: hi friends, i have a php page with the following logic: Download Title>Author author != null"; ?> Download Into Excel File is there anyway to generate this into xls file w/o using fopen & fwrite to the server? my goal is to have a link after the t

[PHP] CVS Scripts

2008-03-06 Thread Adrian Walls
, Adrian. Adrian Walls K-Point Internet Solutions Limited Tel: (028) 4175 4836 Mob:+44 (0) 7734473615 Email: [EMAIL PROTECTED] Web: http://www.kpoint.co.uk <http://www.kpoint.co.uk/> Registered office: 8 Osborne Promenade, Warrenpoint, Newry, Co. Down BT34 3NQ Registe

RE: [PHP] CVS Scripts

2008-03-06 Thread Adrian Walls
figure the application on the fly. I had a look at cruisecontrol but its not really what I am looking for either. Adrian. -Original Message- From: Wolf [mailto:[EMAIL PROTECTED] Sent: 06 March 2008 15:42 To: Adrian Walls Cc: 'Eric Butera'; php-general@lists.php.net Subject: R

RE: [PHP] CVS Scripts

2008-03-06 Thread Adrian Walls
e the same mistake again. -Original Message- From: Wolf [mailto:[EMAIL PROTECTED] Sent: 06 March 2008 15:26 To: Eric Butera Cc: Adrian Walls; php-general@lists.php.net Subject: Re: [PHP] CVS Scripts > > CONFIDENTIALITY NOTICE > > This email is private and confidential a

RE: [PHP] CVS Scripts

2008-03-07 Thread Adrian Walls
nstrictive comments. Cheers, Adrian. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: 07 March 2008 00:40 To: tedd Cc: php-general@lists.php.net Subject: Re: [PHP] CVS Scripts > If you want to ask, and have answered, a question that's important to > you, then co

[PHP] PHP LDAP - Single Sign On

2006-06-27 Thread Adrian Bruce
Hi all Sorry if this has been asked before but i am currently drawing a blank STW etc.. is there any way of retrieving the user name of a user (through the browser) that has logged on to a network (windows OS). I have used php with LDAP before and made the user log into the website, however

Re: [PHP] PHP LDAP - Single Sign On

2006-06-28 Thread Adrian Bruce
thanks for the response, i can see how this works (i think) for basic authentication with user input,but what i really need is to actually retrieve the logged on user name after a user has logged into windows. i.e. the user name that the http client passes to the apache mod has been captured

[PHP] displaying documents stored under web root

2006-03-10 Thread Adrian Bruce
Hi After some advice (surprise!) I currently store restricted documents beneath the web root so they are not accessible via the URL, when a valid user wishes to view a document i copy it to a temporary folder above the root and load it in a new page. the only way i can then manage to delete

[PHP] require_once hell

2006-03-29 Thread Adrian Bruce
Hi this may be a stupid moment but i cant find an help on google so.i am including two classes in my code using the "require_once("path to file")" method. this works fine for the first class but when including the second it simply outputs the contents on to the page. I feel I must be m

[PHP] Date addition problem

2006-03-29 Thread Adrian Bruce
Hi I am having an unusual problem when trying to calculate dates in advance from a start date. the code below shows a loop where by on each run an increasing number of weeks is added to the start date, this works as expected up untill the 8th time where for some reason it produces 01-11-05 i

Re: [PHP] Date addition problem

2006-03-29 Thread Adrian Bruce
10th month have 31 days. You don't check the amount of day there... :) on Wednesday 29 March 2006 14:51, Adrian Bruce wrote: Hi I am having an unusual problem when trying to calculate dates in advance from a start date. the code below shows a loop where by on each run an increasing numbe

Re: [PHP] Date addition problem

2006-03-29 Thread Adrian Bruce
" + ".$add." days")); echo"$i: $startdate -- -- --$nextdate"; } ?> [/snip] Adrian Bruce wrote: That should not effect it, if i am adding $i * 7 days each time then i should get the date that comes 7 days later irrespective of how many days are i

Re: [PHP] error warning while connecting to posgreSQL

2008-09-30 Thread Adrian Videnie
continue to log any error/warning/notice into the error.log. You shouldn't get anything in there anyway, if your application is bug free (hehe, we wish). This way, you have a little bit of flexibility in debugging a problem that might appear. Adrian -- PHP General Mailing List

RE: [PHP] Turck MMcache - still continuing or dead?

2004-01-31 Thread Adrian Teasdale
That's not strictly true. Open source projects do sometimes die if nobody steps up to bat when the original developer decides not to continue it - SourceForge has many projects like this. In this particular instance mmCache is not dead (yet). The original developer has moved to work with Zend and

RE: [PHP] Turck MMcache - still continuing or dead?

2004-01-31 Thread Adrian Teasdale
> Hi Adrian > > I looked at the discussion goin on located at sourceforge. > But then i m still not able to make up my mind whether to use > it or not in my production server. What do u suggest? Is > there any problem with the current version of MMcache? Please > su

RE: [PHP] PHP code encryption

2004-02-03 Thread Adrian Teasdale
Here are some for you to try: www.sourceguardian.com www.zend.com www.ioncube.com There is also one within mmCache (http://turck-mmcache.sourceforge.net/). Just read the forum about the current status of this open source project as the founder has gone to work for Zend and will no longer be main

RE: [PHP] Recommendation on PHP encoder please

2004-02-04 Thread Adrian Teasdale
Chris, quite a few people sell their scripts online or they may wish to install legacy code that they have sweated over for years onto a clients machine - encoding them helps for piece of mind :) Ade > > > I'm sorry I can't help you but I am curious as to what the > point of this > is. If you

RE: [PHP] Re: Simple PHP Encoder

2004-02-10 Thread Adrian Teasdale
There are various: www.sourceguardian.com www.zend.com www.ioncube.com The turck-mmcache one is good too and it also comes with (or the main purpose is) an accelerator Ade -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] E-Commerce II

2004-02-13 Thread Adrian Teasdale
> Wow, thanks for the help guys. Appreciate it. > > Here's 2 other Q that popped into my head while researching... > > 1. I looked at Yahoo! and bCentral, they both charge monthly > fees for using their E-Commerce Tools. Why? I thought it > should be a one time thing? Or are they not providing

[PHP] Starting dos application from php

2004-03-03 Thread Adrian Badoiu
Hi, I'm Adrian and I have the following problem: I have to encrypt a text file. For that I use a PGP DOS version (PGP 2.6 ui - Unofficial International, because I'm outside of the US). I installed the PGP and it is working fine when starting it from a Dos command line: c:\PGP>

[PHP] PHP Logo with a dog?

2004-04-01 Thread Adrian Madrid
Has anybody had the PHP logo in phpinfo() appear with a picture of a dog? -- Adrian Madrid http://www.hyperxmedia.com HyperX Media 45 West 9000 South, Unit 2 Sandy, UT 84020 Office: 801.566.0670 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] PHP Logo with a dog?

2004-04-01 Thread Adrian Madrid
Matt Matijevich wrote: Has anybody had the PHP logo in phpinfo() appear with a picture of a dog? April Fools easter egg Man, I thought I was getting my server compromised Man, you start coding and 8 hours later you can't take a joke! LOL Thanks, -- Adrian Madrid

Re: [PHP] PHP Accelerator

2004-11-08 Thread Adrian Madrid
t CVS and using file sessions (Turck's would give you segfaults). About new developments there's been a lot of talk in the forums but so far only one person mentioned having done changes int he code. The original developers have not answered the call so far so we would have to hope for someb

Re: [PHP] PHP Accelerator

2004-11-09 Thread Adrian Madrid
ust my 2 cents. Adrian Madrid Klaus Reimer wrote: Adrian Madrid wrote: I've been running Turck for some time now on PHP5 and haven't had segfault problems yet. I must say I'm running the latest CVS and using file sessions (Turck's would give you segfaults). I also tried lates

RE: [PHP] identifying the country of the people who connect to web site / portal

2004-11-27 Thread Adrian Portsmouth
to the appropriate mirror web site. HTH Adrian Portsmouth .htaccess Manager - SilkPHP [e] [EMAIL PROTECTED] [w] www.htaccessmanager.com This email, its contents and attachments are confidential and may be

RE: [PHP] How to detect the prefered languages of Web-Clients?

2004-11-27 Thread Adrian Portsmouth
assistance to you. ======== Adrian Portsmouth .htaccess Manager - SilkPHP [e] [EMAIL PROTECTED] [w] www.htaccessmanager.com This email, its contents and attachments are confidential and may be covered by legal privilege. This email contains information intended o

RE: [PHP] Help with GET variables which do not work after upgrading

2004-11-28 Thread Adrian Portsmouth
fined HTH ======== Adrian Portsmouth .htaccess Manager - SilkPHP [e] [EMAIL PROTECTED] [w] www.htaccessmanager.com This email, its contents and attachments are confidential and may be covered by legal privilege. This email contains i

[PHP] Anybody using Roadsend Compiler?

2004-11-30 Thread Adrian Madrid
I'm thinking about evaluating the Roadsend Compiler and wanted to know how people that are using it feel about it. Thanks, -- Adrian Madrid HyperX Inc. Mobile: 801.815.1870 Office: 801.566.0670 [EMAIL PROTECTED] www.hyperxmedia.com 9000 S. 45 W. Sandy, UT 84070 -- PHP General Mailing

[PHP] Browsing while downloading?

2004-12-01 Thread adrian zaharia
s how can i keep browsing while dowloading? Thanks Adrian Zaharia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Browsing while downloading?

2004-12-01 Thread adrian zaharia
e :P Thanks, Adrian M. Sokolewicz wrote: > Adrian Zaharia wrote: > >> Hello, >> >> I have this problem and maybe smbdy can give me a hint. >> >> I have a script which has to pack some server files into a tar created on >> the fly and then output this arc

[PHP] Re: Browsing while downloading?

2004-12-02 Thread adrian zaharia
e other scripts were in fact waiting for the session file to be unlocked. Anmyway, ... interesting problem :) Adrian Zaharia M. Sokolewicz wrote: > Adrian Zaharia wrote: > >> Hello, >> >> I have this problem and maybe smbdy can give me a hint. >> >> I have a sc

RE: [PHP] Re: Browsing while downloading?

2004-12-02 Thread adrian zaharia
Hi, Check the main thread, i have found the problem if you're interested... Adrian Zaharia Trevor Gryffyn wrote: > Yeah, this isn't a PHP specific problem, BUT, in the off chance that PHP > could solve the problem (using a different method of sending to the > browser, etc)

Re: [PHP] Persistent PHP web application?

2005-01-06 Thread Adrian Madrid
o touch the DB again, pure speed. I hope all this helps you. I personally don't need extra processes and stuff like that but if you really want all that you can take a look at phpbeans. Hope it helps, Adrian Madrid eAccelerator: http://eaccelerator.sourceforge.net/Home phpbeans: http://www

Re: [PHP] Persistent PHP web application?

2005-01-06 Thread Adrian Madrid
I've done some benchmaring and it is quite fast, specially compared to talking to the DB. Also, phpbeans provides a daemon that can give you the solution you are looking for, I believe. Adrian Rasmus Lerdorf wrote: Adrian Madrid wrote: I think I understand where you're coming from.

Re: [PHP] Persistent PHP web application?

2005-01-06 Thread Adrian Madrid
me in PHP 5. I'm running it and it's been good to me. Although I recommend taking the optimizer off. Anyway, hope it helped. Adrian Madrid William Lovaton wrote: El jue, 06-01-2005 a las 10:26 -0700, Adrian Madrid escribió: I think I understand where you're coming from. I'

[PHP] NT Auto Authentication?

2005-01-17 Thread Adrian Madrid
some scripts that validate against NTLM but I have not been able to find a script that would actually validate the browser/session against a NT server. Help! -- Adrian Madrid HyperX Inc. Mobile: 801.815.1870 Office: 801.566.0670 [EMAIL PROTECTED] www.hyperxmedia.com 9000 S. 45 W. Sandy, UT

[PHP] Sessions memory allocation problem

2005-01-29 Thread adrian zaharia
is not THE solution. Nor setting in php.ini a huge memory limit :( Thank you, Adrian Zaharia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions memory allocation problem

2005-01-31 Thread adrian zaharia
Richard Lynch wrote: > adrian zaharia wrote: >> Hi, >> >> I am testing the following code that pushes a file to the browser >> (Apache 1.3 + PHP 4.3.8 but tested also under several other configs) >> >> Try it with a BIG test1.zip (e.g. 100M in size) >>

Re: [PHP] mysql_connect() error

2005-09-03 Thread Cristea Adrian
Are you sure that is the 5-th line of your script? please give us first 1-10 lines (remove confidential data) for debuging... On 9/3/05, php general help wrote: > Hi > > guys hope you can all help me here. im in the middle of making a script ( im > still quite new), anyway im getting this error

[PHP] How can I count the usage of mail function in scripts?

2005-10-18 Thread Cristea Adrian
Hello peoples! short question: How can I count the usage of mail function in scripts? long description :D I have a webserver, and I want to limit the usage of mail function for each host I have there.. Notice that i have a couple of hundrest of virtual hosts (domains and subdomains) there, and i

Re: [PHP] selected index

2005-10-25 Thread Adrian Bruce
dont know of a function but this should work $size = count($array); for($i=0;$i<$size;$i++){ if($selected_person == $array[$i]){ echo"index: $i"; } } Adrian Ross wrote: Hi, I have an array $people= array ("ross", "bob", "chris") I

Re: [PHP] create HTML page on the fly

2005-10-25 Thread Adrian Bruce
I think you can use a different handle when using fwrite() which will make php create a file if one is not already there: something like if ($fp = fopen($file,"x+")){ echo"opened"; } fwrite($fp,$content); fclose($fp); Ade Angelo Zanetti wrote: Hi guys. I've created a small

Re: [PHP] Detailed Report

2005-10-27 Thread Adrian Bruce
load each row of the resultset into an array $row using mysql_fetch_array(), each field in the result set row will be held in the corresponding array element. while ($row = mysql_fetch_array($resultset, MYSQL_NUM)){ echo"$row[0] | $row[1] | $row[2]"; } Hope this helps, Ade Danny wrote:

Re: [PHP] Detailed Report

2005-10-27 Thread Adrian Bruce
if($row[0] == $group){ echo" $row[1] | $row[2]"; } else{ echo"$row[0]$row[1] | $row[2] | $row[3]"; } $group = $row[0]; } Ade Danny wrote: Thanks for your help Adrian, but the problem is that I need to show row[0] once (Customers

Re: [PHP] post and variables

2005-11-10 Thread Adrian Bruce
if (($_POST['$table_name']) == 1){ //do something } what you have is essentialll looking for a posted value called '$table_name== 1'! Ross wrote: Thanks fpr all the feedback on the password but I have another one... How do I use $_POST with variables. Cant find an example of this anywhere

[PHP] Dynamic DB query - form display

2005-11-18 Thread Adrian Bruce
e reloads. $clause = "not like '04%'"; echo""; Now obviously i hit a problem with the use of 'the quotation marks ' ' and just see - not like \ - in the form field. I need to keep the ' marks around the 04% for the query. Any ideas how i can do

Re: [PHP] Dynamic DB query - form display

2005-11-18 Thread Adrian Bruce
as always weclome! Thanks for the tip by the way, i ended up doing the following $field = stripslashes(htmlentities($field,ENT_QUOTES)); Adrian David Grant wrote: Hi Adrian, This appears to be a security hole, but since that wasn't the reason for the question, please try: echo"&quo

[PHP] Automatic log out

2005-12-01 Thread Adrian Bruce
back button! Thanks a lot in advance Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] One big file or many includes?

2005-12-16 Thread Adrian Bruce
and get into the coding but with more complex requirements its a recipe for disaster, wait until you client asks for a few seemingly simple changes and then you realize just how important a good design and plan is. good luck Adrian Aaron Koning wrote: I don't know about whats best fo

[PHP] upload path

2005-12-16 Thread Adrian Bruce
hi all a quick one i hope! i am trying to allow users to save a set of data as a csv file when clicking on a link on our intranet. i can do all the formatting and output to file but i would like the user to be able to specify where the file is saved in the same way as they would choose a fil

Re: [PHP] upload path

2005-12-16 Thread Adrian Bruce
i see what you mean but i dont think that will work for me, ideally just want them to choose a location after which i will create the file in this location. the only option i can think of the moment is to default to the users home directory. Ive just realised that the subject of my email is

Re: [PHP] upload path

2005-12-16 Thread Adrian Bruce
aaah, scrap that, i think i have solved my own problem, thanks for your time anyway, Jay Blanchard wrote: [snip] i see what you mean but i dont think that will work for me, ideally just want them to choose a location after which i will create the file in this location. the only option i

[PHP] gdf fonts

2005-12-21 Thread Adrian Bruce
look like something that would be produced by a spectrum or commodore 64! Thanks Adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Maps and plotting data

2006-01-10 Thread Adrian Bruce
Has anyone used any of the php mapping classes that are available? (Image_GIS etc) I would like to create dynamic maps and plot data i.e. postcodes on them like you do in applications like map-point. I am not quite sure if there is any php scripts/programs that already do this or if i have

Re: [PHP] Is there a way to display data from database for Select Options in a form?

2006-01-10 Thread Adrian Bruce
Something along these lines will work fine "; while ($row = mysql_fetch_array($query, MYSQL_NUM)){ echo"$row[1]"; } echo""; ?> Regards Ade Sue wrote: Hello, We have a form that contains a Select option for a listing of available dates for the user to choose from. Right now we have

Re: [PHP] Is there a way to display data from database for Select Options in a form?

2006-01-10 Thread Adrian Bruce
r proposed solution Jochem Maas wrote: teaching noobs to output html while (oun intended) looping thru a result set is counter-productive. discuss. Adrian Bruce wrote: Something along these lines will work fine "; while ($row = mysql_fetch_array($query, MYSQL_NUM)){ echo&qu

Re: [PHP] PHP and LDAP...

2006-01-17 Thread Adrian Bruce
David I found this resource usefull when authenticating users against LDAP, its easy to set up and use. http://adldap.sourceforge.net/ Ade David BERCOT wrote: Hi, I'm new on this list and with PHP. But I am a old web developer (with ASP). I'm looking for verifying a username/password in A

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 newb

Re: [PHP] PGP

2001-02-02 Thread Adrian Teasdale
You should find this useful :) http://www.phpuk.org/code.php All the best Ade --- i n o v i c a . c o m e: [EMAIL PROTECTED] w: http://www.inovica.com Web Apps, virtual communities and vertical portals Hosting and dedicated servers just around the c

[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 dedic

[PHP] error handling prob

2001-02-06 Thread Adrian Murphy
to handle errors i have this in .htaccess: e.g ErrorDocument 404 http://www.mysite.com/error/error.php but on error.php the 'REDIRECT_' vars contain nothing e.g REDIRECT_URL etc. why so? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For a

[PHP] pro's and con's of storing images

2001-02-14 Thread Adrian Murphy
I'm putting togeather a simple website buider app. i'm allowing users to upload images.I'm wondering whether i should store those images in a database or create dirs for each user.the mysql db has a relatively small capacity but storing them to the db might make it simpler for me. also ftp functio

[PHP] currency converter class

2001-02-14 Thread Adrian Murphy
anyone point me in the direction of a good currency converter class written in php. a euro converter will do! thanx. -- 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,

Re: [PHP] currency conversion

2001-02-15 Thread Adrian Murphy
How legal is this? can u use it on a website? free? - Original Message - From: Robin Vickery <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 15, 2001 10:46 AM Subject: Re: [PHP] currency conversion > > "c" == christian <[EMAIL PROTECTED]> writes: > > > does a

[PHP] woe is me

2001-02-19 Thread Adrian Murphy
i'm sorry,i just had to share this with people who'd understand. we've just secured clients who are m$ affiliated and they insist everthing be done with asp. excuse me while i go off for a little cry. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] imagecopyresized

2002-11-25 Thread adrian [EMAIL PROTECTED]
hi i'm having problems resizing jpegs. here's an e.g. using manual example. code used : and the result can be seen here. http://www.sitestogo.biz/temp/test.php i'm wondering if it's to do with the gd library installed.

Re: [PHP] imagecopyresized

2002-11-25 Thread adrian [EMAIL PROTECTED]
ions of gd (< 2.x) you can't manipulate jpegs? gd is my only option. adrian - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 6:26 PM Subject: Re: [PHP] imagecopyresized > On Tuesday 26 N

[PHP] regular expression help

2003-01-07 Thread adrian [EMAIL PROTECTED]
I'm a bit useless at regular expressions so i thought i ask. i need to turn all [link url=http://www.site.com] link to site [/link] in a string into html http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simple date question

2003-01-20 Thread adrian [EMAIL PROTECTED]
bothered about being too exact ,where some weeks are in 2 separate months, the earlier month should be displayed.and this is just for 2003. thanks, adrian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about GD and colors

2003-01-27 Thread adrian [EMAIL PROTECTED]
try imagecreatetruecolor() instead of imagecreate() - Original Message - From: "Philipp" <[EMAIL PROTECTED]> To: "Jean-François Marseaut" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 4:21 PM Subject: Re: [PHP] question about GD and colors > Hi experienced the

Re: [PHP] IFRAMES & PHP

2003-01-27 Thread adrian [EMAIL PROTECTED]
hmm.. it'll get real ugly with javascript,but this works with newer browsers. ...iframe has a name ...main page has a hidden form field with id checkbox in the iframe has id also iframe.php function submit_form(){ if(frames["myiframe"].document.getElementById("one").checked == true){//see

Re: [PHP] How to check for refresh in PHP

2003-01-31 Thread adrian [EMAIL PROTECTED]
a real simple thing i do is to increment the counter then use header() to redirect to same page with a variable added. so at the top of details.php i put.. if(!$_GET['no_count']){ ...increment counter header("location:...details.php?no_count=on"); exit; } of course people can always just manually

Re: [PHP] Forcing page refresh with http headers?

2003-03-10 Thread adrian [EMAIL PROTECTED]
a trick i use is with the time() function e.g. $var = time(); then header('location: .page.php?var=' .$var); This forces the browser to retrive the page again from the server. might be of some use. adrian. - Original Message - From: "Daniel Joyce" <[EMAIL

Re: [PHP] imagejpeg and downloading images

2003-03-11 Thread adrian [EMAIL PROTECTED]
try changing headers sent e.g header("Content-type: application/octet-stream"); header("Content-Disposition: attachment; filename=001_SM77GR.jpg"); $im = imagecreatefromjpeg("001_SM77GR.jpg"); imagejpeg($im,'',85); imagedestroy($im); - Original Message - From: "Doug Coning" <[EMAIL PROTE

[PHP] storing cc details in mysql

2002-11-04 Thread adrian [EMAIL PROTECTED]
ple of how it should be done. many thanx, adrian murphy

Re: [PHP] storing cc details in mysql

2002-11-04 Thread adrian [EMAIL PROTECTED]
Sorry forgot to say we do have a secure server. - Original Message - From: "adrian [EMAIL PROTECTED]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 4:37 PM Subject: [PHP] storing cc details in mysql Hi, I know this is an old chestn

[PHP] GD imagettftext problem

2002-11-18 Thread adrian [EMAIL PROTECTED]
's phpinfo(). http://217.114.163.70/info.php tia adrian murphy - Original Message - From: "Oliver Fänger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 18, 2002 3:42 PM Subject: [PHP] Re: SQLCODE=-930 > co

[PHP] enable-gd-native-ttf or tt?

2002-11-18 Thread adrian [EMAIL PROTECTED]
f the configure command 'enable-gd-native-ttf' whereas after a bit of googling i've seen it in other places as 'enable-gd-native-tt' i.e without the 'f' at the end - so which is right? if this is a dumb question please excuse my ignorance. adrian

[PHP] Recomended Shopping Carts

2003-10-09 Thread Adrian Esteban Madrid
as being nice but too hard to modify to your needs. Are there any recomendations on SP that you actually use in medium to large projects and you were happily surprised? Thanks in advance, -- ----- Adrian Esteban Madrid HyperXMedia, Developer -- PHP Gener

Re: [PHP] Data modelling software

2003-10-20 Thread Adrian Esteban Madrid
-- - Adrian Esteban Madrid HyperXMedia, Developer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP running Python script - not waiting for Python script to finish

2009-06-08 Thread Adrian Price-Whelan
path/to/executable arg1 arg2 >> /path/to/logfile 2>&1 &") but it seems as though even this dies when the browser times out. Thanks! -Adrian

[PHP] Strange PHP/Python problem

2009-06-08 Thread Adrian Price-Whelan
Hey all- Something strange is happening with a python script I am executing from a php page: I am executing this by doing $output = `python blahblah.py arg1 arg2 arg3` Say my Python code looks like this: import sys import os thisPID = os.getpid() print thisPID print "1" RADeg = float(sys

[PHP] Iterating ASTs with SPL in PHP-5.3.1

2010-01-19 Thread Aspra Flavius Adrian
Hi I have an abstract syntax tree which I need to iterate. The AST is generated by the lemon port to PHP, found in PEAR. Now "normally", I'd do it with the brand new and shiny (PHP 5.3.1) SPL classes, and it would look like this: $it = new \RecursiveIteratorIterator( new \RecursiveArra

[PHP] Inherited and unimplemented method of a class

2008-04-29 Thread Aspra Flavius Adrian
Hello folks. An inherited and unimplemented method of a class in PHP-5.2.5 gets called twice: class Foo { public function foo() { echo get_class($this);//or __CLASS__; } } class Bar extends Foo { } $f = new Bar; $f->foo(); Shouldn't it be only once? If I'm doing s

Re: [PHP] Inherited and unimplemented method of a class

2008-04-29 Thread Aspra Flavius Adrian
On Tue, Apr 29, 2008 at 4:29 PM, Stut <[EMAIL PROTECTED]> wrote: > > > On 29 Apr 2008, at 15:19, Aspra Flavius Adrian wrote: > > > > Hello folks. > > > > An inherited and unimplemented method of a class in PHP-5.2.5 gets called > twice: > >

<    1   2   3   4   5   >