RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread Alex Hogan
L generated > by the called page. read() and > fopen() will get the output of that page and make it > available to you for your own processing. OK... alex hogan * The contents of this e-mail and any files

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread Alex Hogan
[snip] > ... > $block=new Block($header,$content,$link,$andsuch); > $block->display(); > ... [/snip] That's very cool... Thank you... alex hogan * The contents of this e-mail and any files

[PHP] using PHP script to simulate a login

2004-07-16 Thread Alex Shi
can be kept at the visiter's end in correspondance to the web server. However I have no idea is it possible for a script to simulate browser's session handling? Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] using PHP script to simulate a login

2004-07-16 Thread Alex Shi
> On Fri, 16 Jul 2004 19:23:30 -0400, Alex Shi <[EMAIL PROTECTED]> wrote: > > Hi, > > > > We have a web interface to do following: > > 1. login > > 2. check phone number (maybe thousands of) > > 3. logout. > > > > I am just wondering is

[PHP] Very weird issue....

2004-07-20 Thread Alex Shi
a from tty, even they are before fgets.. I found this issue during an unsuccessfull pear installation. The pear installer stopped and waited for my input without any prompt - there is prompt message but not displayed! Can anyone let me know how this can happen? Thanks in advance! Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Function with Optional Arguments

2004-07-21 Thread Alex Hogan
Hi All, How do I write a function with optional arguments? Is it possible in php? function myfunc($First, $Second,[$Third, $Fourth]){ some stuff here } alex hogan * The contents of this e-mail

[PHP] dump a class

2007-11-29 Thread Alex Toro
Private:private] => topsecret #) var_dump($myTest); #object(test)#1 (1) { # ["myPrivate:private"]=> # string(9) "topsecret" #} echo ''; ?> A private member is suposed to be private, isn't it? Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] If statement question

2006-06-26 Thread Alex Major
know that's not really valid php, but hope it gets my point across. I was just wondering from an optimisation perspective, as I don't want sql commands being executed when they don't need to be (unnecessary server usage). Thanks in advance for your responses. Alex. --

[PHP] A variable inside a variable?

2006-06-26 Thread Alex Major
Thanks for your help with my other question, heres a new one for you. I need to nest a variable, inside another variable. For example: $($buildingname)level How (if at all) is this possible? Thanks. Alex. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Calculations

2006-06-27 Thread Alex Major
ing 'to the power of'. Regards, Alex. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: preg_match problem

2006-08-21 Thread Alex Turner
Off the top of my head: /form[1-6]\.php/ AJ www.deployview.com [EMAIL PROTECTED] wrote: hi. I have to check if the script file belongs to any ov form1.php to form6.php files. Need something like: preg_match('/form*.php/', $_SERVER['PHP_SELF']) wher * kan be any number between 1 and 6. Thank

Re: [PHP] preg_match problem

2006-08-21 Thread Alex Turner
I think this pattern would also match form16.php etc, which I think is not what afan wanted. Dave Goodchild wrote: On 21/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: hi. I have to check if the script file belongs to any ov form1.php to form6.php files. Need something like: preg_match(

[PHP] Re: Regex

2006-08-21 Thread Alex Turner
If what you mean is a db table, then it would seem to me that you should not be using a regex. PHP has rawurlencode() for this sort of thing. But - you should learn regex ;-) Try something like (untested and late at night) function urlme($location) { $enc=rawurlencode($location); $spc

Re: [PHP] Overriding core functions

2006-08-22 Thread Alex Turner
It may be possible to override the core function - I don't actually know. If you just define a new function with the same function it might work OK. The snag I see coming at you like a tonne of bricks is 'how do you call the original function once you have overridden it.'. This like like ca

[PHP] Re: Why small > big?

2006-08-23 Thread Alex Turner
M Sokolewice got it nearly correct. However, the situation is a little more complex than he has discussed. The % compression figure for jpeg is translated into the amount of information stored in the reverse cosine matrix. The size of the compressed file is not proportional to the % you set

Re: [PHP] PHP & BEA Weblogic 8.

2006-08-23 Thread Alex Turner
I agree that it is probably pretty non standard! You could write a bean to drive it using the java version of fcgi. But then the app server will hate you for ever as beans are not supposed to do things like open sockets etc. I am very very interested in why you want to do such a thing :-) A

