[PHP] Re: Why the difference in email transit times?

2013-08-13 Thread Ian
a look. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: cURL issues posting to an end point

2012-10-11 Thread Ian
); // Check for an error again if(curl_errno($ch)0){ print Error executing query: Err Number:. curl_errno($ch). , Description: . curl_error($ch)); } It may also be wise to increase your time out whilst testing, just in case. Regards Ian -- -- PHP General Mailing List

[PHP] Re: How to limit source IP in PHP

2012-09-18 Thread Ian
On 14/09/2012 20:08, Curtis Maurand wrote: On 9/14/2012 7:20 AM, Ian wrote: On 12/09/2012 14:53, Tonix (Antonio Nati) wrote: Is there a way to force a PHP script to bind to a prefixed IP? Actually, while you can assign more IPs to Apache for listening, assigning domains to specific IPs

[PHP] Re: How to limit source IP in PHP

2012-09-14 Thread Ian
at container based virtualisation like OpenVZ. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to best set per-site PHP session storage under suPHP/WordPress?

2012-08-13 Thread Ian
the Apache user has write access to the new folder. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2012-07-27 Thread Ian
On 26/07/2012 13:37, Alex Nikitin wrote: snip Real question is why in the world would you want to use PHP for this to begin with. snip Hi, I cannot speak for the OP, but personally I am doing this so I can hook up to a web application and re-use existing code. Regards Ian -- -- PHP

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

2012-07-26 Thread Ian
-serial/source/browse/trunk/ I will be trying this myself tonight as I need to hook up to an arduino and retrieve some sensor readings. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: slicing and dicing strings

2012-06-28 Thread Ian
-docs.php I recommend the version with user notes as there are also lots of great examples / comments included too. There are also CHM readers for other operating systems (including mobiles), so no excuse for not Reading The Fine Manual any more. Regards Ian -- -- PHP General Mailing List (http

[PHP] Re: make error

2012-03-23 Thread Ian
don't need the server: # yum install mysql-devel If you want to find where they were installed use: # find / -name mysql.h Regards Ian -- 2012/3/23 Daniel Brown danbr...@php.net 2012/3/23 黄昭源 wongzhaoy...@gmail.com: Hello, I have a problem. When I configure php

[PHP] Re: Time zone in date function

2012-01-31 Thread Ian
time by timezone name * @param string $timezone * @return array * @author Ian Gibbons */ function getNowByTimezone($timezone){ $remote_timezone= new DateTimeZone($timezone); $remote_time= new DateTime(now, $remote_timezone); return getDate(strtotime($remote_time-format

[PHP] Re: PHP 5.3.6 Dates

2011-12-12 Thread Ian
this better. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Compile PHP with MySQLi (With MySQL on a remote server)

2011-10-13 Thread Ian
manager then google will be able to help. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Secure data management

2011-10-07 Thread Ian
, others will. I suggest you go to the OWASP site [3] (The Open Web Application Security Project) and have a look around. Regards Ian -- [1] http://php.net/manual/en/ref.filter.php [2] http://en.wikipedia.org/wiki/Cross-site_scripting [3] https://www.owasp.org/index.php/Main_Page -- PHP General

[PHP] Re: Stop PHP execution on client connection closed

2011-09-13 Thread Ian
status / stores results of jobs. Background process on web page monitors job status via AJAX calls and alerts user when complete. On linux systems, The pear module 'System Daemon' is very good for job queues and easy to install: [http://pear.php.net/package/System_Daemon] Hope this helps. Ian

[PHP] Re: DateTime using DateTimeZone Timestamp problem

2011-04-05 Thread Ian
On 05/04/2011 10:11, Simon J Welsh wrote: On 5/04/2011, at 3:35 AM, Ian wrote: Hi, I have a problem using the php built in classes DateTime and DateTimeZone. The idea behind the following code is to return the timestamp for the current time in Singapore (or other places). What

[PHP] DateTime using DateTimeZone Timestamp problem

2011-04-04 Thread Ian
Hi, I have a problem using the php built in classes DateTime and DateTimeZone. The idea behind the following code is to return the timestamp for the current time in Singapore (or other places). What it actually returns is the timestamp for the local system. Other formatted dates appear to

[PHP] Re: Acentos en tpl

2011-03-18 Thread Ian
? PHP will not convert the encoding of a file automatically. Hi, Also make sure the web server is sending out the correct character encoding. With Apache this can be done by adding the following line to the httpd.conf file and restarting the service: AddDefaultCharset UTF-8 Regards Ian

[PHP] Re: PHPmailer.. best way to send to many recipients?

2010-12-21 Thread Ian
about timeouts / apache memory issues etc. But as long as you're aware of these problems then you can set the values appropriately. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: read smb drive

2010-11-05 Thread Ian
or database record when it needs the share mounting and then wait for the mount to appear. I have used the Pear module System_Daemon[1] to do this in the past, very easy to use. [1] http://pear.php.net/package/System_Daemon Regards Ian -- PHP General Mailing List (http://www.php.net

[PHP] Re: handing over data between two PHP connections

2010-07-19 Thread Ian
as well but it depends on how portable you want the system to be. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: protecting email addresses on a web site

2010-06-15 Thread Ian
be stressed that these laws were written before spam became 90%+ of all email communication (2002). So I suspect it could be argued that a contact form can be allowed to bypass your normal email spam checking and is therefore a quicker way to communicate effectively. IANAL ;) Regards Ian

[PHP] Doing dynamic routing for an office

2010-03-11 Thread Ian
behind it actually working out the route. Hope my description is clear enough and sorry if this has been discussed before - I have no idea what to search for :) Thanks Ian

[PHP] Re: Help with exec.

2010-03-03 Thread Ian
]); } return $encrypted; } It works really well. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Excel Spreadsheets and PHP

