Re: [PHP] PHP 5.5.0 final has been released!

2013-06-21 Thread Julian
Awesome work and the new design for the php.net website is also nice ;) Am 20.06.2013, 23:22 Uhr, schrieb Julien Pauli : Hello! The PHP Development Team would like to announce the immediate release of PHP 5.5.0. This release includes a large number of new features and bug fixes. A separate re

Re: [PHP] LightBox click detection

2013-06-15 Thread Julian Wanke
They do, afaik... Am 15.06.2013, 20:11 Uhr, schrieb Tamara Temple : Marc Guay wrote: $('.lightbox-image-class').click(function(){ $.post('ajax.php', {click: true}); }); Do javascript DOM events stack? If they do, this is definitely the simplest way to go. If they don't, you need to capt

Re: [PHP] basic authentication usage

2013-06-10 Thread Julian Wanke
013, 23:14 Uhr, schrieb Jim Giner : On 6/10/2013 4:33 PM, Julian Wanke wrote: I think that the problem here is, that the unset of the $_SERVER["PHP_AUTH_USER"] variable is not affecting the client's browser. If you've got a directory protection, the browser needs a restart

Re: [PHP] basic authentication usage

2013-06-10 Thread Julian Wanke
I think that the problem here is, that the unset of the $_SERVER["PHP_AUTH_USER"] variable is not affecting the client's browser. If you've got a directory protection, the browser needs a restart to show the login dialog before. I may be wrong because I'm using forms normally but the Authentifi

Re: [PHP] Using Table prefixes

2013-06-10 Thread Julian Wanke
1000 clients to a single person. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com On Jun 10, 2013, at 2:11 PM, Julian Wanke wrote: Tell this the facebook, google or nsa data team ^^ Am 10.06.2013, 16:15 Uhr, schrieb Tedd Sperling : On Jun 8, 2013, at 4:

Re: [PHP] Using Table prefixes

2013-06-10 Thread Julian Wanke
Tell this the facebook, google or nsa data team ^^ Am 10.06.2013, 16:15 Uhr, schrieb Tedd Sperling : On Jun 8, 2013, at 4:17 PM, Julian Wanke wrote: A database for each client? Isn't that over-powered? If you have 1000 clients, you would loose the overview over your databases...

Re: [PHP] Using Table prefixes

2013-06-08 Thread Julian Wanke
A database for each client? Isn't that over-powered? If you have 1000 clients, you would loose the overview over your databases... Am 08.06.2013, 21:46 Uhr, schrieb Tedd Sperling : On Jun 8, 2013, at 3:00 PM, Ashley Sheridan wrote: dealTek wrote: I can see the basic need for a table pr

