[PHP] destructor sequence explained

2007-02-27 Thread james james
still referenced by object A, A is destroyed first, then B. However in the second example, it appears that object B is destroyed before object A, even though A still references B. Can someone please shed some light on this? Thanks. James b = $b; } public function __destruct(){ echo

[PHP] Passing Object Refs throught Arrays

2003-01-30 Thread James
t refrence ones, so I have used "&" at all the places I can see to use them. However it doesnt work: the output from this is still 0 not 100 as it should be. Does anyone have any suggestions, or URL's to really good guides on reference passing? Thanks in Advance, James. --

[PHP] Objects: Cant set object variables with refrences ...

2003-02-11 Thread James
function on a non-object in /user/sh/jmb/Project/Wiki/Public_html/test.php on line 25" Anyone have any help on what is happening? Thanks, James. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: several buttons in form - which one was clicked

2003-02-11 Thread James
Your way does strike me as a strange way to do things: I would favour many forms with hidden values myself to but ... Press the red submit button! Press the Blue submit button! But enter your name first! Your name is ! -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: Objects: Cant set object variables with refrences ...

2003-02-11 Thread James
"Michael Kimsal" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > James wrote: > > > > > However I would like refernce semantics and the final output of this script > > to be 1000. So I changed the line to &q

[PHP] Re: Php +Xml?

2003-03-08 Thread James
There is nothing to install. By default php usually comes with XML parser methods - however if you want to invest time in running XSLT/XPATH styles against XML you need to install server side software such as Sablotron or Saxon. We run Sablotron and it's very good. We've also invested in Stylus

Re: [PHP] require_once adds a "1"

2003-03-08 Thread James
"Gary" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks for your response James! > but still I must be doing something wrong the "1" is a persistent little > bugger. Have you any tips on how to rewrite: > > echo @ require_once(&q

Re: [Fwd: Re: [PHP] error while reading google-search-results]

2003-03-08 Thread James
LWP is a perl thing. Curl is probably the best thing to use. Have you tried using googles php api which they provide free? http://www.google.com/apis/ "Jens Lehmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > James Holden wrote: > > > > > >

Re: [PHP] Re: Php +Xml?

2003-03-08 Thread James
They may be about the same in number of lines but the php app must be modified to create a different table type. It is true however that unless you need to something on a large scale these methods may be to much. James. "Daniel" <[EMAIL PROTECTED]> wrote in message ne

[PHP] Re: global find and replace

2003-03-08 Thread James
Add an append file to the php.ini file, this script will act the default loader before any other php action. parse $HTTP_POST_VARS and $HTTP_GET_VARS and $HTTP_FILES or whatever you want Parsing the POST_VARS and GET_VARS will mean you will not have to worry about variable names dont use eregi_*

Re: [PHP] Re: global find and replace

2003-03-08 Thread James
EST[$key] = str_replace(';', '', $val); > } > > > mh. > > On Sat, 8 Mar 2003, James wrote: > > > Add an append file to the php.ini file, this script will act the default > > loader before any other php action. > > > > parse $HTTP_POST_VARS a

Re: [PHP] Enabling HTTP_REFERER

2003-03-10 Thread James
It will be something like Norton Firewalling - Enabled, norton will disable the referer val. jim. "Stephen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've tried both. I think the server has 4.2.3. > > Thanks, > Stephen Craton > http://www.melchior.us > > > - Original Mess

[PHP] The tool that generates documentation for PHP's website

2003-03-24 Thread James
tree. - James Baster James at The Sinner dot co dot uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP developers

2003-11-07 Thread James
Can anyone recommend a good place where I can find some talented PHP contractors? I'm looking to hire some people for some upcoming projects, and I don't want to just put an ad in the paper and get a bunch of responses from barely-qualified people. Thanks, J -- PHP General Mailing List (http://

[PHP] Re: PHP developers

2003-11-10 Thread James
Follow-up question: If I have a specific project that I'm hiring for, would it be inappropriate to post it here? "James" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can anyone recommend a good place where I can find some talented PHP > contractors? &

RE: [PHP] Secure transfer between servers

2001-11-04 Thread James
Perhaps make it an MD5 hash of the username and password in the url. Or, make it a submit button. Those two pop off my head. - James -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 04, 2001 7:50 PM To: [EMAIL PROTECTED] Subject: [PHP

[PHP] extract images from pdfs

2001-03-22 Thread James
I want to extract and save images from a large directory of PDF's... is this possible with php? Has anyone done this?? James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] Security of PHP code

2001-07-04 Thread james
> $allowed_path = "/www/sites/mysite/teaching"; > > if (substr($file, 0, str_len($allowed_path)) <> $allowed_path ) > { > die("not allowed!"); > } > else > { > show_source($file); > } > ?> I've missed part of the discussion, but if my understanding of the issue is correct (accepting a filename

[PHP] print_r question

2001-08-23 Thread james
the right thread for such question. Thanx, James -- 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] Re: print_r question: Jim, Phil, Mike Thanx!

2001-08-23 Thread james
I appreciate your responses. A wrapper function using the suggestions works fine for my immediate purposes -- viewing output in the browser as I learn the language. Thanx again, James "James" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECT

[PHP] Database Preference?

2001-08-28 Thread james
MySQL may be a better database solution. This is particularly important from a price-performance point of view since the other two databases are quite pricy on a per-seat basis. TIA, James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Database Preference? -- Manuel, Michael, Miles

2001-08-29 Thread james
there any real performance hits. Can the same be said of Metabase? Also, would Metabase present a significant learning curve for experienced C and SQL programmers? I will download PostgreSQL and check it out. Again, your input is appreciated and helpful. James Potts "Miles Thompson" <

[PHP] Re: Data duplication in databases

2001-08-29 Thread james
3->> If you don't want to do the encoding thing, you could create a "link" table to accomplish the same thing. HTH, James Potts "Julian Wood" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > Don'

[PHP] PHP make install error

2001-08-30 Thread james
; -i -a -n php4 libs/libphp4.so apxs:Error: Unkown option: S --- The above happens when i run "make install" Please advise. Thanks in advance. James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

[PHP] Releasing Your Code

2001-09-06 Thread James
Multiple part question to all: 1) Have you released full or partial code to any of your projects? 2) What kind of program was it (web mail, groupware, bulletin board, website template etc)? 3) Why did you (not) release it? 4) What kind of license did you use? GPL? LGPL? BSD? Your own mini

