[PHP] Question about mail()

2001-09-04 Thread Alex Shi
Hi, I have a question regarding to mail() function: Does mail() function use sendmail, or just use a mail program of php? If it uses a mail program other than sendmail, how can configure it to work correctly? Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] Re: problem with ereg() and ereg_replace()

2001-09-04 Thread Alex Shi
Yes, you are right, when add backslashes it works. But I really don't understand why ereg()/ereg_replace behaves differently on different servers... Alex - Original Message - From: "CC Zona" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, Septembe

[PHP] Problem with header()

2001-09-04 Thread Alex Shi
socket is closed. Now my question is how can the second header been sent? Alex -- 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 PROTECTED]

Re: [PHP] what does this line means? Many thanks

2001-09-05 Thread Alex Shi
t;) !="" ) { $VLD_CNDTNS[] = strtr($value,"VLD:",""); } else { $SBMT_CNDTNS[] = $value; } This kind of express is borrowed from C. Alex - Original Message - From: "Sall Him" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesd

Re: [PHP] what does this line means? Many thanks

2001-09-05 Thread Alex Shi
In following formular, exp ? statement1 : statement2 if exp is true, statement1 is excuted, else statement2 is excuted. So it is equivalent to: if( exp ) { statement1 } else { statement2 } If you still want to ask what "?" means, I think it can be "if exp

Re: [PHP] PHP Accelerator cache update

2001-09-05 Thread Alex Shi
It seems like GRANITECANYON.COM temporarily down, so your domain cannot be resolved. - Original Message - From: "PHP Accelerator" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 05, 2001 6:55 PM Subject: [PHP] PHP Accelerator cache update > A new version of the f

Re: [PHP] HTML mail

2001-09-06 Thread Alex Shi
hing you can do"; $email_contents="HTML test: write your HTML tags here"; $tips="Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 7bit"; mail($email_address,$subject,$email_contnets,$tips); here $tips is the key for html mail. Hope this can help. Alex

[PHP] Re: World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread alex Deh
what is it for a f.. day america? from germany realex "Lewi Hirvela" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP] user auth

2001-09-14 Thread Alex Sofronie
Hello all! I a relatively newbie in PHP, so my question may appear silly: Please tell me if anyone has knowledge of authenticating a user based on his username and password from Linux system (shadow or anything). I want to make a php WebMail. Also, i want to make a ssh virtual web client for the

[PHP] PHP Auth problem

2001-09-15 Thread Alex Sofronie
Hi all I have a rather strange problem with php auth: i want to authenticate a user through php and validate it through imap_open function (to access his email). I send WWW-Authenticate header like this: header("WWW-Authenticate: Basic Realm=\"Private\""); After, i check for isset($PHP_AUTH_U

[PHP] Code Speed & Optimization

2001-09-17 Thread Alex Ranaldi
help. If anyone has any suggestions or knows of anything that can help, please let me know. Thanks, Alex -- 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 PROTECTED]

[PHP] Code Speed & Optimization

2001-09-17 Thread Alex Ranaldi
help. If anyone has any suggestions or knows of anything that can help, please let me know. Thanks, Alex -- 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 PROTECTED]

[PHP] Call a script without a return

2001-09-18 Thread Alex Shi
to do something on server but not to send out a return to browser, so at client end the page will be stay unchanged. Can any one here have an idea how to do this? Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Showing up variables in URL !

2001-09-18 Thread Alex Shi
Try this: Alex - Original Message - From: "Arcadius A." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 19, 2001 6:14 AM Subject: [PHP] Showing up variables in URL ! > Hello ! > We all know how to pass value to variable using an

Re: [PHP] creating ZIP files

2001-09-20 Thread Alex Shi
Raphael, check fillowing link: http://www.php.net/manual/en/ref.zip.php Php has built-in zip functions. Alex - Original Message - From: "Raphael Pirker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 20, 2001 4:23 PM Subject: [PHP] cre

[PHP] Script Performance

2001-09-20 Thread Alex Shi
something about this or suggest some readings on the topic. Thanks! Alex -- 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 PROTECTED]

