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

[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] 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 unsub

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

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 which

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] 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: > >

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

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

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

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] Sockets problem

2007-03-20 Thread Adrian Gheorghe
Hello everyone, 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 http://bugs.php.net/bug.php?id=40864 Thanks in advance, Adrian. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] install php 5.2.1 with checkinstall

2007-03-18 Thread Tiron Adrian
Hello, I have php 5.1.6 ,the latest available with yum and i wanted to upgrade to 5.2.1 I have downloade 5.2.1 run ./configure,make and the checkinstall. When i wanted to install the newly created rpm i got the following errors: # rpm -ivh php-5.2.1-1.i386.rpm Preparing...

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] 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] 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] 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 s

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

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

2006-05-10 Thread Adrian
3.0 unknown 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 li

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

2006-05-10 Thread Adrian
to my PHP is correct) And the script it calls (email.php) the code is: #!/usr/bin/php Adrian

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

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] 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

[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

[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

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

[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] Constant Scope

2006-02-26 Thread Adrian Cid Almaguer
Can I give visibility to a class constant. something like this class foo { private const = "aaa"; protected const = "bbb"; public const = "ccc"; } I dont want the user of my class can access to the constant. and I cant use public static fields because I dont want the content can be modifie

[PHP] Constant Scope

2006-02-26 Thread Adrian Cid Almaguer
Can I give visibility to a class constan. some thing like this class foo { } -- *** Si se encuentra bien, no se preocupe. Se le pasará.

[PHP] Handling of lengthy server operation in php

2006-02-18 Thread Adrian
I would prefer to do 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] 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] 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] 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

[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

[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

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

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

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

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] 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] 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] 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

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

Re: [PHP] Computer name?

2005-08-26 Thread Adrian Cid Almaguer
You can find the IP and find with it the name. On 25/08/05, Chris Shiflett <[EMAIL PROTECTED]> wrote: > Gustav Wiberg wrote: > > Is it possible to retrieve (view) the computers name from the client in > > PHP? > > If you mean the client, then no - this is not a standard part of an HTTP > request.

[PHP] Call to Static Method PHP5

2005-08-19 Thread Adrian Cid Almaguer
1::do_static; // But, I recieve an error } $object1 = new Class1; use_static($object1); ?> gretings Adrian

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 templateVars['var'];?> To check if the template must be recompiled, just compare filemtimes. The assign function could be look like this then: = function assign($

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] 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) >>

[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

[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

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] 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, "$var

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'

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
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] 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)

[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

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

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

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] 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] 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] Calling a C program from php

2004-11-11 Thread Adrian
You must write a PHP extension which calls the function. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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] 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

[PHP] File and line that called a function?

2004-10-18 Thread Adrian Madrid
advance, -- 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 List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Are server classes possible?

2004-10-12 Thread Adrian Madrid
I have used Turck MMCache in the past to store results in shared memory with an specific TTL. Also you could use Cache_Lite in PEAR. Hope it helps, Adrian Madrid Jed R. Brubaker wrote: I am thinking like JavaBeans. Here is what I have going on: I have a series of rather database intensive

[PHP] PEAR status on PHP5?

2004-10-12 Thread Adrian Madrid
ybody used PEAR and PHP5 on a production environment succesfully yet? Thanks in advance, -- 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 List (http://www.php.net/) To unsubscri

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] Re: Large database, slow search times

2004-09-03 Thread Adrian Teasdale
Thanks for this. Will look into those :) Appreciate the help Ade > Two things come to mind: > > 1) INDEX! And, since you're on MySQL, do a fulltext index of > the column >you're searching on. > > 2) Read up on the MATCH () ON () syntax in the MySQL documentation. -- PHP General Mailing

[PHP] Large database, slow search times

2004-09-02 Thread Adrian Teasdale
Hi there I have been given the task of integrating a search into a database we have which contains 40 million records and I would really do with some advice! Thanks to everyone the other day who helped us parse this same database into mysql. Basically the database consists of only 1 field that s

RE: [PHP] Parsing large file

2004-08-31 Thread Adrian Teasdale
Hi everyone. Thanks for advice so far. Going to try that split command (looks useful). IN the meantime, here is the code: $config['max_count']) break; // parse string if (preg_match($pattern, $buffer, $match)) { $sql .= '("'.$match[1].'")'; } if ($sql) { $

[PHP] Parsing large file

2004-08-31 Thread Adrian Teasdale
Hi there We have a text file that is 2.2gb in size that we are trying to parse using PHP to put the content into a mysql database. This file contains 40 million individual lines of data. Basically PHP isn't parsing it. Any suggestions of how we could do this? Thanks Ade -- PHP General Mailing

[PHP] 1.4 second lag before page loads

2004-08-12 Thread Adrian Teasdale
Hi there On one site we have a 1.4 second delay before a page loads. We've added mod_gzip and mmCache to the server. Mod_gzip has definitely helped with the speed of page loading, but this 1.4 second delay is still there. The browser hits the page, then there is a delay on 1.4 seconds before the

[PHP] 1.4 second lag before page loads

2004-08-12 Thread Adrian Teasdale
Hi there On one site we have a 1.4 second delay before a page loads. We've added mod_gzip and mmCache to the server. Mod_gzip has definitely helped with the speed of page loading, but this 1.4 second delay is still there. The browser hits the page, then there is a delay on 1.4 seconds before the

[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

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

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

2004-06-19 Thread Adrian
action="module/personal/delete.php">delete); replace this with action="module/personal/delete.php">delete; 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] 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] 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

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

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

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] 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

[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

  1   2   3   4   5   >