[PHP] trouble sending japanese to mysql database!

2009-03-05 Thread James
I've also tried adding: mysql_query ('SET NAMES utf8'); mysql_query ('SET character_set_client = utf8'); mysql_query ('SET character_set_results = utf8'); mysql_query ('SET character_set_connection = utf8'); to the script but still no difference. Thanks James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] trouble sending japanese to mysql database!

2009-03-05 Thread James
Ah, no I hadn't (*red face*), thanks very much, works beautifully now! James "Eric Butera" wrote in message news:6a8639eb0903051302s3b398a00m2287b15a33d3b...@mail.gmail.com... > On Thu, Mar 5, 2009 at 2:06 PM, James > wrote: >> Right, I'm having some rather

[PHP] ftp_put issues

2009-04-15 Thread James
a filebrowser in a html form. I've also tried using ftp_chdir to change the destination path and when calling ftp_pwd is shows the current directory has changed to the correct one but it still won't write anything down. any ideas? James function ftpData($Source, $Dest){

RE: [PHP] ftp_put issues

2009-04-16 Thread James
Hi, yeah ftp manually works just fine using the same login too. James -Original Message- From: Chris [mailto:dmag...@gmail.com] Sent: Wednesday, April 15, 2009 10:09 PM To: James Cc: php-general@lists.php.net Subject: Re: [PHP] ftp_put issues James wrote: > Hi, I'm trying to

[PHP] exec('make') Q

2007-01-22 Thread james
p appreciated. Cheers, James. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] exec('make') Q

2007-01-23 Thread james
system. It's the redirection which does not work for some reason. I'm temporarily displaying output in PHP from make, so can see that grep is grepping, but not redirecting to the target. Cheers, James. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Your Citi Credit Card Statement

2012-05-10 Thread James
> Original Message >From: "Citi Cards" >To: php-general@lists.php.net >Sent: Thu, May 10, 2012, 1:19 PM >Subject: [PHP] Your Citi Credit Card Statement > >Your Citi Credit Card Statement > >

Re: [PHP] else if vs switch