[PHP] How to obtain all the fields' names of a MySQL table?

2001-09-25 Thread Alex Shi
Hi, I wanto know how can obtain all of the fields' names of a MySQL table in a php script. Anyone have an idea about this please help. Thanks! Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

Re: [PHP] How to obtain all the fields' names of a MySQL table?

2001-09-25 Thread Alex Shi
Thanks for all reply! I just realized that this is just a simple issue of a sql query. Alex - Original Message - From: "Alex Shi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 3:03 PM Subject: [PHP] How to obtain all the fields&#

[PHP] A powerful editor!

2001-10-01 Thread Alex Shi
to explore it and maximize its functionality for you. Here is the link: http://www.textpad.com/ Alex -- 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 PROTECTED]

Re: [PHP] sessions in php4

2001-10-01 Thread Alex Shi
I always using session together with header() and never got a problem. Here's something might be a hint to you: http://..."; // in the "new location" ?> Alex - Original Message - From: "sagar N Chand" <[EMAIL PROTECTED]> To: "php" <

[PHP] INSERT INTO using foreach

2004-07-23 Thread Alex Hogan
x27;$key') VALUES ('$value')"; $result = mssql_query($sql); } } I keep getting an invalid object 'registration' error. However registration is the name of the table. I'm guessing it's someplace

[PHP] Array assistance

2004-07-27 Thread Alex Hogan
Submit ) ) Ten separate arrays with an array at 0 that has the data I'm after. This is where I'm getting stuck. How can I get to the keys that are either 'mc' or 'truefalse' and sum them? Thanks, alex hogan **

[PHP] PEAR Spreadsheet_excel_writer problem

2004-07-28 Thread Alex Othold
ited excel document from it. Can anyone help me with this or point me in the right direction, as its driving me mad. Thanks Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php inventory control software

2004-08-02 Thread Alex Shi
Hello, Any one can suggest me a php template (or modules) of a web-based inventory control software including a web-store. Thanks in advance! Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PEAR Spreadsheet_excel_writer problem

2004-08-03 Thread Alex Othold
heet('Testsheet'); $worksheet->write(0, 0, 'Blah'); $workbook->close(); The Problem was solved by Ben Claar and I would like to thank him for his help in this matter. Alex Adido Solutions Ltd "Alex Othold" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PRO

RE: [PHP] javascript type cast

2004-08-03 Thread Alex Hogan
r members of this list from the older ones. Then again maybe it's nothing more than the age old trait of chastising someone else to give themselves a feeling of importance. My point is a little temperance goes a lot farther and shows a lot more than self importance. BTW.., Yes I'm

RE: [PHP] javascript type cast OT

2004-08-03 Thread Alex Hogan
Does this mean that they don't get the same consideration that those get who it is apparent that they have been hacking code for a while? This is a general list. alex hogan * The contents of this e-m

RE: [PHP] javascript type cast

2004-08-03 Thread Alex Hogan
> All I have to say is, sorry I asked. OK.., now you're really making me want to take a poke at you. You posted off topic, knew it was off topic, you got spanked for it. Don't make things worse by whining.

RE: [PHP] javascript type cast OT

2004-08-03 Thread Alex Hogan
at's funny right there - ;-) alex * The contents of this e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. Th

RE: [PHP] Branching blunder

2004-08-05 Thread Alex Hogan
[snip] > Because $answers = 5; is the last check of $answers unless > the else statement is invoked. Try this... [/snip] That was it.., I don't know why I didn't see that. Thanks Jay. alex *

[PHP] PHP/MySQL based webmail?

2004-08-09 Thread Alex Shi
Hi All, Can any one recommend a strong/stable PHP/MySQL based web mail system? It must support large mail transfer, some times may be more than 10 MB for a single message. Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cannot redeclare function

2004-08-10 Thread Alex Hogan
27; to 'include_once()', but I really want to know why this happened and why it didn't throw that error until now. alex hogan * The contents of this e-mail and any files transmitted with it are con

RE: [PHP] Cannot redeclare function