2010-02-26 Thread Ian Robertson
, wherever you are, haha. -Original Message- From: Jay Blanchard [mailto:jblanch...@pocket.com] Sent: Sunday, February 21, 2010 9:44 PM To: Ian Robertson; php-general@lists.php.net Subject: RE: [PHP] Excel Spreadsheets and PHP [snip] What are you using, if anything, to create Excel

[PHP] Excel Spreadsheets and PHP

2010-02-19 Thread Ian Robertson
Hello, everyone. Just a quick question. What are you using, if anything, to create Excel spreadsheets with PHP? Thank you in advance.

Re: [PHP] Making several variables into 1 variable

2009-07-28 Thread Ian
' ; You will have to check that the CAST function is working properly on your varchar'ed date fields before testing this query. It should point you in the right direction though. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] require/include fails with APC enabled

2009-07-20 Thread Ian Maddox
I have one server that is acting up whenever I try to enable APC. PHP scripts execute normally as long as there are no calls to include(), include_once(), require(), or require_once(). Any file (no matter the size) that can be included while APC is disabled will cause the script to silently fail

[PHP] Mastercard Securecode

2009-06-19 Thread Ian
of the Mastercard Securecode 'feature'? I am aware I can link into COM Java from PHP, and even take the C API and make my own extension but I would rather not pursue these options unless I really have to! Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] difference between two times? Date_diff and DateTime::diff

2009-06-16 Thread Ian
$return_difference; } ? Regards Ian -- On 16 Jun 2009, at 13:11, Dajve Green wrote: Hi Matthew, A quick note on the DateTime::diff() method - it's only available as from PHP 5.3, which is currently in release candidate stage, meaning unless you have your own server running PHP, it won't

Re: [PHP] Mail subject encoding breaks

2009-05-11 Thread Ian
garbidge κηδφκξγσ; $e-Subject = mb_encode_mimeheader($subject, UTF-8, Q) ; Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problems with gnupg extension.

2009-04-21 Thread Ian
On 20 Apr 2009 at 11:37, Ray wrote: snip Any suggestions, Anyone? Ray Hi, I adapted these scripts for my own user and have not had any problems: http://www.theoslogic.com/scripts/php-gpg/ It does not use the gnupg extension at all but popen() or proc_open(). Regards Ian -- -- PHP

Re: [PHP] formulate nested select

2009-04-02 Thread Ian
ORDER BY Letter ASC You will have to play around with that to get the right results. But it should give you something like: Letter,NumberOfBooks A,47 B,21 C,8 ... The MySQL manual has more info: http://dev.mysql.com/doc/refman/5.0/en/group-by-functions-and-modifiers.html Regards Ian