[PHP] Re: Where to download APC for windows?

2006-08-23 Thread Alex Turner
At the risk of being flamed to death, I thought it was in ext in the standard windows distro. If it is not, I am stuffed if I can remember where I got it from (blush). AJ steve wrote: I used to have a bookmark on where to download APC for windows. Anyone have a link? -- PHP General Mailing

Re: [PHP] Re: Why small > big?

2006-08-23 Thread Alex Turner
tral.blogspot.com, if you have any good links to suggest to expand the subject, please let me know and I shall add them. tedd wrote: Alex: Excuse for top posting: You said: Clear as mud? Well actually, it's simperer than I thought. After your reply, I did some reading on jpeg and fou

Re: [PHP] Re: Why small > big?

2006-08-24 Thread Alex Turner
As I promised, here is the writeup with examples: http://nerds-central.blogspot.com/2006/08/choosing-file-format-for-small-web.html Cheers AJ tedd wrote: Alex: Excuse for top posting: You said: Clear as mud? Well actually, it's simperer than I thought. After your reply, I did

[PHP] Re: ssl.

2006-08-24 Thread Alex Turner
It would appear that the root of the page has not gone back to http. Is it possible that this is a one of those cases when two things get changed at once by accident? I would suggest downloading the IE developer's tool bar (or the firefox equivalent) and then when you get to the page you thin

Re: [PHP] ssl.

2006-08-24 Thread Alex Turner
João, Surely the issue is to find why it is not working now. Why it did work in the past is only of interest if you want to stop the problem re-occurring in the future. Thus, the correct approach is to find why it is not working now, fix it and then see if you can work out what has change b

Re: [PHP] ssl.

2006-08-24 Thread Alex Turner
João, Please try and find out why it is not working now. Once you have that worked out, it will be much easier to find out what has changed. There are a few subtle methods by which changing the key length might interact with PHP. However, in general, PHP is not involved with the encryption

[PHP] Re: ssl.

2006-08-25 Thread Alex Turner
Mourad, I think that you might have misread the original post. The snag appears not to be the leaving of a secure site. The snag is that root document is secure but some of the embedded urls (images, frames, iframes etc) are unsecured. Whilst this again is a standard warning, it is one that

[PHP] Re: ssl.

2006-08-25 Thread Alex Turner
My understanding is that the message said that the page had a mix of ssl and non ssl and that the root remained https. This root did not remain https before the key change. Mourad Boulahboub wrote: Hi Alex, Alex Turner schrieb am 25.08.2006 09:55: Mourad, I think that you might have

[PHP] Re: ssl.

2006-08-25 Thread Alex Turner
You're right, but I am impatient ;-) :-) Best wishes - AJ Mourad Boulahboub wrote: Hi alex, Alex Turner schrieb am 25.08.2006 10:36: My understanding is that the message said that the page had a mix of ssl and non ssl and that the root remained https. This root did not remain https b

[PHP] Re: functions classes

2006-08-25 Thread Alex Turner
Bigmark, I have been involved in the evolution of the development process and architecture called functional normalization. I do intend to post some detail on this at funkifunctions.blogspot.com very soon. Anyhow, using this method might help you some what. The trick being to look through

Re: [PHP] functions classes