2004-08-10 Thread Alex Hogan
the previous version. I only had half a day to change the production environment so I wanted to make sure there was no lag. Unless there was something that I missed. At first I thought that I had either duplicated the function someplace else, but that wasn't the c

RE: [PHP] PHP performance

2004-08-10 Thread Alex Hogan
[snip] > I figured PHP's memory limit per script at 8mb might be the > bottleneck, so I upped it to 128, restarted apache, and reran > the script. Increasing available memory had no effect. [/snip] This may have already been addressed, but did you index any key fields?

RE: [PHP] Cannot redeclare function

2004-08-10 Thread Alex Hogan
ure that there wasn't any duplicate functionality or duplicate calls. Apparently I must've been calling it from someplace else that I can't find, and changing to include_once() fixed the problem. I just don't understand why it worked f

RE: [PHP] PHP performance

2004-08-10 Thread Alex Hogan
> Did you try a curveball when throwing the processors into the box? Processors like sliders... Can't lay off 'em.., can't hit 'em. alex hogan * The contents of this e-mail and any fi

[PHP] scan a text string to pick up certain words

2004-08-11 Thread Alex Shi
me processing one by one. Can any one please show me an example how to do this in PHP. Thanks in advance! Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] scan a text string to pick up certain words

2004-08-11 Thread Alex Shi
It works the way as supposed :) Thanks! > On Wed, 11 Aug 2004 18:07:57 -0400, Alex Shi <[EMAIL PROTECTED]> wrote: > > Hi All, > > > > I guess regex can do the trick but I don't know much about regex :(( > > Here is what I want: > > Say a text string

[PHP] Escaping quotes

2004-08-11 Thread Alex Hogan
x27;", $val) implode(",", "\"".$val."\"") - This blows up nicely ;-) Where am I going wrong on this? alex hogan * The contents of this e-mail and any files transmitte

RE: [PHP] Escaping quotes [solution]

2004-08-12 Thread Alex Hogan
he values. I sure will be glad when I don't make these kinds of simple mistakes anymore. Thanks guys... alex hogan * The contents of this e-mail and any files transmitted with it are confidential and

RE: [PHP] [discuss] Rename this list

2004-08-12 Thread Alex Hogan
> Imagine all the people that'll want to post to a John Holmes list!!! People would be wide open for that list. Sorry.., I couldn't resist... Just had to take the low road... alex hogan * The con

[PHP] Protected vars

2004-08-17 Thread Alex Hogan
ebug the file I don't get anything that indicates that it won't parse the class. alex hogan * The contents of this e-mail and any files transmitted with it are confidential and intended solely for the

[PHP] Accessing form values from multi selects or checkboxes

2004-08-24 Thread Alex Bovey
this, but still access the elements: appleorange Basically I am using a JavaScript chained select function which complains when I use square brackets in a field name, and before I start hacking the code I wanted to see if there was an alternative way of doing it server side. Thanks all, Alex

RE: [PHP] Regex for Validating URL

2004-09-03 Thread Alex Hogan
> Just to be pedantic, that would be pedantry ;) ! Is this thread ever going to die? Or would that be dye? ;) alex hogan * The contents of this e-mail and any files transmitted with it are confidential

Re: [PHP] Dynamic Class Methods

2004-09-07 Thread Alex Hogan
you talking about something else? alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Dynamic Class Methods

2004-09-07 Thread Alex Hogan
Until now I've always thought of plugins as purley client side development. alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] class packages

2004-09-08 Thread Alex Hogan
esses email I have a config.php file that will include the class files necessary for the email functionality. In the admin section I have a config.php file that includes the admin authorization, editing and insertion, and modification class files. I don't know if it's a right way or wrong

Re: [PHP] class packages