Re: [PHP] Upload large 100MB of PDFS to MySQL using PHP, Is my settings ok?

2009-04-02 Thread Ian
/5.0/en/server-system- variables.html#sysvar_max_allowed_packet If the SQL statement you are using goes over 5Mb, MySQL will cut the connection with an error. It is strange that you are not seeing an error in your code thought. Regards Ian -- -- PHP General Mailing List (http://www.php.net

Re: [PHP] formulate nested select

2009-03-31 Thread Ian
: mysql_errno() mysql_error() Regards Ian -- Jim Lucas wrote: Chris wrote: PJ wrote: I cannot find anything on google or the manuals/tutorials that gives some kin of clear explanation of how to so nested selects with where or whatever. I have three tables: books, authors and book

Fwd: [PHP] Re: Unique User Hashes

2009-02-18 Thread Ian
Forgot to send to list. -- Forwarded message -- From: Ian barnrac...@gmail.com Date: Wed, Feb 18, 2009 at 11:12 AM Subject: Re: [PHP] Re: Unique User Hashes To: Colin Guthrie gm...@colin.guthr.ie 'Twas brillig, and Ian at 18/02/09 07:09 did gyre and gimble: We dont have

[PHP] Unique User Hashes

2009-02-17 Thread Ian
makes everyone seem to come from one IP. Anyone had to deal with this in the past and does anyone have any suggestions/ideas as to how I could better this setup? Many thanks in advance, Ian

Re: [PHP] Unique User Hashes

2009-02-17 Thread Ian
Hi, Yep it is backed by DB and i do record when they vote - but its still flawed in how to track unique users :) Thanks though - will continue to look further. Cheers On Wed, Feb 18, 2009 at 5:56 AM, Chris dmag...@gmail.com wrote: Ian wrote: Hi, I am busy building an application

Re: [PHP] Unique User Hashes

2009-02-17 Thread Ian
: Ian wrote: Hi, Yep it is backed by DB and i do record when they vote - but its still flawed in how to track unique users :) Thanks though - will continue to look further. Do you have to log in to vote? How are you stopping people from signing up multiple times? -- Postgresql php

Re: [PHP] Global Changes With Loop To Allow Nulls In A Table...

2009-01-27 Thread Ian
to the new data type would result in loss of data, enable strict SQL mode before using ALTER TABLE (see Section 5.1.6, “SQL Modes”). I don't think this will affect you but bare it in mind. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Seg Faulting PHP

2009-01-19 Thread Ian
? Thanks in advance Ian

Re: [PHP] Seg Faulting PHP

2009-01-19 Thread Ian
On Mon, Jan 19, 2009 at 10:51 PM, Daniel Brown danbr...@php.net wrote: On Mon, Jan 19, 2009 at 15:12, Ian barnrac...@gmail.com wrote: Hi all, Appologies if this is the wrong list - please direct me in the right direction should this be the case. I am running PHP 5.2.8 on freebsd 7.0

[PHP] new xampp server problem w/mail

2008-12-15 Thread Ian Lin
in the server's configuration files such as php.ini etc...   email me at linia...@yahoo.com if you can help.   Thanks, Ian

RE: [PHP] How to Execute Exe File from PHP

2008-10-22 Thread Ian
. Hi, It may help to run the command 'dir' to see where the web server considers its path to be: ? $a= shell_exec(dir); echo $a; ? The response will include the current path as well as a directory listing. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Half way

2008-10-22 Thread Ian
(database entry or a tag of some sort) to each blog which indicates were the Google ads should go. Personally I prefer the later options as its probably easier ;) Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem changing file encoding

2008-10-22 Thread Ian
--list Is this the best way to do this ? Can I use mbstring as an alternative ? Please make any suggestions you might think because I am stuck. Hi, I assume there is a reason why can't just run the command above from php? Regards Ian -- -- PHP General Mailing List (http://www.php.net

Re: [PHP] Information on Cookies