2006-08-26 Thread Alex Turner
Larry, I have hit similar global names space issues in the past and it is a pain in the behind! One remedial method that can get it stable enough to start to work on is to stick the whole messy lot into classes (NOT OBJECTS!) and then the global name space becomes the local namespace (ie $My

[PHP] Brain Death - [PHP] functions classes

2006-08-26 Thread Alex Turner
Class { function MyVar($val = null) { static $datum; if(is_null($val)) { return $datum; } $dataum=$val; } } I definitely need more coffee! AJ Alex Turner wrote: Larry, I have hit similar global names space issues in the past and it

RE: [PHP] Brain Death - [PHP] functions classes

2006-08-26 Thread Alex Turner
ge- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: 26 August 2006 17:25 To: Alex Turner Cc: php-general@lists.php.net Subject: RE: [PHP] Brain Death - [PHP] functions classes On Sat, 2006-08-26 at 16:51 +0100, Alex Turner wrote: > Rob, > > I'd go along with the setting a v

RE: [PHP] Brain Death - [PHP] functions classes

2006-08-26 Thread Alex Turner
actually 'x === null' should evaluate to absurdity, but PHP is more pragmatic than that ;-) Cheers - AJ Alexander J Turner Ph.D. www.deployview.com www.nerds-central.blogspot.com www.project-network.com -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: 2

RE: [PHP] Brain Death - [PHP] functions classes

2006-08-26 Thread Alex Turner
26 August 2006 19:24 To: Robert Cummings; tedd Cc: Alex Turner; php-general@lists.php.net Subject: RE: [PHP] Brain Death - [PHP] functions classes At 2:30 PM -0400 8/26/06, Robert Cummings wrote: >On Sat, 2006-08-26 at 12:41 -0400, tedd wrote: > > At 4:51 PM +0100 8/26/06, Alex Turner wro

Re: [PHP] display a single thumb per gallery

2006-08-27 Thread Alex Turner
Here is one way of doing it: Group by gallery and return max for image id. Place the resultant Gallery and Image values in an array of arrays. SELECT Gallery, Max(Image) FROM Thumbnails GROUP BY Gallery Then loop over the outer array returning the entire thumbnail row where gallery and image

[PHP] Eaccelerator

2006-08-31 Thread Alex Turner
All, I have just had some very pleasing success with Eaccelerator on windows. Has anyone else been trying this on windows. Has anyone had production experience with this? Thanks for any feedback. I have written up the work I have done so far at http://nerds-central.blogspot.com/2006/08/ea

Re: [PHP] Re: Functions vs html outpuit

2006-09-03 Thread Alex Turner
Dave Goodchild wrote: Thanks, that was what I needed to hear. Cheers. On 03/09/06, Ivo F.A.C. Fokkema <[EMAIL PROTECTED]> wrote: On Fri, 01 Sep 2006 16:44:19 +0200, M. Sokolewicz wrote: > Dave Goodchild wrote: >> Hi all, this may seem like a silly question, but I am creating a library of >> h

Re: [PHP] Crazy behavior...