2012-06-17 Thread James
Same logical check with my personal preference ;) $toaddress = $mapping['default']; if ( isset($city) && isset($mapping[$city]) ) { ... } -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Jim Lucas wrote: On 6/15/2012 3:29 PM, Joshua Kehn wrote: > Way easier to just use

Re: Re: [PHP] else if vs switch

2012-06-18 Thread James
"") || ($city=="Select >your city") || ($class=="") || >preg_match("/[^A-Za-z0-9-\\s\\(\\)\\?\\:\\;@\\.™\\,\\–\\&'\\t]/uis", >$class)) >{...} > >Does this do the same thing as isset? Would isset be better? > >April > >O

Re: [PHP] Differences

2012-10-03 Thread James
All of the images are displaying because you're simply instructing the function to print out each file found with your call to glob(). The glob() function returns an indexed array containing files found in the path you specified, or an empty array if no files were found or false if glob() failed

Re: [PHP] memory allocation error

2012-11-12 Thread James
This could be an issue with the library you're using, adodb, I'd check to see if it has any debugging options to enable. I'm not familiar with it at all but that may be helpful. I'd also check out adodbs bug tracker, if one exists. Another suggestion would be use a profiler, such as xdebug, I be

Re: Re: [PHP] memory allocation error

2012-11-12 Thread James
> Original Message >From: James >To: "Carol Peck" , "Jim Lucas" >Cc: php-general@lists.php.net >Sent: Mon, Nov 12, 2012, 12:53 PM >Subject: Re: [PHP] memory allocation error > >This could be an issue with the library you're using,

Re: [PHP] possible variable declaration error

2011-03-25 Thread james
Correct me if I wrong, but you're declaring $id AFTER binding the SQL parameter, therefore your :id isn't being bound to anything, hence the empty returned array. I think: $d_series_fetch = $db->prepare("SELECT * FROM defaultseries WHERE publisher >> :id"); $id = 'DC Comics'; $d_series_fetch->b

Re: [PHP] Memory limit Problem

2011-06-23 Thread james
Check the value of the upload_max_filesize and post_max_size directives in the php.ini. > Original Message >From: Graham Drabble >To: php-general@lists.php.net >Sent: Thu, Jun 23, 2011, 9:46 AM >Subject: [PHP] Memory limit Problem > >Hi, > >I've got a problem with setting the memory l

Re: [PHP] Upgrade or Die?

2011-06-24 Thread james
Chrome. Enough said. Now, if we can only convince the rest of the world ... > Original Message >From: >To: php-general@lists.php.net >Sent: Fri, Jun 24, 2011, 1:17 PM >Subject: [PHP] Upgrade or Die? > >In shifting gears to a faster pace of development and release, Mozilla has >opted to

Re: Re: [PHP] Re: mysqli sql question

2011-08-31 Thread james
> Original Message >From: Louis Huppenbauer >To: php-general@lists.php.net >Sent: Wed, Aug 31, 2011, 10:24 AM >Subject: Re: [PHP] Re: mysqli sql question > >Hi there Richard > >It's part of the prepared statements >http://php.net/manual/de/pdo.prepared-statements.php >;) > >2011/8/31 Rich

[PHP] PHP process 32 v 64 bit virtual memory

2011-09-22 Thread James
Looking for some explanation (and verification) as to why the virtual memory increases by 5 fold (at the minimum) from 32 bit to 64 systems. I'm aware (for the most part) of the int, struct, etc changes from 32 to 64 bit. Results from running `php -r 'sleep(1000);' &` on 32 and 64 bit systems ar

Re: Re: [PHP] Why does this script run out of memory?

2011-10-28 Thread James
> Original Message >From: Eric Butera >To: "Jim Long" >Cc: php-general@lists.php.net >Sent: Fri, Oct 28, 2011, 1:22 PM >Subject: Re: [PHP] Why does this script run out of memory? > >On Fri, Oct 28, 2011 at 12:38 PM, Jim Long wrote: >> I'm running PHP 5.3.8 on FreeBSD 8.2 with MySQL 5.1.

[PHP] handling a user pressing browser's back button