2008-10-15 Thread Ian
. If they are different then the cookie has been modified. Regards Ian -- 2008/10/15 Stut [EMAIL PROTECTED] On 15 Oct 2008, at 15:23, Ben Stones wrote: I've read a few videos on cookie security and it makes sense that people can modify cookie values which is a problem I'm trying to figure

Re: [PHP] returning array from commandline

2008-10-14 Thread Ian
it a string. -Original Message- From: Ian [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2008 8:38 AM To: php-general@lists.php.net Subject: [PHP] returning array from commandline Hi, I am busy developing a commandline tool that will, in certain cirumstances, return an array

[PHP] returning array from commandline

2008-10-10 Thread Ian
interface from the commandline tool. Thanks Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] returning array from commandline

2008-10-10 Thread Ian
On Fri, Oct 10, 2008 at 3:47 PM, Per Jessen [EMAIL PROTECTED] wrote: Ian wrote: I am busy developing a commandline tool that will, in certain cirumstances, return an array of information when called and im having a problem with this. Ian, that's a bit of a contradiction - a command line

[PHP] Google Auth Scripts

2008-09-04 Thread Ian
for this and only really come up with scripts that import your contacts - which is great - but not really what I need. Thanks in advance, Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] localconv() monetary grouping

2008-06-27 Thread Ian Carter
elements of '3' each. Thanks, Ian. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Using Googles SSO for GApps

2008-04-08 Thread Ian
of the information being sent, also for the generation of the xml. I have done some googling and can find a few java implementaions, but no php ones - maybe I cant search so if there are some examples around please excuse my ignorance. Thanks in advance, Ian -- PHP General Mailing List (http

[PHP] path_info in fastcgi setting

2008-03-09 Thread Ian M. Evans
Greetings all. Making the transition to PHP 5.2.5 operating as FastCGI through Nginx. Seem to be having a bit o' weirdness with path_info. Under Apache and the PHP module: a) test.php path_info is blank b) test.php/ppp path_info=/ppp Under PHP FastCGI: c) test.php path_info is test.php d)

[PHP] Deprecated configure options

2008-03-07 Thread Ian M. Evans
Was just upgrading to 5.2.5 and used the same configure line as I used for 5.2.0. Got the following notice: Notice: Following unknown configure options were used: --enable-pic --with-dom --with-png --with-xml --enable-track-vars --enable-trans-sid --enable-yp --enable-mbstr-enc-trans

[PHP] Parse error help.., thanks..

2007-03-30 Thread Ian
!= CACHE_FILE) { $files[] = $file; } Anyhelp on this will ve be very much appreciated, thanks.. Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Parse error help.., thanks..

2007-03-30 Thread Ian
Hehe.., didn't i told i am poor in this, actually, never learn PHP before.. :) No more such errors anymore thank you Tijnema! =) Ian Tijnema ! [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 3/30/07, Ian [EMAIL PROTECTED] wrote: Hi everyone, i am new to PHP, but not a programmer

Re: [PHP] Parse error help.., thanks..

2007-03-30 Thread Ian
Thanks very much for the help, Davi,, no more such errors.. :) Ian Davi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Em Sexta 30 Março 2007 18:55, Ian escreveu: Parse error: syntax error, unexpected ';' in /hxxx/x/domains/x.com/public_html/blog/labels.php on line 15 ul

[PHP] Excluding apostrophe's

2006-12-22 Thread RAFMTD \(Ian\)
connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Any help would be appreciated. Regards Ian Scales

[PHP] Odd error after upgrading from Php4 to Php5

2006-11-28 Thread Ian Barnes
code something like: if(!$db-query(SQL QUERY HERE)) { echo 'Fail'; } Any ideas what it means or how I can fix it ? Thanks Ian P.S. Please copy me, i dont know if my list membership is working.

Re: [PHP] Odd error after upgrading from Php4 to Php5

2006-11-28 Thread Ian Barnes
Hi, $sql1 = UPDATE members SET $pass WHERE id = '$editid'; Thats whats on 199. ON line 198 i have: $pass = $_POST['pass']; Thanks, Ian On 11/29/06, Jochem Maas [EMAIL PROTECTED] wrote: Ian Barnes wrote: Hi, We recently upgraded our primary webserver to php 5 from php4 and we are now

[PHP] Database Class Help