2006-09-03 Thread Alex Turner
Peter Lauri wrote: Just figured out that it seams to happen when the request is done via AJAX. But it does not make any sense to me that there should be any difference. /Peter -Original Message- From: Peter Lauri [mailto:[EMAIL PROTECTED] Sent: Sunday, September 03, 2006 1:53 PM To:

RE: [PHP] Crazy behavior...

2006-09-03 Thread Alex Turner
. www.deployview.com www.nerds-central.blogspot.com www.project-network.com -Original Message- From: Peter Lauri [mailto:[EMAIL PROTECTED] Sent: 03 September 2006 17:20 To: Alex Turner; php-general@lists.php.net Subject: RE: [PHP] Crazy behavior... [snip] Can you send an example of the broken HTML? What

RE: [PHP] Crazy behavior...

2006-09-03 Thread Alex Turner
PROTECTED] Sent: 03 September 2006 18:02 To: Alex Turner Cc: php-general@lists.php.net Subject: RE: [PHP] Crazy behavior... Just thought one thing. I did do a alert() on the http.responseText, and that breaks in on the too, so the response that is sent back probably just ends there... weird... /

[PHP] Re: Video uploading with PHP -> convert to flash on the fly?

2006-09-04 Thread Alex Turner
Merlin wrote: Hi there, looks like video uploading goes mainstream. Loads of sites are adding video upload capabilities. That is what I would like to add to my webapp as well. Currently only picture upload is available via PHP and image functions. Can somebody please point me to a start on

RE: [PHP] Crazy behavior...

2006-09-05 Thread Alex Turner
Maas [mailto:[EMAIL PROTECTED] Sent: 04 September 2006 22:43 To: Alex Turner Cc: Peter Lauri; php-general@lists.php.net Subject: Re: [PHP] Crazy behavior... Alex Turner wrote: > Peter, > > When it arrives at the browser, via ajax, I am guessing that you then put it > into t

Re: [PHP] Is this unsecure?

2006-09-05 Thread Alex Turner
Peter Lauri wrote: Isn't that just to send a username and password with the request? Or is the username and password protected somehow in that process? -Original Message- From: Paul Scott [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 4:08 PM To: Peter Lauri Cc: php-genera

[PHP] Re: OT - PHP Hosting Service in UK?

2006-09-05 Thread Alex Turner
Miles Thompson wrote: I have a Canadian client, presently living in England, who is setting up a vary basic web site. The business is located in the UK, it makes sense to have the web hosting service in the UK as well. Would anyone who is happy with a UK hosting service offering PHP (prefe

Re: [PHP] Re: OT - PHP Hosting Service in UK?

2006-09-05 Thread Alex Turner
tedd wrote: I use: http://websitters.co.uk/hosting.php AJ Interesting that they display compliance, but fail validation (89 errors?). tedd May I quickly say that I have no involvement in this company other than having sites hosted with them! (blush) I will raise it with them! Thanks for

Re: [PHP] Re: OT - PHP Hosting Service in UK?

2006-09-05 Thread Alex Turner
tedd wrote: I use: http://websitters.co.uk/hosting.php AJ Interesting that they display compliance, but fail validation (89 errors?). tedd Are - the answer is that they recently updated all the pages, and the buttons for validation should only be on the front page. AJ -- www.deployview

[PHP] Re: IE session problem on one server only

2006-09-08 Thread Alex Turner
Larry Garfield wrote: Another issue. :-) I've another site I've built that uses PHP sessions for user authentication. When the user logs in with a user/pass, that is matched against a record in the database and, if found, that user object is stored in the session along with various other trac

[PHP] Testing PHP sites with JMeter

2006-09-08 Thread Alex Turner
All, Sorry if this is a little off topic. I have been writing tutorials on load and regression testing web applications with JMeter. I have just posted the first. These are being do to help people in TPN, but I am able to make them public. As the testing is all being done on PHP based web

[PHP] Re: How could I make the browser to send a command to a cash register...

2006-09-10 Thread Alex Turner
Man-wai Chang wrote: > to open its drawer? > That 100% depends on how the cash register works. Is it an NT cash register, or an propitiatory one? Is it rs232 or on a network? Basically, find out how the cash register can be controlled, then make a php script that can fire that control. If you

[PHP] Re: Ajax and PHP: XMLHTTP

2006-09-11 Thread Alex Turner
Micky Hulse wrote: Can I replace the above with some sort of XMLHTTP request? Googling now... thought I would ask here first. Any good links to tuts that might cover that sort of thing? Kinda thinking about plugging some Ajax into a random image php script. TIA. :) Cheers, Micky I think th

[PHP] Re: How would you do this ?

2006-09-26 Thread Alex Turner
Jad madi wrote: I'm building an RSS aggregator so I'm trying to find out the best way to parse users account feeds equally so Lets say we have 20.000 user with average of 10 feeds in account so we have about 200.000 feed How would you schedule the parsing process to keep all accounts always upda

[PHP] Question about Arrays

2006-10-10 Thread Alex Major
t queries per page and i don't really fancy that! Thanks for any help! (i'm new at this :) ) Alex. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] soapmapper error