2005-04-26 Thread James
record as Editable fields. If the user presses the Browser's Back button, the record still appears as Editable. This is just one of those cases. What have people done in the past to deal with states and such and keeping these things straight when the user hits the BACK button? -James

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread James
output to force the browser to not load from the cache and it didn't work. header("Cache-Control: no-store, no-cache, must-revalidate"); -James At 1:59 PM -0500 4/26/05, Greg Donald wrote: On 4/26/05, James <[EMAIL PROTECTED]> wrote: What have people done in the past to dea

Re: [PHP] handling a user pressing browser's back button

2005-04-26 Thread James
Ok Greg: I changed everything to GET and it's behaving better! Thanks. I guess when the user clicks the back button they should just get back the last state of the browser...no if, and or but's. -James At 1:59 PM -0500 4/26/05, Greg Donald wrote: On 4/26/05, James <[EMAIL PROT

Re: [PHP] handling a user pressing browser's back button

2005-05-02 Thread James
Thank you guys for the answers. I think I will go with the following approach. (A) script 1 submits to script 2 then (B) script 2 redirects browser back to script 1 Script 1 is in charge of submitting and displaying; script 2 does the processing. This list is the best! -James At 2:08 AM + 4

Re: [PHP] handling a user pressing browser's back button

2005-05-02 Thread James
Actually: Will there be an issue with the back button if I use 1 script to do all of what I posted before? So... Script 1 submits to itself...it does the processing, updates databases, etc...then it redirects back to itself for displaying for results. -James Thank you guys for the answers

[PHP] php/osx and firebird

2005-05-05 Thread James
uot; I've tried to add: --with-interbase=/Library/Frameworks/Firebird.framework/Resources to my php.ini and it didn't work. Am I pointing to the wrong directory? What other configuration/setup do I have to do to enable php's interbase functions? Thanks. -- -James

[PHP] one-time password (OTP) authentication

2005-05-05 Thread james
Two-factor authentication (authenticating user with something they know AND something they possess) is becoming more and more popular due to increasing security requirements and the prevalence of spyware software. However, in open source projects, solutions such as RSA securID, smartcards, etc.

Re: [PHP] Question regarding fopen

2008-04-29 Thread James
> Hi, I'm having a strange problem with fopen > > For clearence, here is the phpinfo page: > http://www.grondengoed.nl/phpinfo.php > > I will shortly explain the problem I'm having: > $imagenamesmall = $foldersystem . '/' . $id . $imgstr . '-s' . > $i . '.jpg'; > echo $imagenamesmal

Re: RES: [PHP] 0T - Request for quick test

2008-05-20 Thread James
> > Your JS for email verification is annoying :P > > Type something in email address field and then go to next field, and then > press shift+tab or alt+tab and see it going nuts :) > > > I second what Daniel said about that green arrow and, yeah it actually > worked here too. :D > > > Atenciosamen

Re: [PHP] spreadsheets are opened read only

2008-09-24 Thread James
On Wed, September 24, 2008 7:28 am, Thodoris wrote: > > Hi guys. I am having a problem with opening xls files from a link > generated from php script. Let me analyze this: > > I have two linux servers with apache (php,mysql etc) that are running > the same project. There is a part in this project

Re: [PHP] How to show ppt file on webpage/flash

2008-09-24 Thread James
On Wed, September 24, 2008 2:53 pm, Tiji varghese wrote: > Hi all, > I want to show '.ppt' (Power Point) files on my web page either as a flash > or embedded into web page or by doing some processing at the server side. > The actual scenario being that a user would just upload their 'ppt' > file

[PHP] php/osx and firebird

2005-06-15 Thread James
e 20 " I was able to use isql to remotely connect using the parameters above. What am I not doing on the PHP end to get this to work? -- -James

Re: [PHP] php/osx and firebird

2005-06-15 Thread James
Here's the answer! http://community.borland.com/article/0,1410,25290,00.html I updated the SERVICE file on my Apache/PHP machine and all is well. At 12:04 PM -0400 6/15/05, James wrote: I have a windows machine with Firebird and the default database. I've configured another ma

Re: [PHP] clear the page and continue

2005-07-03 Thread James
Yes, you can use something like Some stuff and use javascript to alter the element's value (the contents between the span tags). document.getElementById("blah").innerHTML="some new stuff" Hope that is what you wanted, James Relyea. - Original Message - From:

Re: [PHP] clear the page and continue