2005-11-30 Thread Ian Barnes
for one of the classes. Does anyone have any idea as to why this is happening? Thanks a lot, Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with Class

2005-09-08 Thread Ian Barnes
Hi Thomas, Thanks for the help. That didn't work though ... Its now set to be $SDK = new sdk; Nothing :( -Original Message- From: Thomas [mailto:[EMAIL PROTECTED] Sent: 08 September 2005 09:08 AM To: 'Ian Barnes' Subject: RE: [PHP] Help with Class Sorry for not explaining ... [code

RE: [PHP] Help with Class

2005-09-08 Thread Ian Barnes
: Ryan Creaser [mailto:[EMAIL PROTECTED] Sent: 09 September 2005 12:34 AM To: Ian Barnes Cc: PHP General Subject: Re: [PHP] Help with Class Ian Barnes wrote: require_once ( $fetchd['path'].'sdk/ipbsdk_class.inc.php' ); What is the above line doing? It looks

[PHP] Help with Class

2005-09-07 Thread Ian Barnes
light on my predicament ? Thanks in advance Cheers Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Help with Class

2005-09-07 Thread Ian Barnes
Hi, Thanks for the help, but none of those worked. Anyone else got any suggestions? Or possibly another way of achieving this ? Cheers Ian _ From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 05:47 PM To: Ian Barnes Cc: PHP General Subject: Re: [PHP

RE: [PHP] Help with Class

2005-09-07 Thread Ian Barnes
Hi, Thanks for the help, but none of those worked. Anyone else got any suggestions? Or possibly another way of achieving this ? Cheers Ian _ From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: 07 September 2005 05:47 PM To: Ian Barnes Cc: PHP General Subject: Re: [PHP

[PHP] PHP Security

2005-08-25 Thread Ian C . McGarvey
I have been studying PHP all summer because I wanted to put some PHP code on my schools web site. I got to school and went to the web design teacher. I asked him if they had installed PHP on their server. He said that the district thinks that it would be a HUGE security risk and that people at

[PHP] Apache Webserver User Survey

2005-06-21 Thread Ian Holsman
to complete. http://survey.zilbo.com/php.survey I wish I could say there was a prize being given away if you fill it out, but there isn't.. This is 'opensource' research.. I don't have a marketing budget ;-) Thanks Ian Holsman [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Re: Apache Webserver User Survey

2005-06-21 Thread Ian Holsman
at the netscape browser for an example on how fast you can fall from being the #1 to #0. Regards Ian. ps. I honestly do want some feedback good or bad. If you could spend the 10 minutes it would be appreciated. The link again http://survey.zilbo.com/php.survey -- PHP General Mailing List (http

Re: [PHP] Re: Apache Webserver User Survey

2005-06-21 Thread Ian Holsman
*.. If we didn't listen to what you guys say.. you wouldn't choose us next time. mod_perl or .NET users don't have that choice. if you do know a IIS mailing list, please feel free to mail me.. I really couldn't find any. Kind regards Ian Holsman. Rene Brehmer wrote: Documented research indicate

[PHP] Bug in look-behind assertions in PCRE patterns ?

2005-03-23 Thread Ian Thurlbeck
() is correctly ignores the foobar function name. However the second preg_match() does NOT ignore the $bar as I expected. I converted this to Perl and it correctly ignores both! Is this a bug, or am I missing something ? using PHP-4.3.10 + apache 1.3.33 + fc 1 Many thanks Ian -- Ian Thurlbeck

Re: [PHP] php-not-executing-in-html-file-help

2005-03-20 Thread Ian Firla
You need to tell apache to run html files through the php interpreter: ie. AddType application/x-httpd-php .php .php3 .html then restart apache Ian On Sun, 2005-03-20 at 14:12 -0800, vijayaraj nagarajan wrote: hi friends i am struggling to solve this problem for the past one week...kindly

Re: [PHP] unexplainable - page generation time class

2005-03-06 Thread Ian Firla
generation time: . $gentime; ? Output: start/stop: 1110096261.12 1110096263.13 generation time: 2.00168681145 All the best, Ian --- Ian Firla Consulting http://ianfirla.com On Sat, 2005-03-05 at 22:04 -0700, James Williams wrote: Howdy! I've made a class which simply determines the page

Re: [PHP] Bypassing php.ini setting for file uploads?

2005-03-02 Thread Ian Firla
There're all kinds of threads on this if you google around for a bit but one good on in my bookmarks is: http://www.webdevforums.com/showthread.php?t=7231 Ian On Wed, 2005-03-02 at 09:39 -0800, Matt Cassarino wrote: Hi, I am trying to modify the php.ini settings for post_max_size

[PHP] Getting floats from 8 byte IEEE binary representations

2005-02-16 Thread Ian Johnson
I am trying to write a function which will read a string of bytes from a binary file and convert 8 byte sequences to Float type data. I've been through the manual and can find nothing but think I must be missing something. It can't be that hard. Can someone help me out. Thanks Ian -- PHP

Re: [PHP] PHP/5.0.3 MySQL 5.0.2 Stored procedure (OUT)

2005-02-08 Thread Ian Porter
Curt Zirzow wrote: * Thus wrote Ian Porter: Hi, I am just wondering how to obtain the result from a mysql procedure OUT parameter within PHP e.g. MYSQL create procedure test_out(OUT testvar int) BEGIN select max_connections into testvar from mysql.user limit 1; END PHP $query

[PHP] PHP/5.0.3 MySQL 5.0.2 Stored procedure (OUT)

2005-02-07 Thread Ian Porter
= mysql_query($query); but there is nothing within the $test.val, after searching the web there appears to be something like this for oracle connection with the bind, but I cannot find the mysql version ? Any advice ? Cheers Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
the same error. I suspect the solution is simple but I'm just not seeing it! Help Ian Johnson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems displaying images with PHP-GD

2005-01-28 Thread Ian Johnson
the same error. I suspect the solution is simple but I'm just not seeing it! Help Ian Johnson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
This does the same for png as well. No errors are generated when header () is commented out or other content-types are specified Ian Johnson On Fri, 2005-01-28 at 20:45 -0800, Richard Lynch wrote: Ian Johnson wrote: I am trying to use GD to create and manipulate images but the statement

Re: [PHP] PHP displaying images

2005-01-28 Thread Ian Johnson
Jason Wong wrote: On Saturday 29 January 2005 10:13, Ian Johnson wrote: There is no error message in the ../httpd/error_log file. That looks like the Apache error log file, which is most likely not what you want to be looking at. You want the PHP error log, see settings in php.ini, and check

Re: [PHP] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Ian Firla
legacy COBOL applications though that, yeah, I think a COBOL programmer will very rarely get to write anything new. The people who I know who work with COBOL generally either patch problems or, if there's new functionality required, will code in Java or C. Ian On Tue, 2004-12-21 at 11:41 +0100, Eakin

Re: [PHP] Uncompressing files on server

2004-12-20 Thread Ian Firla
Which platform? How are the files compressed? Do you have access to the commandline on your server? Ian On Sun, 2004-12-19 at 23:00 -0500, Josh wrote: I have some PHP files from a content management system. I uploaded the compressed files to the server, but how do I un-compress them now

[PHP] mixed strings

2004-12-18 Thread Ian Firla
each message and the client is expecting everything in one chunk with each byte of a specific type (ie. ASCII, INTEGER, BCD) Is there any way I can write a string of mixed types to an open UDP socket as a single message? Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] File-handling

2004-12-17 Thread Ian Firla
fgets uses the resource created by fopen. Read the manual: http://it.php.net/fopen http://it.php.net/fgets look at the example: ?php $handle = fopen(/tmp/inputfile.txt, r); while (!feof($handle)) { $buffer = fgets($handle, 4096); echo $buffer; } fclose($handle); ? Ian On Fri, 2004-12

Re: [PHP] Using constructs like unset() in expressions like ()()

2004-12-16 Thread Ian Firla
() will be of help? Ian On Wed, 2004-12-15 at 22:36 +0100, Tomas Tintera wrote: Hi all. Is there some construct, which evaluates any type of its parameter (like t_echo, t_unset) and returns some value with normal type (like 0)? What? I would like to unset a variable in an operation like ()?unset

Re: [PHP] cURL FTP

2004-12-15 Thread Ian Firla
On Wed, 2004-12-15 at 08:27 -0500, Lowell Allen wrote: snip $fh = fopen(test.txt, r) or die($php_errormsg); /snip Try opening the file rw. At the moment, you're opening it read only. Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Byte Array

2004-12-14 Thread Ian Firla
On Tue, 2004-12-14 at 08:40 -0800, Richard Lynch wrote: Ian Firla wrote: Just a follow-up to myself... I decided to try packet sniffing to see what was going on and ettercap confirms that I'm sending out strings rather than data of the type stored in my array: 16:12:26 192.168.0.101

[PHP] Byte Array

2004-12-13 Thread Ian Firla
: |ascii|ascii|asciiX10|integerX4|byte arrayX32| The byte array looks like this: g..UA9x|%r9. Any ideas? Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Byte Array

2004-12-13 Thread Ian Firla
You're right. I think it will. Thanks. I've got another issue now though which may indeed be a show-stopper. It seems that while socket_recvfrom is binary safe, there's no way to send data in any way other than a string... Is that right? Can I not send data of other types? Ian On Mon, 2004-12

Re: [PHP] Byte Array

2004-12-13 Thread Ian Firla
, $msg_to_send); echo date(H:i:s). SENT '$msg_to_send'\n; //seen server side } fclose($fp); } Can anyone see where I might be going wrong? Why am I not sending the integers as integers and the binary bits as binary bits? Ian On Tue, 2004-12-14 at 12:12 +0100, Ian Firla

[PHP] Security Question with my password protected login script...

2004-12-08 Thread Ian Gray
thanks, Ian Gray Here is the code? ? session_start(); // start session. if(!isset($username) | !isset($password)) { // escape from php mode. ? html xmlns=http://www.w3.org/1999/xhtml; head meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 / titleCustomer Login/title link href

[PHP] passing resources from one script to another

2004-11-11 Thread Ian Firla
this problem? Can it be done with PHP? Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] passing resources from one script to another