2004-09-08 Thread Alex Hogan
extend the class using; class subSearch extends Search{ // do stuff here } alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] class packages

2004-09-08 Thread Alex Hogan
them using the same name but call two differnent files. I've never done that but I don't see why it wouldn't work. > I am going to run into conflicts if I include two class definitions for > search, am I not? Yep. If you call them both at the same time. alex hogan -- PHP

[PHP] Timing on an internal email

2004-09-08 Thread Alex Hogan
ill do the mail outs on the appropriate date, but there has to be a better way. Is this something that I'll have to do outside of php? alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Timing on an internal email

2004-09-08 Thread Alex Hogan
t as a command line task or as an instance of the browser? alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with header("Location:home.php")

2004-09-09 Thread Alex Hogan
17 of index.php. Header() can only be used if there has been no header information sent to the page. You will need to see what is on line 3 and probably line 2 of connection.php. alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Need help with a regular expression

2004-09-30 Thread Alex Hogan
9]$", $key) should look for a $key starting with 'Q4_' followed by a single number and place those values into an array named $Q4scores. What am I missing? Thanks, alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Need help with a regular expression

2004-09-30 Thread Alex Hogan
Please ignor... I got it... alex On Thu, 30 Sep 2004 16:22:02 -0500, Alex Hogan <[EMAIL PROTECTED]> wrote: > I have a series of questions that are multiple choice. Some of the > questions have multiple answers to them. > > Those questions have answers that are indicated

Re: [PHP] Need help with a regular expression

2004-09-30 Thread Alex Hogan
[snip] "^Q4_[0-9]$" & Yes, your understanding of "^Q4_.[0-9]$" is wrong. [/snip] Thanks guys.., I did take the '.' out of the expression, but I also had to change the way I was using it. I replaced; if($key == ereg( "^Q4_.[0-9]$", $key)){ with

Re: [PHP] How to load another php page?

2004-10-02 Thread Alex Hogan
or include_once('another.php'); } is what you're looking for. If you're looking to redirect to another file based on a condition then; if(isset($var)){ header('Location: another.php'); } will work. alex hogan -- PHP General Mailing List (http://

RE: [PHP] Open Project

2008-11-22 Thread Alex Chamberlain
sable user management system - unlike Zend's Auth and ACL. Except, I need someone to develop the Authentication part of it. I've put it on Sourceforge the other day, but I've never developed anything like this before. I'm going to put up a sample app soonish - take a look a

RE: [PHP] Open Project

2008-11-22 Thread Alex Chamberlain
er day, but I've never developed > anything > like this before. I'm going to put up a sample app soonish - take a > look at > the svn if you want. > > Alex PS forgot to say you can find it at https://sourceforge.net/projects/fredframework/ No virus found in this o

RE: [PHP] Open Project

2008-11-23 Thread Alex Chamberlain
- unlike > >> Zend's > >> Auth and ACL. Except, I need someone to develop the Authentication > part > >> of > >> it. > >> > >> I've put it on Sourceforge the other day, but I've never developed > >> anything > >&g

RE: [PHP] Re: Open Project

2008-11-23 Thread Alex Chamberlain
e ground; open to all options preference going to anything > > framework, orm, webservice or basically anything without an html > front > > end :) > > > > Afternoon, > > I've had a look through the two frameworks that Alex and Craige have > sent through, d

RE: [PHP] PHP attaching css and JS files to current page

2008-11-30 Thread Alex Chamberlain
Have you considered using some type of templating system, which can use class_exists?? Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.11/1820 - Release Date: 29/11/2008 18:52 -- PHP General

[PHP] $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Alex Kirk
properly (it is); and scouring the Apache/PHP error logs. The worst part is, I didn't touch the config at all between when it worked and when it didn't. So now I'm at a total loss as to what could be causing this, or how I should go about trou

Re: [PHP] Re: $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Alex Kirk
assuming that if PHP were going to give me a relevant error, it'd be there. How about disk space on the server location where it is storing it's temp files for the server? I've seen something similar when disk space was nil after some scripts ran amok. Temp files sho

Re: [PHP] $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Alex Kirk
Quoting "Daniel P. Brown" <[EMAIL PROTECTED]>: On Wed, Dec 3, 2008 at 6:03 PM, Alex Kirk <[EMAIL PROTECTED]> wrote: It works like a charm on a different machine with an essentially identical config (it's a newer version of FreeBSD, but that's about it); however

