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

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

2001-08-23 Thread james
this is 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 pre/pre 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 PROTECTED]... When

[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
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 [EMAIL PROTECTED] wrote

[PHP] Re: Data duplication in databases

2001-08-29 Thread james
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't know if this is the best place to ask, but I thought I would give it a try. I was just wondering i

[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

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 and path from

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 $imagenamesmall; //

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 Atenciosamente,

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 that

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' files

[PHP] php/osx and firebird

2005-06-15 Thread James
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 machine

Re: [PHP] clear the page and continue

2005-07-03 Thread James
Yes, you can use something like span id=blahSome stuff/span 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: Fred [EMAIL

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! Cheers, James Relyea. -- PHP

[PHP] maximum execution time error

2005-07-05 Thread James
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
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
into this 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? ini_set

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: php-general@lists.php.net Sent: Tuesday,

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

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: php-general@lists.php.net Sent: Monday, July 25, 2005 9:40 AM Subject: [PHP] A strategy question about using mySQL for

[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
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 PM -0400 8/1/05, James

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

Re: [PHP] Sessions again....

2005-08-04 Thread James
So what is your question...? - Original Message - From: Suhas [EMAIL PROTECTED] To: php-general php-general@lists.php.net 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

Re: [PHP] Sessions again....

2005-08-04 Thread James
- From: Suhas [EMAIL PROTECTED] To: James [EMAIL PROTECTED]; php-general php-general@lists.php.net 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 visit the page the count variable increases

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

2005-09-02 Thread James
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 Mailing List (http

[PHP] asynchronous PHP to PHP call

2005-09-13 Thread James
() 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
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 been using the GD

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

2005-04-26 Thread James
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 -- -- PHP General Mailing List

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

2005-04-26 Thread James
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 deal with states and such and keeping

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 PROTECTED] wrote: What

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

[PHP] Passing Object Refs throught Arrays

2003-01-30 Thread James
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. - class test { var

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

2003-02-11 Thread James
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 ... html headtitletitle/head body form action=test2.php method=get Press the red submit button!br input type=submit name=red value=Go!P Press the Blue submit button!br input

[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: snip However I would like refernce semantics and the final output of this script to be 1000. So I changed the line to $this-t = $c; and suddenly I get the error: Fatal err

[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
? if ([EMAIL PROTECTED](topten.php)){ echo Loading of top ten failed on line .__LINE__; } ? 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

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: Welcome to a mine field of problems :-) 1

Re: [PHP] Re: Php +Xml?

2003-03-08 Thread James
-of select=. //td/tr /xsl:for-each 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

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

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

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

2003-03-24 Thread James
. - 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

[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? I'm looking to hire some people

[PHP] exec('make') Q

2007-01-22 Thread james
. 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
, 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

[PHP] trouble sending japanese to mysql database!

2009-03-05 Thread James
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

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 eric.but...@gmail.com wrote in message news:6a8639eb0903051302s3b398a00m2287b15a33d3b...@mail.gmail.com... On Thu, Mar 5, 2009 at 2:06 PM, James mli...@ichor-interactive.com wrote: Right, I'm having

[PHP] ftp_put issues

2009-04-15 Thread James
. 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){ // set up basic connection $success = 1; $ftp_server

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 upload

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';

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 usene...@drabble.me.uk 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

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: ad...@buskirkgraphics.com 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,

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

2011-08-31 Thread james
Original Message From: Louis Huppenbauer louis.huppenba...@gmail.com 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 ;)

[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

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

2011-10-28 Thread James
Original Message From: Eric Butera eric.but...@gmail.com To: Jim Long p...@umpquanet.com 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 p...@umpquanet.com wrote: I'm

Re: [PHP] Your Citi Credit Card Statement

2012-05-10 Thread James
Original Message From: Citi Cards citica...@info.citibank.com 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 li...@cmsws.com wrote: On 6/15/2012 3:29 PM, Joshua Kehn wrote: Way easier

Re: Re: [PHP] else if vs switch

2012-06-18 Thread James
-z0-9-\\s\\(\\)\\?\\:\\;@\\.trade;\\,\\ndash;\\'\\t]/uis, $class)) {...} Does this do the same thing as isset? Would isset be better? April On Sun, Jun 17, 2012 at 7:41 PM, James ja...@nixsecurity.org wrote: Same logical check with my personal preference ;) $toaddress = $mapping['default

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

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

Re: Re: [PHP] memory allocation error

2012-11-12 Thread James
Original Message From: James ja...@nixsecurity.org To: Carol Peck carolap...@gmail.com, Jim Lucas li...@cmsws.com 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, adodb, I'd

[PHP] destructor sequence explained

2007-02-27 Thread james james
is 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 ?php class A{ public function __construct($b

[PHP] mysql and php possibly causing problem

2001-01-09 Thread James Mclean
|| | now what happens, is if the file admin.php is in the admin dir, all i get in the browser is the tags htmlhead/head/html, but if i put the file admin.php into the website dir, it works fine. please help!! using php4.0b3, mysql 3.22.32 apache latest debian 2.2 please help!! thanks james

[PHP] Two little questions

2001-01-14 Thread James, Yz
ord\" "; ? Thanks in Advance, 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]

RE: [PHP] Quotes

2001-01-14 Thread James Moore
addslashes() James -- James Moore PHP Quality Assurance Team [EMAIL PROTECTED] -Original Message- From: rodrigo [mailto:[EMAIL PROTECTED]] Sent: 14 January 2001 21:41 To: php php Subject: [PHP] Quotes I recently came across this problem and I am sure that there is a quick

[PHP] Searching a MySQL database?

2001-01-14 Thread James, Yz
I remember seeing someone post something like this: $sql = " SELECT * FROM table_name WHERE towns LIKE \"$town\" "; so if the search word is not EXACTLY like a row in the database, it may return results to partial words. Thanks in advance, James. -- PHP General Mailing

[PHP] Another q, this time eregi_replace

2001-01-14 Thread James, Yz
//1///a/\","//1",$string); I'd like to strip out everything but the link name, so if someone inputs: a href="http://www.php.net"PHP!/a It replaces it with: PHP! Thanks, again. I seem to be asking a lot of questions today, hehe ;) James. -- PHP General Mailing List (htt

Re: [PHP] Searching a MySQL database?

2001-01-14 Thread James, Yz
'%$town%' How different are they? I'm not even sure what a wildcard is? And thanks ;) 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

Re: [PHP] Another q, this time eregi_replace

2001-01-14 Thread James, Yz
Sweet! Thanks ;) I'd like to strip out everything but the link name, so if someone inputs: a href="http://www.php.net"PHP!/a It replaces it with: PHP! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] Searching a MySQL database?

2001-01-14 Thread James, Yz
Here are some queries of the above table with their results bases='Ft. Worth' returns record 1 bases LIKE '%Worth%' returns record 1 bases LIKE '%Ft.%' returns 1 2 bases LIKE '%' returns all records (in this case, 1 2) See? That makes perfect sense. Thank you! -- PHP General

[PHP] Basic SQL syntax

2001-01-15 Thread James, Yz
;") $search_reference = "OR id LIKE '%$reference%'"; } $sql = "SELECT * FROM table WHERE town LIKE '%$search_data%' $search_reference"; $result = @mysql_query($sql,$connection) or die (mysql_error()); $num = mysql_num_rows($result); TIA, James. -- PHP General Mailing

Re: [PHP] Basic SQL syntax

2001-01-15 Thread James, Yz
whatever"; Ah, so you can constantiate (right word?) the query? Cool, Thanks ;) 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]

Re: [PHP] Basic SQL syntax

2001-01-15 Thread James, Yz
Ah, so you can constantiate (right word?) the query? I don't know what you mean by 'constantiate', but glad to hear it worked It did, thank you ;) Someone pointed out where I'd gone wrong with the word privately: Ah, so you can constantiate (right word?) the query? concatenate :) --

[PHP] Reading specific data from a .txt file into PHP

2001-01-16 Thread James Holloway
file and read all the information from just one line? I'm pretty confident I could then split the information up into readable variable using the split(); function :) Thanks in advance for any help you might be able to give, James. -- PHP General Mailing List (http://www.php.net

Re: [PHP] Reading specific data from a .txt file into PHP

2001-01-16 Thread James Holloway
Glen Scott [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... James, The trouble is, that there are about 3000 cities in the text file. I'm assuming that I fill use fopen(); and fread(); to open and read the files, but does anyone know of a way of sing

Re: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-16 Thread James McLaughlin
and personally don't care) So my point, if you made it this far, is use what's best for you and try different things till your satisfied. Someone has already explain how to get FrontPage to work so I'll leave it at that. James

Re: [PHP] Ultimate Editor

2001-01-18 Thread James Mclean
yes, but i preferr vim myself. bluefish has an excellent range of php functions available though, it is fast as well and crashes not often Has anyone tried Bluefish for Linux? -Original Message- From: Michael A. Peters [mailto:[EMAIL PROTECTED]] Sent: January 18, 2001 7:02 PM

[PHP] Migrating from PHP3 to PHP4 issues

2001-01-19 Thread James Atkinson
area, or want to move here, check the site in my sig or email me.) Thanks for any input you can give, --- James Atkinson 100world.com Inc. Senior Developer 512 - 1529 W. 6th Ave. Phone: +1-604

[PHP] Classes question.

2001-01-19 Thread James McLaughlin
parse fine. Can you not do this? James

[PHP] Outputting specific HTML for table tag.

2001-01-22 Thread James, Yz
$table = "table border=\"0\" /* Yadda Yadda */ "; while($row = mysql_fetch_array($result)) { $row = $photo['photo']; $table .= "trtd$photo/td" $table .= "td$photo/td/tr"; } $table .= "/table"; // End Crap programming. ? So. Any t

RE: [PHP] password protection

2001-01-25 Thread James Atkinson
. Do a seach on Google for 'SSL' and start reading :) - James -Original Message- From: Bill Rausch [mailto:[EMAIL PROTECTED]] Sent: January 25, 2001 4:54 PM To: [EMAIL PROTECTED] Subject: [PHP] password protection Hi all, This isn't strictly a PHP issue but is quite related

[PHP] PHP Cron jobs

2001-01-26 Thread James Mclean
List, i do not have access to the cron system on my server, but would like to write a script that does some general housekeeping on my database, and various other things like removing old users, sending some newsletters etc... What would be the best way of getting the script to run on a

[PHP] Importing MS Access into MySQL?

2001-01-29 Thread James, Yz
it. Thanks, as always, in advance :) 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]

RE: [PHP] E Bay is going up again..

2001-01-29 Thread James Moore
been reported and yahoo have been very efficient at shutting them down and apologising. James -Original Message- From: Jonathan Sharp [mailto:[EMAIL PROTECTED]] Sent: 28 January 2001 03:59 To: tabathia; [EMAIL PROTECTED] Subject: RE: [PHP] E Bay is going up again.. Do I have

[PHP] Variable Problem when UPGRADING...

2001-01-29 Thread James Smith
// display signup complete } } if($action == "login") { // show login screen } But now I get an error like this: Warning: Undefined variable: submit in c:\apache\htdocs\test.php on line 3 I don't know if I misconfigured my php.ini file or w

[PHP] void function();

2001-01-30 Thread James, Yz
;) I just guess I could do with having it explained to me in plain English. Thanks in advance, 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]

RE: [PHP] IIS and PHP authorization

2001-01-30 Thread James Moore
2k and IIS 5 as ISAPI. 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]

Re: [PHP] today and yesterday (finding them)

2001-01-30 Thread James Purvins
Try checking out this hot link. It has quite a bit on sliding dates: http://www.php.net/manual/en/function.getdate.php - Original Message - From: Chuck Barnett [EMAIL PROTECTED] To: PHP General List [EMAIL PROTECTED] Sent: Tuesday, January 30, 2001 8:10 PM Subject: [PHP] today and

  1   2   3   4   5   6   7   8   9   10   >