2006-04-15 Thread Alex Duggan
/soap_test.php Other methods on this webservice work fine. How do I go about debugging this problem? Thanks, Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using PHP/HTML effectivly

2006-06-14 Thread Alex Major
Hi List, I've been (very slowly) working my way through some basic php, and putting it into my html site. However recently (after trying things out such as cookies or redirects where they have to be set before any page output) I've found that the combination or certainly the way that I'm using

Re: [PHP] Using PHP/HTML effectivly

2006-06-14 Thread Alex Major
se it for the time being. Thankyou for taking the time to respond to my message. Regards, Alex On 14/6/06 19:48, "Jon Anderson" <[EMAIL PROTECTED]> wrote: > This is my opinion on the matter... > > From experience, I would say that mixing PHP and HTML together in a &g

[PHP] An annoying session problem

2006-06-19 Thread Alex Major
Hi there. I'm working my way through a new script, but I've stumbled into a problem. Some data that I've set into a session, won't be processed by part of my php code, but then later on in the page I can get the session value to output. Also, just so that its clear, the mysql code is correct (I ca

Re: [PHP] An annoying session problem

2006-06-19 Thread Alex Major
th how I've put: WHERE user_id = '".$_SESSION['user_id']."' Regards, Alex. On 19/6/06 16:51, "phpninja" <[EMAIL PROTECTED]> wrote: > > > that should be or $_SESSION['username']; ?> > > its all in how y

Re: [PHP] An annoying session problem

2006-06-19 Thread Alex Major
n file in the parent file to the include, so it wasn't (and couldn't) connect to the database. I put the connection file into the parent file, and now its working! Sorry to have taken so much time up with such a silly little thing. Regards, Alex. On 19/6/06 18:52, "tedd" <

RE: [PHP] Pear DB

2008-07-10 Thread Alex Chamberlain
ere is a newer lib or something > which is considered better ? > > TIA, > JC The newest version of Pear DB is Pear MDB2. I have to say I'm not a great fan of the pear system, but MDB2 is probably one of the best. Alex No virus found in this outgoing message. Scanned by

[PHP] Relocating and POSTing

2008-07-10 Thread Alex Chamberlain
I need to send a header('Location:') and send some data along with it - how would I do this?? Thanks, Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.4.7/1544 - Release Date: 10/07/

FW: [PHP] Relocating and POSTing

2008-07-10 Thread Alex Chamberlain
I've solved the problem by using a query string - whilst it is the same domain now - it won't always be and I a silly moment trying to POST data with the redirect! Thanks for the help, Alex > -Original Message- > From: Eric Butera [mailto:[EMAIL PROTECTED] > Sent:

RE: [PHP] Relocating and POSTing

2008-07-11 Thread Alex Chamberlain
Ahh, but they are on different webservers At the moment, I am just using a query string. How long is the limit of the query string?? Alex > -Original Message- > From: tedd [mailto:[EMAIL PROTECTED] > Sent: 11 July 2008 17:12 > To: Alex Chamberlain; PHP General list &

[PHP] Re: Shared Authentication Scheme - the reason for the Redirect and POST mailing

2008-07-13 Thread Alex Chamberlain
> Alex Chamberlain wrote: > > The server and client will initially be programmed in PHP, so I > wanted to > > gather some opinion on whether people wanted another SAS, and what > would > > make them use it over any other?? The company will be there, not > > only

RE: [PHP] Math Weirdness

2008-07-14 Thread Alex Chamberlain
re a 20 cent swing > (-0.10 is 20 cents different than 0.10). > > I must be missing something. When I echo out raw data I do not see > negative signs. Does anyone have any insight as to what might be > happening here? I don't quite understand your problem, but I use integers for any monetary workings as you can guarantee it is accurate (obviously, you work in pence or cents rather than GBP or USD). Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Math Weirdness

2008-07-14 Thread Alex Chamberlain
talCharges > $endingBal) ? > ($endingBal + $totalCharges) : ($endingBal - $totalCharges); > echo number_format($totChargeDiff, 2, '.', '')."\t"; > > // and continue with your code here > ?> Surely, for difference, $totChargeDiff

RE: [PHP] Math Weirdness - Can it be done with integers alone??

2008-07-14 Thread Alex Chamberlain
[quote] I don't quite understand your problem, but I use integers for any monetary workings as you can guarantee it is accurate (obviously, you work in pence or cents rather than GBP or USD). Alex Hello Alex, I was reading through this thread, and I was curious about what methods yo

RE: [PHP] Math Weirdness - Can it be done with integers alone??

2008-07-14 Thread Alex Chamberlain
nately :) > > Cheers, > Rob. Ok, I may have been wrong about the banks thing - don't quote me on it!! However, there must be some degree of accuracy?? Which can then be reflected in your integers. Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AV