2005-07-04 Thread James
Fred wrote: Outstanding James! A different approach to get a more flexible result. Fred. or document.getElementById("blah").style.display = 'none'; That would also work well. innerHTML is not supported by many browsers I wasn't aware of this, thanks! Chee

[PHP] maximum execution time error

2005-07-05 Thread James
I'm getting the following error... "Fatal error: Maximum execution time of 30 seconds exceeded in /Library/WebServer/Documents/sandbox/make_test_data/database_admin line 29" Is there a parameter that I can set on a script by script basis? -- -James

RE: [PHP] maximum execution time error

2005-07-05 Thread James
: [snip] Is there a way to, on a script by script basis, change the maximum allowed time that a script is allowed to run? [/snip] http://www.php.net/set_time_limit -- -James

Re: [PHP] maximum execution time error

2005-07-05 Thread James
problem with my actual app. Thanks for everyone's help. -James At 8:35 PM +0200 7/5/05, Jochem Maas wrote: Greg Donald wrote: On 7/5/05, James <[EMAIL PROTECTED]> wrote: Is there a way to, on a script by script basis, change the maximum allowed time that a script is allowed to run?

Re: [PHP] imagegif() unable to open temporary file

2005-07-05 Thread James
I would then guess the permission error is with the directory stated. ie /path/to/. Have you tried modifying the directory the script resides in to allow public write access? - Original Message - From: "kristina clair" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 05, 2005 3:28 PM Sub

Re: [PHP] still some problems with contact form