Re: [PHP] Re: $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Alex Kirk
ldn't. Nope, unless "grep -iIR security *" in /usr/local/etc/apache22 is lying to me. ;-) Alex This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Re: $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Alex Kirk
assuming that if PHP were going to give me a relevant error, it'd be there. How about disk space on the server location where it is storing it's temp files for the server? I've seen something similar when disk space was nil after some scripts ran amok. Temp files should be

Re: [PHP] [RESOLVED] Re: $_POST suddenly empty; $_GET and _$REQUEST fine

2008-12-03 Thread Alex Kirk
assuming that if PHP were going to give me a relevant error, it'd be there. How about disk space on the server location where it is storing it's temp files for the server? I've seen something similar when disk space was nil after some scripts ran amok. Temp files should be

[PHP] COM and the PHP equivalent of ASP Currency data type

2008-12-04 Thread Alex Bovey
he parameter I am having problems with parameter 2 - $Quant. I tried to create a VARIANT of type VT_CY so I did: $qty = new VARIANT('1.', VT_CY); The error I am getting is: Uncaught exception 'com_exception' with message 'Parameter 2: Type mismatch. Thanks all,

[PHP] 100% CPU Usage somewhere in script - how to find it?

2009-01-18 Thread Alex Davies
k at and fix this sort of problem that would be much appreciated too; I am now well out of my depth and sinking fast! Many thanks for any help, Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 100% CPU Usage somewhere in script - how to find it?

2009-01-18 Thread Alex Davies
it the situation is completely resolved. I still wonder if there is a neater way to do this! Cheers, Alex On Sun, Jan 18, 2009 at 2:43 PM, Eric Butera wrote: > On Sun, Jan 18, 2009 at 3:16 AM, Alex Davies wrote: > > Hi, > > > > I use a (externally developed) library within

[PHP] SimpleXML

2009-02-24 Thread Alex Chamberlain
t;Center for the Study of Language and Inf" ["Subjects"]=> object(SimpleXMLElement)#16 (1) { ["Subject"]=> array(2) { [0]=> string(58) "Amazon.com -- Nonfiction -- Philosophy -- Logic & Language" [1]=> string(32) "Amazon.com -- Science -- General" } } } } Notice that I lose the attribute subject_id from the Subject tag. Why is this?? Is there any way from preventing it from happening?? Thanks in advance, Alex Chamberlain -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] remote fopen not working, despite allow_url_fopen = on

2007-02-15 Thread alex handle
and configure.log of the freebsd-ports is attached <http://www.dict.cc/englisch-deutsch/Thanks+in+advance+TIA.html>Thanks in advance! Alex System FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386 Build Date

Re: [PHP] remote fopen not working, despite allow_url_fopen = on

2007-02-15 Thread alex handle
On 2/15/07, Aras <[EMAIL PROTECTED]> wrote: Alex, Either the domain you are trying to fetch data is unknown or your resolver settings do not point to a regular resolving server. (check /etc/resolv.conf) Aras Koktas [EMAIL PROTECTED] Business Excellence Development Phi.dot Internet S

Re: [PHP] remote fopen not working, despite allow_url_fopen = on

2007-02-15 Thread alex handle
am: HTTP request failed! in /home/domains/x/xxx/tmp/remote.php on line 2 Alex

[PHP] Re: remote fopen not working, despite allow_url_fopen = on

2007-02-19 Thread alex handle
On 2/15/07, alex handle <[EMAIL PROTECTED]> wrote: Hi all, i recently upgraded a server from freebsd 5.x to 6.2 php 4.4.2 -> php 4.4.4 apache 1.3 -> apache 2.2.4. It worked all great till i noticed that the remote fopen()/file() did not work. allow_url_fopen is set to "

Re: [PHP] Re: remote fopen not working, despite allow_url_fopen = on

2007-02-21 Thread alex handle
On 2/21/07, Richard Lynch <[EMAIL PROTECTED]> wrote: On Mon, February 19, 2007 9:43 am, alex handle wrote: > A minute ago i tried to run my test script (remote.php) on the shell > and the > remote fopen works!! > The problem must be within the php apache module or apache self