RE: [PHP] is there a problem with php script pulling HTML out of database as it writes the page??

2008-07-15 Thread Alex Chamberlain
hat I'm trying to do here? > > Thanks for any help you can give me. > > Rod Clay Have you got a code snippet?? Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.4.11/1553 - Release Date: 15/07/2008 05:48 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OpenID

2008-07-17 Thread Alex Chamberlain
Hi, Has anybody had any success implementing an OpenID server in PHP?? Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] OpenID

2008-07-18 Thread Alex Chamberlain
> This one time, at band camp, "Alex Chamberlain" > <[EMAIL PROTECTED]> wrote: > > > > Has anybody had any success implementing an OpenID server in PHP?? > > Sure, I had mine all set up on oceania.net and then the domain got > stolen. So, all my OpenID

RE: [PHP] More math fun

2008-08-13 Thread Alex Chamberlain
1.7763568394E-15 is 0. The computer just had a rounding error somewhere. We had this discussion a few weeks ago, the solution being to decide to what accuracy you want the answer. Upto 14 decimal places will give you 0 here!! Alex > -Original Message- > From: Robert Cummings [

[PHP] Image Generation

2008-08-20 Thread Alex Chamberlain
the problem?? Thanks, Alex Chamberlain No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.6/1621 - Release Date: 19/08/2008 18:53 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Closing a website (mod_redirect)

2008-08-26 Thread Alex Chamberlain
edirects to closed.png (correctly), but then redirects again to closed.htm - hence no image. Wondering if anybody had any ideas where I am going wrong?? Thanks, Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Databa

RE: [PHP] Closing a website (mod_redirect) SOLVED

2008-08-26 Thread Alex Chamberlain
://localhost/kayaknames/closed/closed.htm [L] http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> Kayak Names http://localhost/kayaknames/closed/closed.png"; alt="Kayak Names" /> > -Original Message- > From: Alex Chamberlain [mailto:[EMAIL PROT

[PHP] 37 Pictures the World must see

2008-10-03 Thread Alex Hogan
; link to email your congressman. Thank you, alex*hogan* ~ * * *"I'm working on a story that the world needs to know about. I wish for you to help me break it, in a way that provides spectacular proof of the power of news photography in

RE: [PHP] Re: BarcodeDB.com - a Barcode Database

2008-10-14 Thread Alex Chamberlain
proved it. Any ideas on how to achieve this effectively?? Thanks, Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.173 / Virus Database: 270.8.0/1722 - Release Date: 14/10/2008 02:02 -- PHP General Mailing List (htt

[PHP] BarcodeDB.com - a Barcode Database

2008-10-14 Thread Alex Chamberlain
nies upload their products for free, but charge others to download them - think how much time companies spend on data entry for this kind of thing!! For the consumer, a money diary etc will follow. Thanks, Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http:/

[PHP] preg_match

2008-10-27 Thread Alex Chamberlain
‘errorcontroller.inc.php’ ‘IndexController’ should load ‘indexcontroller.inc.php’ ‘FooBar’ should NOT load anything whatsoever. Can you help me write an __autoload function please?? Alex No virus found in this outgoing message. Scanned by AVG Free 8.0 Checked by AVG - http://www.avg.com Version: 8.0.175

RE: [PHP] preg_match

2008-10-27 Thread Alex Chamberlain
> -Original Message- > From: Stut [mailto:[EMAIL PROTECTED] > Sent: 27 October 2008 15:21 > To: Alex Chamberlain > Cc: PHP General list > Subject: Re: [PHP] preg_match > > On 27 Oct 2008, at 15:08, Alex Chamberlain wrote: > > I don’t understand regular expre

[PHP] COM and VARIANT types

2008-11-03 Thread Alex Bovey
Hi, I am playing around with some COM interfaces and getting my head around VARIANTs. I have a method that is returning a VARIANT and using variant_get_type returns the type as 9. How do I find out what type 9 relates to? The manual page for variant_get_type isn't much... Thanks all,

[PHP] COM and com_safearray_proxy objects

2008-11-04 Thread Alex Bovey
produces any results so I can't imagine it's very common. Any ideas how I am to access that property in my code? Thanks all, Alex -- Alex Bovey Web Developer | Alex Bovey Consultancy Ltd Registered in England & Wales no. 6471391 | VAT no. 934 8959 65 PHP | MySQL | AJAX | XHTML | C

Re: [PHP] COM and VARIANT types

2008-11-04 Thread Alex Bovey
> I think this may be what you are looking for, but I don't know how > much it helps: > > http://www.marin.clara.net/COM/variant_type_definitions.htm > > Andrew Thanks Andrew - it's a start! Alex -- Alex Bovey Web Developer | Alex Bovey Consultancy Ltd Registered in

[PHP] Random questions from database

2004-01-27 Thread Alex Hogan
if there is a simplier way please let me know. alex hogan ** 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

Re: [PHP] Tip For The Day

2004-01-27 Thread Alex Pilson
s into strings :) Couldn't you trim the items before placing into an array? -- <---> Alex Pilson FlagShip Interactive, Inc. [EMAIL PROTECTED] <---> -- PHP

[PHP] Re: Why we love Microsoft (0t)

2004-01-28 Thread Alex King
Hey, Did you know that he has an older brother named "Mac"? He's a media consultant. Wonder why his site never got any trouble. Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Spell checker in PHP

2004-01-29 Thread Alex King
Justin, I don't know what version of Word you have, but XP seems to do fine with correcting city names. Alex "Justin French" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday, January 10, 2004, at 06:57 AM, Robin Kopetzky wrote: > > &g

[PHP] More info on MikeRoweSoft.com...

2004-01-31 Thread Alex King
out it. Really, Mike should have known that Microsoft wouldn't be as nice as Macromedia, but lets just hope that his little sister, Mika, is smarter. Alex King -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Printer Friendly pages

2004-02-03 Thread Alex Hogan
Hi All, I have a printer friendly page and I want to get rid of the referring url at the bottom of the page. How can I do this? I can't seem to find any reference to this in the archives. alex hogan **

RE: [PHP] Printer Friendly pages

2004-02-03 Thread Alex Hogan
Thanks., alex > -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 03, 2004 1:27 PM > To: Alex Hogan; PHP General list > Subject: Re: [PHP] Printer Friendly pages > > From: "Alex Hogan" <[EMAIL PROTECTED]

[PHP] Strange results on Printer Friendly page

2004-02-05 Thread Alex Hogan
$question = $row['questions'] ; echo "$question\n"; } [snip]... mssql_close(); } alex ** The contents of this e-mail and any