2005-07-19 Thread James
This is what you have done if(something happens) { print error; } print thanks for sending the form! So basically you are printing the error and then thanking them. You need to include an ELSE bracket. Like so.. if(this error || that error || some other error) { print error; } else { /

Re: [PHP] checking for internet connection

2005-07-20 Thread James
Assuming they connect to check their email every now and then, you do realize people will still receive your email regardless of whether their connection is up or not? The emails reside on the email server until the user retrieves them. - Original Message - From: "Steven" <[EMAIL PROT

Re: [PHP] A strategy question about using mySQL for saving flat-file stings?

2005-07-25 Thread James
I don't know if this is of any help, but you can make a mysql field Unique without it being an index/primary key. - Original Message - From: "Al" <[EMAIL PROTECTED]> To: Sent: Monday, July 25, 2005 9:40 AM Subject: [PHP] A strategy question about using mySQL for saving flat-file stin

[PHP] ibase_connect...how to specify a port?

2005-07-26 Thread James
How do you specify a port to connect to? I tried using localhost:3050 (3050 is the default port that Firebird) and that didn't work. $host = 'localhost:/path/to/your.gdb' ; $username = 'SYSDBA'; $password = 'masterkey'; $dbh = ibase_connect ( $host , $username , $password ); -- -James

[PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread James
can I hold onto the session variables while moving between web servers? -- -James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread James
files from that machine. (machine B) after the php script runs and deletes the media files, it displays a "SUCCESS...please close window" which appears in the new window. The user still has the admin tools, with it's session variables, in the parent window. -James At 2:43

Re: [PHP] php script calling another one (on different machine), session variables

2005-08-01 Thread James
Thanks Rory: I tried using fopen() and CURL and they both worked like a charm! No need to juggle redirects and session variables. -James At 9:21 PM +0200 8/1/05, Rory Browne wrote: On 8/1/05, Jochem Maas <[EMAIL PROTECTED]> wrote: Rory Browne wrote: > On 8/1/05, James <[EMA

Re: [PHP] Sessions again....

2005-08-04 Thread James
So what is your question...? - Original Message - From: "Suhas" <[EMAIL PROTECTED]> To: "php-general" Sent: Thursday, August 04, 2005 4:13 PM Subject: [PHP] Sessions again Hello, I am trying to understand how sessions work. I have this code. My understanding is after 1 sec of

Re: [PHP] Sessions again....

2005-08-04 Thread James
al Message - From: "Suhas" <[EMAIL PROTECTED]> To: "James" <[EMAIL PROTECTED]>; "php-general" Sent: Thursday, August 04, 2005 4:35 PM Subject: Re: [PHP] Sessions again Well script is not working as it is supposed to be. Even after 2 hrs I v

[PHP] deleting files on Windows...permissions issue

2005-09-02 Thread James
ssions for the folder's parent folder. This PHP script is called from a browser. What user does the PHP script run as when served up by Apache on Windows? (once I have this answer, I can set the owner of the folder to this user and give that a shot) -- -James -- PHP General Mai

[PHP] asynchronous PHP to PHP call

2005-09-13 Thread James
fopen() to call the script on the second server. -- -James -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Warning: imagettftext() expects parameter 2 to be double

2005-12-05 Thread James
magettftext($image['png'],$fontsize,$fontangle,$fontxpos,$fontypos,$font['c olor'],$font['type'],$text);} It works fine if I add just one line outside of the loop ­ but as soon as its within the loop it errors. Cheers, James

Re: [PHP] PHP Warning: imagettftext() expects parameter 2 to be double

2005-12-07 Thread James
by image.php. Line 38 is the problem, if you comment around the foreach() statement and un-comment the commented lines you should see it working fine, its when its within the foreach statement when it errors. Regards, James Jochem Maas Wrote: James wrote: > Hi there, > > I have b

[PHP] Newbie:Cannot send session cookie...

2001-02-04 Thread james
1. Cannot send session cookie - headers already sent by (output started at c:/program files/apache group/apache/htdocs/index.php4:10) in c:/program files/apache group/apache/htdocs/index.php4 on line 11 What does it mean? Any hints? 2. Another problem: My htm page has two frames (left and rig

[PHP] Newbie: Fundamental question. Long.

2001-02-16 Thread james
; echo " "; ?> Right_top frame: (right_top.php) if ($action=="search_for_phrase"){ searching_for_phrase($phrase); exit(); } } function searching_for_phrase($phrase) { ibase_connect('www.gdb','james','james'); $query=ibase

[PHP] Bizarreness with htmlentities() and other things

2002-11-28 Thread James Coates
where some characters become modified in a way I don't like - in particular, when the letter L follows an E with a diaresis (Raphaël, for example) it becomes upper case. Suggestions, anyone? And if anyone wants to make that code shorter and more readable, I'd appreciate it greatly. :-) James. xx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] editing .htaccess / .htpasswrd

2002-11-28 Thread James Coates
d - http://www.hotscripts.com/Detailed/3978.html James. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Bizarreness with htmlentities() and other things

2002-11-28 Thread James Coates
be fine on the production (Linux) server, so I have no need to worry. :-) Many thanks, James. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with login/redirect/insert to dbase

2002-11-28 Thread Karl James
Hello guys Happy thanksgiving!!! My question is I'm Trying to apply this code to what I have done already on my site http://robouk.mchost.com/tuts/tutorial.php?tutorial=login1 my site is this. http://www.ultimatefootballleague.com Im trying to do

[PHP] login_script_help needed.

2002-11-30 Thread Karl James
http://www.ultimatefootballleague.com/Create_Account.phps hey people I was wondering if anyone can tell me why I cant get this script to work. Or do you have an easier one I can use.. Thanks Karl

RE: [PHP] Date problem

2002-12-03 Thread James Coates
against that ignoring the year: * give me actors who have birthdays in the next five days * give me actors whose birthdays fall between two dates (ie: Aries) I've got pretty much everything else working but this one's *really* playing with my head. :-( I know I should've employ

Re: [PHP] Date problem

2002-12-03 Thread James Coates
lt manual for details. Ignoring the year, obviously, to get my Aries. :-) James. -- -- [EMAIL PROTECTED] - http://www.affection.net/~jamesc/ - [+33] 6 79 02 08 99 -- PHP General Mailing List (http://www.php.net/) To unsub

[PHP] Re: Safe mode and safe_mode_exec_dir

2002-12-05 Thread James Hatridge
Hi Rodrigo et al... On Thursday 05 December 2002 16:09, Rodrigo Borges Pereira wrote: > Hello all, > > directly in /etc/php.ini doesn't work either. I noticed PHP was compiled > with --with-exec-dir=/usr/bin, but i suppose that what we define in > php.ini (at least) overrides that. I had hell wit

[PHP] Re:

2002-12-05 Thread Karl James
where you Can trade players and add/drop players of your roster. Please email me if interested. Thanks Karl james

Re: [PHP] overview of current app frameworks

2002-12-12 Thread James Johnson
I'd also add Fusebox for PHP (www.fusebox.org, http://sourceforge.net/projects/php-fusebox/) AND the "tone" of the user's on the various mailing lists. The people on the PHP Fusebox list are considerate and helpful. I made the mistake of posting a "newbie" PHP question on the Smarty list and was am

[PHP] Fw: [SMARTY] JavaScript / PHP syntax problems

2002-12-12 Thread James Johnson
My mistake for posting to the wrong list. Meant to go to php-general. I've got it working now. There's an option in Dreamwever for escaping quotes with % 's or not. Jim - Original Message - From: "Hoffman, Geoffrey" <[EMAIL PROTECTED]> To: "Jam

[PHP] PHP Redirects

2002-12-12 Thread James Johnson
Hi, In ColdFusion, I can redirect to another page with the tag . Is there an equivalent in PHP? Thanks, Jim Johnson

[PHP] Reloading page in frame after SQL Insert

2002-12-13 Thread James Johnson
Hi, I'm building a frameset based app which displays a list of pages. The left hand frame contains a list of pages, the middle frame has a "New Page" page. After the new page information is inserted into the DB, how can I get the left hand frame to refresh itself, to show the new page. It must

[PHP] nested if in a for statement

2002-12-17 Thread James Brennan
I am checking the values of a submited forms for empty fields with the code below. My problem is that the echo statement is being executed once regardless of whether or not the if statement is true. What am I missing? thanks, loopjunkie snip /* variables in array set earlier in script

[PHP] uploading flat text to MySQL

2002-12-21 Thread James Brennan
I'm using a HTML form to submit flat text files to a MySQL database. When I upload the text file by FTP the script that loads it's contents into the database works as expected. When I upload using the HTML form it seems to ignore the new line in the text file. As a result it only creates one row

Re: [PHP] solved - uploading flat text to MySQL -

2002-12-21 Thread James Brennan
Changing ENCTYPE to "text/plain" from "multipart/form-data" solved the problem. :) loop From: "James Brennan" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] uploading flat text to MySQL Date: Sun, 22 Dec 2002 01:04:14 -0500 I'm using a HTML

Re: [PHP] un-solved - uploading flat text to MySQL -

2002-12-21 Thread James Brennan
part/form-data" solved the problem. :) loop From: "James Brennan" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] uploading flat text to MySQL Date: Sun, 22 Dec 2002 01:04:14 -0500 I'm using a HTML form to submit flat text files to a MySQL database. When I up

[PHP] dropping the resource fork

2002-12-22 Thread James Brennan
It's a new day and I'm still trying to figure my flat-text database update problem out. I am uploading from mac to unix . Does a .txt file have a resource fork? Is the resource fork from the mac file automatically scraped by unix, or do I have to do that? Would it be efficient to strip the reso

[PHP] weird MySQL resource error

2002-12-28 Thread James Brennan
I am getting a "Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource" error only when the commented-out code bellow (starting from $id = bb_sponsor...) is added. If I omit the code the resource is recognized as valid. Can anyone explain? Thanks, loop P.S. - I know

[PHP] ascii(10) changed to ascii(13) when uploading

2002-12-30 Thread James Brennan
Just a heads-up. I was having problems doing a MySql infile insert with a flat file uploaded from an html form. I discovered that ascii character 10 (new line \n,\r) is being changed to ascii character 13 (charriage return) when it is uploaded. MySql didn't recognize the ascii-13 character as a

[PHP] help with script!!

2003-01-01 Thread Karl James
HYPERLINK "http://host.makethewebsecure.com/~admin12/do_adduser.phps"http://host.m akethewebsecure.com/~admin12/do_adduser.phps can someone take a look at this and see why this wont work. karl --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com

[PHP] help with script

2003-01-01 Thread Karl James
Sorry guys!!! Well im trying to add the form to my database table. Which is this link!! HYPERLINK "http://host.makethewebsecure.com/~admin12/show_adduser.html"http://host .makethewebsecure.com/~admin12/show_adduser.html then when I hit add user!!! I get this error message Added to auth_u

[PHP] help with form adding to database!!

2003-01-02 Thread Karl James
Hey guys, I cant figure out what’s wrong with this code. Im sure its syntax can some one take a look at it and Help me out What im trying to do is create a form for sign up. So that the values will be added to the table in the databse.. For log in purposes. Thanks Karl Here is the code.

  1   2   3   4   5   6   7   8   9   10   >