2004-11-11 Thread Ian Firla
? Ian On Thu, 2004-11-11 at 15:36 +0100, Sebastiano Cascione wrote: I'm not shure to understand what you are looking for... You can build a message queue into a text file, every message in the queue will contain the pid as identifier of every socket connetion (the client) and the target pid

Re: [PHP] passing resources from one script to another

2004-11-11 Thread Ian Firla
Thanks Greg. That is what I'm doing. The problem remains passing a resource to the script executed by exec. Ian On Thu, 2004-11-11 at 08:45 -0600, Greg Donald wrote: On Thu, 11 Nov 2004 15:15:56 +0100, Ian Firla [EMAIL PROTECTED] wrote: The problem is the dialogue with the client. If I

Re: [PHP] How do I su to another account??

2004-11-11 Thread Ian Firla
Do you really need to switch users or do you need to run something as another user? Try looking into setting up and using sudo. Ian On Thu, 2004-11-11 at 09:20 -0500, Scott Fletcher wrote: How do I su (switch user) to another account from the nobody in php? I haven't got it to work, so I

Re: [PHP] Most efficient way of fetching 1,000 records from MySQL ?

2004-10-25 Thread Ian Firla
I think you'll find that your first approach is not only more correct, it's the only manageable one. Ian On Mon, 2004-10-25 at 10:15 +0200, Steve McGill wrote: Hello, In my script I have generated an array of 1,000 userIDs for example. Now for I need to fetch each user's record and I am

Re: [PHP] PHP App User Permissions Tecnique

2004-10-15 Thread Ian Firla
Definitely store them in a session. A db lookup will mean a much heavier and process intensive procedure. Ian On Fri, 2004-10-15 at 09:41, Brendon wrote: I am building a web based community forum type software using PHP. I am currently working on how different user privelages are handled

Re: [PHP] Re: crypt()

2004-08-26 Thread Ian Firla
into the database. You can't decrypt an md5 encrypted password. Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session cookie paths

2004-08-25 Thread Ian Firla
. The trouble is that all the applications (four of them) share the same id: PHPSESSID and path: / My first hunch is to try to use .htaccess in each application's root directory to override these php.ini variables. Am I on the right track? Regards, Ian -- PHP General Mailing List (http://www.php.net

  1   2   3   >