RE: [PHP] beginner question about while loops

2004-02-06 Thread Alex Hogan
.jpg')){ $pictures[] = $file; } #vardump ($pictures[]); ?> alex > -Original Message- > From: Paul Furman [mailto:[EMAIL PROTECTED] > Sent: Friday, February 06, 2004 1:41 PM > To: [EMAIL PROTECTED] > Subject: [PHP] beginner question about while l

[PHP] Re: php5: read-only variables

2004-02-09 Thread Alex Farran
_foo() method for each one. Done this way it it is tedious and ugly, but by overloading member access with the __get( $name ) method, you can achieve the same functionality with fewer lines of code and a cleaner interface to client classes. See under overloading in http://www.php.net/zend-engi

RE: [PHP] HELP: Nested include(...)'s take relative paths not int uitively

2004-02-10 Thread Alex Hogan
Are you saying that it's better not to use relative paths on include(...)'s, require(...)'s and their (x)_once(...) cousins? That seems awkward to me. Why would I want to hard code a path, even if I was including additional functionality from another file? > -Original Message- > From:

RE: Re[2]: [PHP] HELP: Nested include(...)'s take relative paths not int uitively

2004-02-11 Thread Alex Hogan
? The tests I have done so far show an improvement in the performance from what I am upgrading from, but (that's another story):-] alex ** The contents of this e-mail and any files transmitted with it are confidential and i

RE: Re[6]: [PHP] HELP: Nested include(...)'s take relative paths not int uitively

2004-02-11 Thread Alex Hogan
How large can that file be? I have a func.php file that I'm putting all my reusable functions in but I can see that getting pretty large if this project starts getting eaten up with feature creep, er.., I mean additional functionality. (I know that'll never happen...;->) So how large is too large