Re: [PHP] Session problems with 4.4.5?

2007-02-22 Thread alex handle
p.net/) To unsubscribe, visit: http://www.php.net/unsub.php Will there be a 4.4.6 release soon? A lot of users run OsCommerce and i don't like to run a unpatched php 4.4.4. Thanks Alex

Re: [PHP] Re: remote fopen not working, despite allow_url_fopen = on SOLVED

2007-03-06 Thread alex handle
On 2/21/07, alex handle <[EMAIL PROTECTED]> wrote: On 2/21/07, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Mon, February 19, 2007 9:43 am, alex handle wrote: > > A minute ago i tried to run my test script (remote.php) on the shell > > and the > > remote f

[PHP] Transparent PNGs: Merging

2009-12-11 Thread Alex Davies
This code prints the background image with transparancy removed with a light grey, and the text image in red on a black background in the correct position. If I change it to imagepng($img), the text image is printed correctly (transparency and all) Suggestions appreciated, i'm lost! Many

Re: [PHP] Transparent PNGs: Merging

2009-12-12 Thread Alex Davies
et, 5, 0, 0, imagesx($img), imagesy($img)); And it works :) It seems imagecopymerge does not work well with PNGs and Alpha Channels. Many thanks for your help, Alex On Sat, Dec 12, 2009 at 11:20 AM, Ashley Sheridan wrote: > On Sat, 2009-12-12 at 05:02 +0000, Alex Davies wrote: > >

[PHP] Event Handling

2010-03-15 Thread Alex Major
inded. I was hoping that someone might have some experience with this kind of issue and could point me in the right direction. I'm sure I've missed something right in front of me. Alex.

RE: [PHP] Event Handling

2010-03-15 Thread Alex Major
heridan.co.uk] Sent: 15 March 2010 12:56 To: Midhun Girish Cc: Jochem Maas; David Hutto; php-general@lists.php.net; Alex Major Subject: Re: [PHP] Event Handling On Mon, 2010-03-15 at 18:28 +0530, Midhun Girish wrote: > rene "a page with an ajax script that kicks off the check-for-recen

RE: [PHP] Still searching for a bugtracking system

2010-03-30 Thread Alex Major
seems heavy, I know it has its supporters but I've always found it to be overkill for the projects I've worked on. Alex. -Original Message- From: Andre Polykanine [mailto:an...@oire.org] Sent: 30 March 2010 14:14 To: php-general@lists.php.net Subject: [PHP] Still searching f

[PHP] PHP Application Structre

2010-05-10 Thread Alex Major
ed some insight into which is the recommended approach and why. I've been building bigger and bigger sites so having a solid foundation is becoming more and more important. Thanks for any help/feedback, I hope I've been clear. Alex.

[PHP] GD - import a PNG image and make transparant

2010-05-12 Thread Alex Davies
The images that this outputs, at opacity levels 0,1 and 80 on a red and green background (screenshots of a HTML page) can be downloaded from http://www.box.net/shared/h9zn4tjgro Any help appreciated! Cheers, Alex

Re: [PHP] GD - import a PNG image and make transparant

2010-05-13 Thread Alex Davies
'm currently looking through Karl's example to see if I can work it out, but if anyone can point out a super-simple way of achieving the pseudo-code above, i'd be very grateful! Cheers, Alex On Thu, May 13, 2010 at 1:34 AM, Ashley Sheridan wrote: > On Thu, 2010-05-13 at 00:12 +010

RE: [PHP] multi thread work?

2010-08-04 Thread Alex Major
the previous one > > is it possible to let the script focus another curl process without > wait > answer of the previous one > > i hope if u could understand me ^^ This question has been asked several times over the last week, have a look over the archive ;). You need to be lo

[PHP] Weird preg issue

2010-11-04 Thread Alex Nikitin
... Any ideas? bug, something i'm not getting, something in the way preg works? Thanks in advance, ~ Alex

[PHP] Re: Weird preg issue