Re: [PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Julian Wanke
les/upload/images/ but my images folder in:http://localhost/framework/files/upload/images/ On Sun, Jun 2, 2013 at 1:11 AM, Julian Wanke <jswp...@gmx.at> wrote: Try to add RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d that should exclude existing files and directorie

Re: [PHP] php links doest work when im using mod rewrite

2013-06-01 Thread Julian Wanke
Try to add RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d that should exclude existing files and directories from rewriting... Am 01.06.2013, 22:39 Uhr, schrieb Farzan Dalaee : i starting to use mod rewrite but all my images or js links doest work my current query stri

Re: [PHP] Include/Require limit?

2013-05-30 Thread Julian Wanke
, 2013 at 12:49 PM, Julian Wanke <billa...@gmx.at> wrote: Hi, I use the pretty large Library PHP Image Workshop (http://phpimageworkshop.com/) at my project. It is about 75,5 KB.  Everything works fine but if I try to include a 15 KB file with country codes, it fails. With the other files I

[PHP] Include/Require limit?

2013-05-30 Thread Julian Wanke
Hi, I use the pretty large Library PHP Image Workshop (http://phpimageworkshop.com/) at my project. It is about 75,5 KB. Everything works fine but if I try to include a 15 KB file with country codes, it fails. With the other files I easily get over 100 KB inclusion size, so my question;

[PHP] confirmation of what functions open_basedir will restrict?

2010-03-23 Thread Julian Dunn
) be unaffected? I assume those are restricted by virtue of include_path. - Julian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Compatiabilty issues

2009-12-03 Thread Julian Muscat Doublesin
Will Have Linux installed on a 64 bit machine effect Apaches functionality? On Wed, Dec 2, 2009 at 6:20 PM, Shawn McKenzie wrote: > Ashley Sheridan wrote: > > On Wed, 2009-12-02 at 12:17 +0100, Julian Muscat Doublesin wrote: > > > >> Sorry about the reply to all. t

Re: [PHP] Compatiabilty issues

2009-12-02 Thread Julian Muscat Doublesin
Sorry about the reply to all. the htaccess files worked correctly on a wamp setup I had. All this happened once I did the big move to apache. On Wed, Dec 2, 2009 at 12:10 PM, Ashley Sheridan wrote: > On Wed, 2009-12-02 at 12:10 +0100, Julian Muscat Doublesin wrote: > > I setup apac

[PHP] Compatiabilty issues

2009-12-02 Thread Julian Muscat Doublesin
Hello Everyone, I am having trouble with the mod_rewrite. This is not working on windows 64bit. I am also having trouble with the directory password protection. However thse bot work perfectly on my UNIX Mac. >From my experince I can see that this is due to file system compatibility. Can anyone c

Re: [PHP] PHP APACHE SAVE AS

2009-12-02 Thread Julian Muscat Doublesin
, Nov 27, 2009 at 10:02 PM, Bastien Koert wrote: > On Fri, Nov 27, 2009 at 11:20 AM, Ashley Sheridan > wrote: > > On Fri, 2009-11-27 at 17:10 +0100, Julian Muscat Doublesin wrote: > > > >> Hi, > >> > >> Just to update every one. This solution below

Re: [PHP] PHP APACHE SAVE AS

2009-11-27 Thread Julian Muscat Doublesin
Hi, Just to update every one. This solution below worked perfectly. Thank you very much Jonathan. I have one other question though. Can anyone help me on the folowing. Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available. Thank you Julian On F

[PHP] PHP APACHE SAVE AS

2009-11-27 Thread Julian Muscat Doublesin
. Thank you very much in advance. Julian

[PHP] parse_str() expects parameter 1 to be string, array given

2009-10-19 Thread Julian Muscat Doublesin
Hello* *Everyone, I am geetting the error below. Can you please guide me on a fix. It is working on the live site but not on local server. Has anyone ever experinced this error before. * Warning*: parse_str() expects parameter 1 to be string, array given**

[PHP] Include Paths

2009-08-12 Thread Julian Muscat Doublesin
I had a problem with the include and require paths when using AJAX. This I have solved by using the document root. However since doing so I am experiencing performance issues. Loading 20 records has suddenly turned into something of a matter of a minute rather then seconds. Has anyone ever experie

[PHP] PHP Mail Function

2009-06-20 Thread Julian Muscat Doublesin
ks in advance Julian

[PHP] Re: PHP, OOP and AJAX

2009-06-08 Thread Julian Muscat Doublesin
One final update. The way one sets the path to required files is very important. I found it is best to use instead of relative paths. Regards Julian On Fri, Jun 5, 2009 at 2:19 PM, Julian Muscat Doublesin < opensourc...@gmail.com> wrote: > Update. > > Hello Everyone, > >

Re: [PHP] Web application design considerations - a good reference ?

2009-06-05 Thread Julian Muscat Doublesin
DESIGN IS THE BASIS OF EVERYHTHING. Through this you will learn other things such as SDLC - Software Develpment Life Cycle. There are many diffrent models you may use to develop an profesional application. In the end its up to you to choose. Regards Julian On Tue, Jun 2, 2009 at 6:50 AM, Angus

[PHP] PHP, OOP and AJAX

2009-06-05 Thread Julian Muscat Doublesin
information. What the problem was for some reason I was did not create an instance of the function class, just was calling the function. Well by creating the runner class I solved the problem. Thanks all for your help. Regards Julian

[PHP] PHP, OOP and AJAX

2009-05-28 Thread Julian Muscat Doublesin
very much in advance for your support. Regards Julian

[PHP] Am I being hacked?

2009-04-08 Thread julian haffegee
I set up a simple form to save comments on my webpage, and after just one day of going live, i'm getting weird comments up like this declare @q varchar(8000) select @q = 0x57414954464F522044454C4159202730303A30303A313027 exec(@q) I don't recognise this code - is this an attempt to do somethi

Re: [PHP] Vote for PHP support in Google App Engine

2008-04-10 Thread Julian Kennedy
On Thursday 10 April 2008 16:32, Paul van Brouwershaven wrote: > Have you seen the Google App Engine already, the guys from Google are > crazy! You now can host your application on the Google network, including > Big Table and GFS! > > Ok, one problem... they currently only support Python for progr

Re: [PHP] open a secondary window/tab in the browser from php

2008-02-18 Thread julian
not html target, pdf window so it can be saved and printed separately form the application. Børge Holen wrote: On Monday 18 February 2008 13:59:11 julian wrote: Hi, I have an application that along filling in some forms, it produces a pdf file, as confirmation of all entered data. I

[PHP] open a secondary window/tab in the browser from php

2008-02-18 Thread julian
Hi, I have an application that along filling in some forms, it produces a pdf file, as confirmation of all entered data. I want to send this pdf file to a different window/tab of the browser, so it is displayed and can latter be printed. In the mean time, the original window contains a c

[PHP] php+mail+TLS/SSL

2008-02-14 Thread julian
Hi, I am using phpmailer currently to send email from my applications. My ISP is restricting the usage of email without SSL/TLS and my SMTP connections have started to fail... Any hints on the best approach to send email from php appplciations ?, I wish I could use my standard gmail/yahoo

[PHP] Re: green bean question on singleton php5

2008-01-16 Thread julian
of the solutions. Have an emtpy private constructor, and have the an init fucntion do the work so typing does not get mixed up. Thanks. Colin Guthrie wrote: Julian wrote: but that forces me to implement a large interface of functions that I prefer to avoid... the $dummy thing works

Re: [PHP] green bean question on singleton php5

2008-01-16 Thread julian
you are forcing the no instantiation via abstract, instead of hiding via private method constructor. You change the constructor for an init function. still the $dummy = new dbaccess (). looks like a simpler solution Thanks for your comments Jochem Maas wrote: julian schreef

Re: [PHP] green bean question on singleton php5

2008-01-16 Thread Julian
nope... only works if I change $dummy= new dbaccess(); and keep the rest . Thanks. ... hope it does not repeat... got undelivered... Eric Butera wrote: On Jan 16, 2008 12:57 PM, julian <[EMAIL PROTECTED]> wrote: Hi, I am implementing this class dbaccess{ static $d

Re: [PHP] green bean question on singleton php5

2008-01-16 Thread Julian
but that forces me to implement a large interface of functions that I prefer to avoid... the $dummy thing works... but I guess it is not "by the book". I would like to understand what am I missing fom the concept Thanks. JCG Daniel Brown wrote: On Jan 16, 2008 12:57

[PHP] green bean question on singleton php5

2008-01-16 Thread julian
Hi, I am implementing this class dbaccess{ static $db=null; static $othervar=33; private function dbaccess(){ dbaccess::$db= new mysqli("localhost",USER,PASSWD,DB); if(mysqli_connect_errno()){ echo "no way"; } } public static function GetDb(){ if(

[PHP] forget about this.

2007-12-04 Thread julian
julian wrote: however this will work... p1.inc 1 var;; 9} 10 } 11 12 class obj { 13var $obj2=20; 14 15function f1(){ 16 global $db; 17 18 echo "\n".$db->fun2()*$this->obj2."\n"; 19} 20 } 21 ?> 1 #!/usr/bin/php -q 2

[PHP] Re: problems accesing an object via globals

2007-12-03 Thread julian
however this will work... p1.inc 1 var;; 9} 10 } 11 12 class obj { 13var $obj2=20; 14 15function f1(){ 16 global $db; 17 18 echo "\n".$db->fun2()*$this->obj2."\n"; 19} 20 } 21 ?> 1 #!/usr/bin/php -q 2 3 f1(); 13 14 ?> -- PHP General Mailing L

[PHP] Re: problems accesing an object via globals

2007-12-01 Thread julian
julian wrote: I want to open a database connection at program initialization and use that very same connection via globals initilizating ( loading from db) other objects. Basically index.php $db=new mysqli(host,us,pass,db); if(mysqli_connect_errno()){ die('errordb conex');

[PHP] problems accesing an object via globals

2007-12-01 Thread julian
I want to open a database connection at program initialization and use that very same connection via globals initilizating ( loading from db) other objects. Basically index.php $db=new mysqli(host,us,pass,db); if(mysqli_connect_errno()){ die('errordb conex'); } switch ($var){

Re: [PHP] PHP problem with array keys / pointers

2006-12-17 Thread julian haffegee
will set the element of ordinal number 0 and key ' 2' to 'dog'. To get that value you would either ask for $array[0] or $array[' 2']. thanks for all the comments so far, i'm not sure you are understanding what I am asking for. My problem is NOT knowing what is in the arrays, but how to ac

[PHP] PHP problem with array keys / pointers

2006-12-17 Thread julian haffegee
Hi all, I've a problem thats been bothering me for a week now I have an array $animals keys and values like this 1 => cat 2 => dog 3 => mouse 4 => horse I want to be able to access them using either a key or a pointer, however the key/pointer will be a variable without variables, if I want

Re: [PHP] newbie problem

2006-02-20 Thread julian haffegee
Hi all, I have a page that lets people upload images - they are then resized for use throughout my site. It all works fine, but I need to reduce the jpg size (without reducing image size) Is there a php function that lets you compress the jpg? Thanks Jules -- PHP General Mailing List (

[PHP] unlink images

2004-11-26 Thread Julian
Hello, I would like to delete a set of images right after they are displayed on the page using unlink. Unfortunately, with unlink the images are deleted before they display on the user's browser. Is there a way to do this? Thank you! -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] ftp_put Problems

2004-09-25 Thread Julian
do truly appreciate the time you and others took to look into this. julian "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Julian wrote: >> i am trying to get a file from my local c drive to my server using >> something other than a

Re: [PHP] ftp_put Problems

2004-09-25 Thread Julian
i am trying to get a file from my local c drive to my server using something other than a form. thanks, julian "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sunday 26 September 2004 06:38, Julian wrote: >> Maybe I should be more specific

Re: [PHP] ftp_put Problems

2004-09-25 Thread Julian
was a problem uploading the file." Any suggestions would be greatly appreciated. Thanks, Julian "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Julian wrote: >> Hello, >> >> I need to use FTP to upload a local file to a s

[PHP] ftp_put Problems

2004-09-25 Thread Julian
Hello, I need to use FTP to upload a local file to a server. The uploads must be done through FTP and not HTTP. Unfortunately, the example in the manual is not working for me. If someone has any suggestions I would really appreciate it. Thanks, Julian -- PHP General Mailing List (http

Re: [PHP] post variables

2004-02-19 Thread julian haffegee
Hi all, I solved this today. It seems odd. If you define an action it DOES NOT work, but if you skip that entirely the POST variables are sent! so works doesn't work. Why would this be? thanks Jules - Original Message - From: "julian haffegee" <[EMAIL PROTE

Re: [PHP] post variables

2004-02-18 Thread julian haffegee
Hi Chris print_r($_REQUEST); (is this what you mean by HTTP Request?) print_r($_POST); print_r($_GET); all give Array() its apache release 10327100 (is that what you mean?) If I change the form method to GET works, and we get REQUEST: Array ( [username] => aa [password] => aa ) _GET: Array (

Re: [PHP] post variables

2004-02-17 Thread julian haffegee
Hi Richard yes it happens in Netscape 7 too, The thing is, it works in perl when I access the query string. But not in php. could it be a setting in php.ini? Jules - Original Message - From: "Richard Davey" <[EMAIL PROTECTED]> To: "julian haffegee" <[

[PHP] post variables

2004-02-17 Thread julian haffegee
Hi all, I am having a nightmare accessing my POST variables. I can red them if I use the GET method on my form, but POST is always blank I have while( list($key, $value) = each ($_POST)){ print "$key $value"; } print "_REQUEST: "; print_r($_REQUEST); print "_GET: "; print_r($_GET); print "_PO

[PHP] variable string names

2003-03-08 Thread julian haffegee
Hi all, I have something thats been driving me mad for days I have: if ($where1 != '') { $whereArray = array_push($whereArray, $where1); } and I want to repeat for $where1 up to $where8 but rather than write it out 8 times, I'd rather use a loop for ($i=1; $i<=8 i++) { if

[PHP] fonts in dynamic images

2003-02-22 Thread julian haffegee
Hi all, I have been creating some dynamic images, with text. Some fonts seem to work fine, but some give the right number of characters, but each character is just a square box. What's causing this. I know the fonts are there (there is an entirely different error message when the fonts are not th

Re: [PHP] Newbie needs compile

2002-05-05 Thread Julian
> He did say he did /not/ want to invoke it from a browser :) I didn't think that PHP could run w/o one though, so my idea was to use a text browser, have it run the script, then exit out. As I said, I was probably wrong ;) Sabre -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Newbie needs compile

2002-05-05 Thread Julian
> I need to schedule to run a PHP script on server side, rather than invoke it > from browser. Is there any way to compile it to .exe so it can run on > Solaris/Apache environment? no such thing as .exe in Solaris ;) just "chmod 755" a file and it will execute. > If yes, can you help me know how

Re: [PHP] php_network_getaddresses

2002-05-04 Thread Julian
> > $ ping nancies.org > > PING nancies.org (207.8.144.57): 56 data bytes > > 64 bytes from 207.8.144.57: icmp_seq=0 ttl=64 time=0.047 ms > > 64 bytes from 207.8.144.57: icmp_seq=1 ttl=64 time=0.043 ms > > 64 bytes from 207.8.144.57: icmp_seq=2 ttl=64 time=0.036 ms > > 64 bytes from 207.8.144.57:

Re: [PHP] php_network_getaddresses

2002-05-04 Thread Julian
> Try just pinging www.nancies.org from the command line. $ ping nancies.org PING nancies.org (207.8.144.57): 56 data bytes 64 bytes from 207.8.144.57: icmp_seq=0 ttl=64 time=0.047 ms 64 bytes from 207.8.144.57: icmp_seq=1 ttl=64 time=0.043 ms 64 bytes from 207.8.144.57: icmp_seq=2 ttl=64 time=0.0

[PHP] php_network_getaddresses

2002-05-03 Thread Julian
Hey All, I get the following error: Warning: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /usr/home/roshi/htdocs/includes/rightcont_nanciesorg.inc.php on line 57 Warning: fopen("http://www.nancies.org/news/rss/","r";) - Bad file descriptor in /usr/home/rosh

[PHP] Backup of MySQL database

2002-04-22 Thread Julian
Hi list!!! I want to make a script to do a backup of a MySQL DB and email me it. It is posible? Can anybody explain me how to do the backup? Thanks! Julian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE:[PHP] mysql question

2002-04-08 Thread Julian
Thanks James! It is the perfect answer for my cuestion!!! Regards! Julian - Original Message - From: James E. Hicks III To: Julian ; [EMAIL PROTECTED] Sent: Monday, April 08, 2002 5:12 PM Subject: RE: [PHP] mysql question Why don't you just increment a counter as yo

[PHP] mysql question

2002-04-08 Thread Julian
Hi!!! I want to know if there is a function to know which is the number of the row that I selected. Please, help me! Julian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] CRONTAB

2002-04-05 Thread Julian
YES!! MY SCRIPT RUN AND I'M NOT RECEIVING ANY EMAIL! Thanks to all!! Specials thanks to Miguel and Dan!! Regards! Julian - Original Message - From: Analysis & Solutions To: PHP List Sent: Friday, April 05, 2002 9:44 PM Subject: Re: [PHP] CRONTAB On Fr

RE: [PHP] CRONTAB

2002-04-05 Thread Julian
#x27;t put content of this type Do you know what is the problem now?? Regards and thank for your time!! Julian - Original Message - From: Miguel Cruz To: Julian Cc: [EMAIL PROTECTED] Sent: Friday, April 05, 2002 7:26 PM Subject: Re: [PHP] CRONTAB On Fri, 5 Apr 2002, Julian wrote: > I

[PHP] CRONTAB

2002-04-05 Thread Julian
Hello to all !!! I write you because I have the following question: I am attempting execute automatically an script PHP, all the days at a certain hour. I configured the cron to executes it, but when it is executed, instead of working, I receive an email in my main account where say: /home/vip

RE: [PHP] Create Email POP accounts with PHP

2002-03-23 Thread Julian
Hi Jason!!! Explain me how to do it with qmail and sendmail, plese. Thank you! Julian - Original Message - From: Jason Wong To: [EMAIL PROTECTED] Sent: Saturday, March 23, 2002 4:00 PM Subject: Re: [PHP] Create Email POP accounts with PHP On Saturday 23 March 2002 21:40, Julian wrote

[PHP] Create Email POP accounts with PHP

2002-03-23 Thread Julian
Hey Dan!!! This book is for sale I can't buy it! Can any body explain me how I can to create email POP accounts whith PHP without using vpopmail Thanks! Julian - Original Message - From: Dan Harrelson To: Julian ; [EMAIL PROTECTED] Sent: Friday, March 22, 2002 9:

[PHP] Create Email POP accounts with PHP

2002-03-22 Thread Julian
Hello! I want to know how I can create email POP accounts from a script PHP. If somebody can help me, thank ahead of time! Regards! Julian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] limiting rows and pages like google

2001-09-13 Thread Julian Wood
ntage of limit? Two queries or a single query? Any other solutions? Any more insights on how limit works? Julian On Wednesday, September 12, 2001, at 10:16 PM, Adrian D'Costa wrote: > > Hi, > > I am trying to find out the the best way to do the following: > > I have a scr

Re: [PHP] Re: Data duplication in databases

2001-08-29 Thread Julian Wood
Maybe it's just as unrealistic at a low level, but I could swear I had heard of this feature before. Oh well. J PS. I didn't mention this before, but a link table (ie a relational structure) is not possible in my situation. On Wednesday, August 29, 2001, at 01:47 PM, james wrote:

[PHP] Data duplication in databases

2001-08-28 Thread Julian Wood
keep one copy of the data and use references for the other records? Does this work if 7 out of the 8 columns (for instance) are identical (ie the primary key is different but everything else is identical). Do such db's exist? Or do they all do this? Or am I just dreaming? J -- Julian Wood

Re: [PHP] Script timeout

2001-08-23 Thread Julian Wood
ondering where they are > coming > from. > > TIA > > Kirk > > -- > 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

[PHP] Script timeout

2001-08-22 Thread Julian Wood
before. So, any idea what is going on? Why timeout at 300s instead of the 30s or the 12000s which are the only two values reported? Any other workarounds? This is php 4.0 Thanks, J -- Julian Wood Programmer/Analyst University of Calgary -- PHP General Mailing List (http://www.php.net/) To

[PHP] myPhpAdmin/mysql/php/ Problem

2001-08-06 Thread Julian Simpson
mns corectly and cut and paste the exact same query on that page IT WORKS Why would it work on that page but not the other. both are supposed to be places where you can enter a normal sql query.. It also doesn't work in my PHP script which is where I really want it to work. What am I

[PHP] another REGEX question

2001-08-03 Thread Julian Simpson
hole string into one space. aparently regex will match the biggest possible match rather than the smallest my question is how do i get it to match the smallest. thanx in advance.. Julian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

RE: [PHP] another REGEX question

2001-08-02 Thread Julian Simpson
hahah that had two interesting effects the first was that it left the < > and the second was that it turned off all the highlighting in my editor due to the "?>" any idea how to include the braces in the match and perhaps not using the ?> string for the sake of conve

Re: [PHP] assigning a part of the name of a variable with another variable before php replaces it with the value

2001-07-26 Thread Julian Wood
To answer your question: $postfld = $HTTP_POST_VARS[$fname[$i]]; should work. BTW, I just use something like: if ($client) { // or in your case: if (${$fname[$i]}) // code to be evaluated if $client exists and is not 0, not null/void/nil, and is not an empty string } J Matthew DeChant wr

[PHP] regex question

2001-07-16 Thread Julian Simpson
finds the last ","||",$string); //take out remaining (inner) tags. $string = ereg_replace ("","",$string); $string = ereg_replace ("","",$string); thanks Julian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EM

Re: [PHP] Post a form within a running php-script

2001-07-10 Thread Julian Wood
A class which allows you to post from within a php script and retrieve the results: http://px.sklar.com/code-pretty.html?code_id=313 Julian On Sunday, July 8, 2001, at 11:22 PM, mike cullerton wrote: > > on 7/8/01 11:17 PM, Bob Horton at [EMAIL PROTECTED] wrote: > >> What if

Re: [PHP] Mac IE 5.0 upload problem

2001-05-18 Thread Julian Wood
that will be stripped) but most file formats are flat these days anyway. I'm not sure about Quark. IE 4.5 should *not* be uploading in MacBinary, so I guess that's a bug they fixed for 5.0. See if you can upload a gif or a jpeg file and retrieve it properly. There shouldn't be a pr

Re: [PHP] MySQL Query not working?

2001-05-15 Thread Julian Wood
You might also want to remove the comma after "url = '$url'" and try an echo mysql_error($link) to see what the problem is. Julian on 5/14/01 5:46 PM, Peter Houchin - SunRentals Australia at [EMAIL PROTECTED] wrote: > change it to > > $sql = "UPDATE CLASS

Re: [PHP] Handling Macintosh filenames in PHP

2001-04-19 Thread Julian Wood
exposed to the peculiarities of the client filesystem. And if you're writing a network client, this would be taken care of by the API. Julian on 4/19/01 7:52 PM, Shawn Reed at [EMAIL PROTECTED] wrote: > > Greetings all, > > I'm currently in the middle of developing a rather

Re: [PHP] Add data to three tables at once from one form

2001-04-19 Thread Julian Wood
other inserts if one of them fails. Julian on 4/18/01 6:33 PM, Steve Werby at [EMAIL PROTECTED] wrote: > > "Fates" <[EMAIL PROTECTED]> wrote: >> I know how to add data to one table but how do I add data to three >> tables from one form? >> >> I w

[PHP] mySQL - select column

2001-04-17 Thread Julian Wood
the lack of subqueries in mysql). I guess what I'm asking - can you do a join on the mysql resultset array somehow. I know in the perl DBI you can get a column of results, but can't find it in php. Thx. J -- Julian Wood Learning Technologies and Digital Media University of Calgary --

[PHP] Gettext on Windows

2001-03-23 Thread Julian
Hello, Has anyone successfully implemented gettext on windows? If so how do you go about creating po files and using the bindtextdomain function; Thanks

Re: [PHP] Problems uploading Files

2001-03-22 Thread Julian Wood
thing you need to get going. Julian -- Julian Wood Multimedia Developer University of Calgary on 3/22/01 11:28 AM, John Almberg at [EMAIL PROTECTED] wrote: > > Hello Sebastian, > > What a timely posting! I am trying to figure out how to allow a user (using > any internet-conne

Re: [PHP] JDBC? Was: [PHP] Hello! PHP

2001-03-17 Thread Julian Wood
wondering if PHP can use JDBC drivers to connect to > databases. what is the 'abstracted db layer' that you mention? > > regards, > andrew > > > On 3/17/01 2:52 PM, "Julian Wood" <[EMAIL PROTECTED]> wrote: > >> >> I'm not quite

Re: [PHP] JDBC? Was: [PHP] Hello! PHP

2001-03-17 Thread Julian Wood
pecific db features. Does that help? J on 3/16/01 7:36 PM, andrew at [EMAIL PROTECTED] wrote: > > On a related noted, does PHP have JDBC support? > > I'm unable to find anything about this - anyone know if it's possible? > > regards, > andrew > > -- Juli

Re: [PHP] MySQL problem - stumped

2001-03-10 Thread Julian Wood
. HTH, Julian on 3/10/01 12:11 PM, John Vanderbeck at [EMAIL PROTECTED] wrote: > > > Ok, > > Well I got 3 replies saying that my use of && is incorrect, and that I > should use AND. This confused me for 2 reasons. First, is that I use && in > all my other

Re: [PHP] Calling Perl from PHP -- Help --

2001-03-06 Thread Julian Wood
e @ARGV instead of <>) on your Porter stemmer program to make it work properly. J -- Julian Wood Multimedia Developer University of Calgary on 3/5/01 11:53 PM, Matt Friedman at [EMAIL PROTECTED] wrote: > I'm stumped. I've searched all over and can't figure this one out.

Re: [PHP] Is it odd or even??? Optimize!!!

2001-03-05 Thread Julian Wood
Clever. For those of us unfamiliar with bitwise ops, here's how this works: The bitwise and op (&) works on bits like this: dig1 dig2 Result 000 010 100 111 An even number's binary representation always ends with 0 (ie 12 = 1100) while an odd ends with 1 (ie 13

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Julian Wood
you may need to use stripslashes to get rid of the slashes. Also, why are you using printf, but not formatting your string at all? Why don't you just use echo? I assume we're still dealing with this line of code: printf("") J on 3/4/01 12:20 PM, Thomas Edison Jr. at [EMAIL PROTECTED] wr

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread Julian Wood
ething] being picked up > by mySQL db. > > this works : > > > > this doesn't work : > > printf(" href=\"pro_page1.php3?title='urlencode($myrow[title])'\">") > > OR such combinations as given in the manual. I tried >

Re: [PHP] Odd PHP/MySQL Question

2001-03-01 Thread Julian Wood
select count(*), year from students group by year; on 3/1/01 12:07 PM, Kath at [EMAIL PROTECTED] wrote: > I have a user database where a year has to be put in. > > Now, I want to compile a list of each different year and how many users are in > that year. > > Is there a way to do this beyond

Re: [PHP] big database with php ?

2001-03-01 Thread Julian Wood
performance, unless you're missing indexes on the pertinent joins. Julian -- Julian Wood Multimedia Developer University of Calgary on 3/1/01 6:52 AM, Chris Lee at [EMAIL PROTECTED] wrote: > on a 45mb table with 31,470 rows mysql takes this long. > > mysql> SELECT stockno fr

Re: [PHP] PHP trace route?

2001-02-26 Thread Julian Wood
> Brandon Orther > WebIntellects Design/Development Manager > [EMAIL PROTECTED] > 800-994-6364 > www.webintellects.com > ---- > -- Julian Wood Multimedia Developer University of Calgary -- PHP General Mailing Lis

Re: [PHP] HTTP POST Question

2001-02-20 Thread Julian Wood
problem - post from flash to a php script - the script can do the unlink (make sure you have correct permissions and *build* the correct path), then return a result code back to flash. Not sure if I'm on target for your question or not. HTH, J -- Julian Wood Multimedia Developer University of

Re: [PHP] HTTP POST Question

2001-02-20 Thread Julian Wood
$res = $a->send(); #strip header $res = strstr($res, "\r\n\r\n"); #display the results echo $res; ?> HTH, J -- Julian Wood Multimedia Developer University of Calgary on 2/19/01 10:15 AM, John Monfort at [EMAIL PROTECTED] wrote: > > > >> 1. It appears

Re: [PHP] dates

2001-02-18 Thread Julian Rockey
with Unix I'm afraid.. Thanks for your reply! Julian [EMAIL PROTECTED] wrote: > On Sun, Feb 18, 2001 at 04:40:08PM -0700, Julian Rockeu wrote: > >> Anyone know how to use the PHP date functions to work out the difference >> between two timestamps? >> >> For exa

[PHP] dates

2001-02-18 Thread Julian Rockeu
Anyone know how to use the PHP date functions to work out the difference between two timestamps? For example.. Figure out the number of seconds, minutes, hours, days, months and years between 5th October 2001 14:20:10 and 26th February 1998 109:54:10 Help much appreciated! thanks Julian

Re: [PHP] PHP Editors

2001-02-16 Thread Julian Wood
>From Allaire's (Homesite) web page: "When InternetWorld surveyed 136 professional design firms (iXL, USWeb, Modem Media, TVisions, Organic Online, etc.) in October 1999, HomeSite was the most popular HTML tool: Allaire HomeSite - 52.9% Bare Bones BBEdit (Mac) - 42.6% Microsoft FrontPage - 22.8

  1   2   >