RE: [PHP] Sessions on Win2k

2004-02-11 Thread Alex Hogan
Session_start() has to be the first thing at the top of the page before anything else. Even header info. I just got this answered for me about two weeks ago > -Original Message- > From: Donpro [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 11, 2004 10:20 AM > To: php list > S

RE: [PHP] Sessions on Win2k

2004-02-11 Thread Alex Hogan
L PROTECTED] > Sent: Wednesday, February 11, 2004 11:00 AM > To: 'Alex Hogan'; php list > Subject: RE: [PHP] Sessions on Win2k > > On 11 February 2004 16:39, Alex Hogan contributed these pearls of wisdom: > > > Session_start() has to be the first thing at the top o

RE: [PHP] A dumb question

2004-02-12 Thread Alex Hogan
HAND? I haven't seen that one... > -Original Message- > From: David T-G [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 12, 2004 11:34 AM > To: PHP General list > Cc: Jeremy Schroeder > Subject: Re: [PHP] A dumb question > > Jeremy -- > > You have started a new thread by taking an

RE: [PHP] [Q] Howto go directly to a URL?

2004-02-13 Thread Alex Hogan
Try..., if($login == "successful"){ $url = "yourin.php"; } else{ $url = "tryagain.php": } header("Location: $url"); alex > -Original Message- > From: Michael T. Peterson [mailto:[EMAIL PROTECTED] > Sent: Friday,

[PHP] PHP IDE

2004-02-16 Thread Alex Hogan
used in production environments. Thanks, alex hogan ** 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

RE: [PHP] Re: [ANNOUNCE] :Possibility of SA PHP conference

2004-02-17 Thread Alex Hogan
You do have some nice scenery. My son is in the Texas Boys Choir and they hosted the Drakensberg Boys Choir. We are going to Drakensberg in the summer after Europe and can't wait to see it other than pictures. > -Original Message- > From: Jakes [mailto:[EMAIL PROTECTED] > Sent: Tuesday,

[PHP] Class rules

2004-02-17 Thread Alex Hogan
Funciton myfunc($var1, $var2){ ..... } } Why? alex hogan ** The contents of this e-mail and any files transmitted with it are confidential and intended solely for the use of the indiv

[PHP] Nested Loops

2004-02-18 Thread Alex Hogan
} } What I keep returning is; Notice: Undefined index: wn_text in c:\inetpub\wwwroot\proto1\wntest.php on line 17 Then the dates display; Date 1 Date 2 Line 17 is: while($row2 = mssql_fetch_array($result2)){ Do

<    2   3   4   5   6   7   8   9   >