2010-11-04 Thread Alex Nikitin
der for this to work correctly, not sure about the elegantly part, but you can just limit preg_replace preg_replace('/(?:(?!"[a-zA-Z\s]*").)*/', '', $str, 1); and that seems to work correctly... Neat... kinda... On Thu, Nov 4, 2010 at 3:47 PM, Alex Nikitin wrote:

[PHP] Re: Weird preg issue

2010-11-04 Thread Alex Nikitin
but that doesnt work if you add something after the "Mooo" *sigh*. well it gets kept On Thu, Nov 4, 2010 at 3:47 PM, Alex Nikitin wrote: > Hi, > > I'm kind of new to this list, and so if there have been discussions about > this, i am not quite aware of them

Re: [PHP] Pros/Cons of using mysqli prepared statments

2010-11-04 Thread Alex Nikitin
to work around that, instantiate it with a query or result object from a statement and you get a uniform way to get the result array... http://pastebin.com/sAhZJcNX ~ Alex On Thu, Nov 4, 2010 at 5:38 PM, Jay Blanchard wrote: > [snip] > Just don't go too far. > [/snip] > >

Re: [PHP] How to write and read serial or parallel port

2012-07-26 Thread Alex Nikitin
ant to use PHP for this to begin with. I mean sure you can write your own vfat implementation in PHP, etc, etc, but it doesn't mean that it's a good idea to do so. -- Alex -- The trouble with programmers is that you can never tell what a programmer is doing until it’s too late. ~Seymour Cray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Multithreading for OOP PHP

2012-10-31 Thread Alex Nikitin
will introduce new places where php apps fail, new security concerns, etc, and I think we are far from having current issues fixed... Want to parallelize your PHP execution? Learn to love curl_multi :) In this case, fix the program, not the programming language. Just my $0.02 -- Alex -- The troubl

Re: [PHP] Re: Multithreading for OOP PHP

2012-10-31 Thread Alex Nikitin
> > > That's all understood but there are times when that one request from > the visitor requires many sub-requests like connection to DB and > making SOAP calls. I would say it's more than just "there are times", that's how a typical script lives, it imports libraries, queries the database, and

Re: [PHP] Re: Multithreading for OOP PHP

2012-10-31 Thread Alex Nikitin
You do all that in the context of a single PHP instance and linear code, calling curl_multi handles its own threading, you just get back results, you dont have to store it anywhere outside PHP memory space, and you can configure timeouts and all that stuff, or you can regulate it yourself. The data

Re: [PHP] Re: Multithreading for OOP PHP

2012-11-03 Thread Alex Nikitin
Threading doesn't increase complexity? Spoken truly like somebody who has not had to actually write, test and debug proper, high performance threaded code. Please tell me how threading doesn't increase complexity of any data structure? I may agree if you talk about php running in cli, but then the

Re: [PHP] Web User Management

2013-01-31 Thread Alex Pojarsky
Hey. Depends on your customisation needs. If you need something robust and don't need anything very specific - you should be ok with Drupal, Joomla or something similar. If you are going to need a lot of complex internals that are not in these engines - you may want to try some lightweight flexibl

Re: [PHP] array_map() with multiple callback functions

2013-05-07 Thread Alex Nikitin
Something like: $cleanData = array_map(function($str){return strtolower(trim($str));}, $passedData); -- The trouble with programmers is that you can never tell what a programmer is doing until it’s too late. ~Seymour Cray On Tue, May 7, 2013 at 4:29 PM, George Langley wrote: > Hi all. I want t

Re: [PHP] Some Advice

2013-06-25 Thread Alex Pojarsky
Putting your session-ID into post will require you to POST every page, rather then GET it. And every anchor user clicks will have to POST, not GET. On Tue, Jun 25, 2013 at 4:32 PM, wrote: > You should at least check the IP of the client additionally to have some > prove > it is the same client y

Re: [PHP] preg_replace question

2011-01-24 Thread Alex Nikitin
27;=>"http://wolframalpha.com";)), -1); Output: süße knuffige http://google.com";>Beagle http://wolframalpha.com";>Welpen ab ~Alex

<    1   2   3   4   5   6   7   8   9   >