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

2013-08-13 Thread Ian
one 'set'. All speculation of course ;) Feel free to send the headers off list and I'll take 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
curl_errno($ch). " ,Description:" . curl_error($ch); } // Execute request $result = curl_exec($ch); // Check for an error again if(curl_errno($ch)>0){ print "Error executing query: Err Number:". curl_errno($ch). ", Description:" . cu

[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

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

2012-09-14 Thread Ian
rch for 'owner'). There is also SELINUX. Or you could look 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
ave_path "/path/to/new/session/folder" [http://php.net/manual/en/configuration.changes.php] This will override the save path for each site you add it to, but all other values will be picked up from the system default. You must make sure 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: > Real question is > why in the world would you want to use PHP for this to begin with. 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 G

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

2012-07-26 Thread Ian
php-serial http://code.google.com/p/php-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
php.net/download-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 Ma

[PHP] Re: make error

2012-03-23 Thread Ian
ackage if you 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 >> >>> 2012/3/23 黄昭源 : >>>> Hello, I have

[PHP] Re: Time zone in date function

2012-01-31 Thread Ian
time in a particular timezone: format("Y-m-d H:i:s"))); } ?> Example: Regards Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP 5.3.6 Dates

2011-12-12 Thread Ian
of the internals can explain 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
pm based system use (Red Hat / CentOS / SuSE etc): yum install mysql-devel There may be other dependencies required to install this, but yum should tell you what they are. If you are using a different package 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
ss you try to break it! And if you don't, 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://w

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

2011-09-13 Thread Ian
ueues and easy to install: [http://pear.php.net/package/System_Daemon] Hope this helps. Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] Re: DateTime using DateTimeZone Timestamp problem

2011-04-05 Thread Ian
me to improve this and use proper time zone info which can change without my input. If no-one can find a problem with my code I will submit it as a bug. Thanks Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

[PHP] Re: Acentos en tpl

2011-03-18 Thread Ian
ke 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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-12-21 Thread Ian
t, send the email, then use the ClearAllRecipients() function and start again. We do other things like set a custom MessageID for tracking bounces and auto unsubscribing during this process as well. I also do this from the command line so I don't have to worry about timeouts / apache

[PHP] Re: read smb drive

2010-11-05 Thread Ian
You can then have the web site create the file 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/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2010-07-19 Thread Ian
;m sure there are other ways 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
t and effective manner; It must 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 ef

[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
)) { fwrite($pipes[0], $data); fclose($pipes[0]); while($procdata = fgets($pipes[1], 1024)) { $encrypted .= $procdata; } fclose($pipes[1]); } 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
his 3 Bettinas, 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,

[PHP] Re: PHP or SQL to do this?

2010-02-24 Thread Ian
ml You can jump to the manual for other versions from this page too. Build up your SELECT statement first and then add the INSERT line when you're happy its getting the right values. If you want to be really careful, insert into a temporary table first. Regards Ian -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[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
staurants.name != '' AND CAST(inspections.inDate AS DATE)<= DATE_SUB(NOW(),INTERVAL 30 DAYS) GROUP BY restaurants.ID ORDER BY 'name' "; You will have to check that the CAST function

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

[PHP] Mastercard Securecode

2009-06-19 Thread Ian
mplementation 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

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

2009-06-16 Thread Ian
Minutes"]){ $return_difference["Minutes"] = floor($difference / $amounts["Minutes"]); $difference -= $return_difference["Minutes"] * $amounts["Minutes"]; } $return_difference["Seconds"

Re: [PHP] Mail subject encoding breaks

2009-05-11 Thread Ian
t: $subject= "This is δφκξγκδφη 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: > 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 -- -

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

2009-04-02 Thread Ian
packet: http://dev.mysql.com/doc/refman/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 -- --

Re: [PHP] formulate nested select

2009-04-02 Thread Ian
t_name, 1 ) as Letter, Count(bookID) as NumberOfBooks FROM books INNER JOIN GROUP BY Letter 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

Re: [PHP] formulate nested select

2009-03-31 Thread Ian
ueries for use in PHP I usually test them in the mysql command line client or a gui such as HeidiSQL first to make sure I am getting the expected results. Also you could try printing the SQL statement to the web page to make sure it looks as expected. You can try checking for a MySQL error w

Fwd: [PHP] Re: Unique User Hashes

2009-02-18 Thread Ian
Forgot to send to list. -- Forwarded message -- From: Ian Date: Wed, Feb 18, 2009 at 11:12 AM Subject: Re: [PHP] Re: Unique User Hashes To: Colin Guthrie 'Twas brillig, and Ian at 18/02/09 07:09 did gyre and gimble: > >> We dont have registration - its a

Re: [PHP] Unique User Hashes

2009-02-17 Thread Ian
We dont have registration - its a once off vote anonymously using the hash in the original email. We dont want registration otherwise it would be much easier - but this was the best way I could think of without user registration :/ On Wed, Feb 18, 2009 at 9:05 AM, Chris wrote: > Ian wr

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 wrote: > Ian wrote: > >> Hi, >> I am busy building an application

[PHP] Unique User Hashes

2009-02-17 Thread Ian
s of Transparent proxies which 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] Global Changes With Loop To Allow Nulls In A Table...

2009-01-27 Thread Ian
ta. For example, if you shorten a string column, values may be truncated. To prevent the operation from succeeding if conversions 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 th

Re: [PHP] Seg Faulting PHP

2009-01-19 Thread Ian
On Mon, Jan 19, 2009 at 10:51 PM, Daniel Brown wrote: > On Mon, Jan 19, 2009 at 15:12, Ian 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.

[PHP] Seg Faulting PHP

2009-01-19 Thread Ian
ension=zip.so extension=zlib.so Any ideas as to why this is happening? Thanks in advance Ian

[PHP] new xampp server problem w/mail

2008-12-15 Thread Ian Lin
tered 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] Problem changing file encoding

2008-10-22 Thread Ian
odings from the system as I can do in command > line with this: > > iconv --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 ju

Re: [PHP] Half way

2008-10-22 Thread Ian
your blog entries. Or you could go down the easy route and add some sort of marker (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] How to Execute Exe File from PHP

2008-10-22 Thread Ian
achine? > > Thanks in advance, I think I am getting a little confused. Hi, It may help to run the command 'dir' to see where the web server considers its path to be: The response will include the current path as well as a directory listing. Regards Ian -- -- PHP

Re: [PHP] Information on Cookies

2008-10-15 Thread Ian
submitted value. 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 tha

Re: [PHP] returning array from commandline

2008-10-14 Thread Ian
serialize to make 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, &

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,

[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

[PHP] Google Auth Scripts

2008-09-04 Thread Ian
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
the mon_grouping array has two 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
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) test

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

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

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: &g

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

2007-03-30 Thread Ian
ile != THIS_FILE &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;& $file != 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

[PHP] Excluding apostrophe's

2006-12-22 Thread RAFMTD \(Ian\)
that like this -- -- the script fails with the following report Warning: mysql_real_escape_string(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Any help would be appreciated. Regards Ian Scales

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 pr

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

[PHP] Database Class Help

2005-11-30 Thread Ian Barnes
like num_rows('select * from table1'); Echo $db_2->num_rows('select * from table2'); ?> Now that happens is when I try and do the query for db1, I get told that db2.table1 doesn't exist. I can swop anything around and it doesn't seem to work for one of the c

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

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 expla

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] Help with Class

2005-09-07 Thread Ian Barnes
} See at the end of that foreach loop I need to unset the class $SDK so I can re-init it from another dir. How can I do this? I have tried some of the following: Unset ( $SDK); Unset ($GLOBALS['SDK'] ); Can anyone shed any 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

[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

Re: [PHP] Re: Apache Webserver User Survey

2005-06-21 Thread Ian Holsman
he and IIS. PHP is so great it can run on both.. you guys have a *choice*.. 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 could

Re: [PHP] Re: Apache Webserver User Survey

2005-06-21 Thread Ian Holsman
look 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

[PHP] Apache Webserver User Survey

2005-06-21 Thread Ian Holsman
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 (htt

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

2005-03-23 Thread Ian Thurlbeck
this a bug, or am I missing something ? using PHP-4.3.10 + apache 1.3.33 + fc 1 Many thanks Ian -- Ian Thurlbeckhttp://www.stams.strath.ac.uk/ Statistics and Modelling Science, University of Strathclyde Livingstone Tower, 26 Richmond Street, Glasgow, UK, G1 1XH Tel: +44 (0)1

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

Re: [PHP] unexplainable - page generation time class

2005-03-06 Thread Ian Firla
10096261.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 generation > time of a php script... After

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 pos

[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

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

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

2005-02-07 Thread Ian Porter
#x27;; $query_handle = 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/) T

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

[PHP] Problems displaying images with PHP-GD

2005-01-28 Thread Ian Johnson
Similar code from php manual generates 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] PHP displaying images

2005-01-28 Thread Ian Johnson
ode from php manual generates 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] Writing new code vs. re-writing someone else's code

2004-12-21 Thread Ian Firla
many 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 +0

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 th

[PHP] mixed strings

2004-12-18 Thread Ian Firla
that UDP terminates 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/) T

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: Ian On Fri, 2004-12-17 at 11:24 +0100, [EMAIL PROTECTED] wrote: > Hi there! > > Can someone explain the major difference between fgets and fopen? Which

php-general@lists.php.net

2004-12-16 Thread Ian Firla
ll 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 variab

Re: [PHP] cURL FTP

2004-12-15 Thread Ian Firla
On Wed, 2004-12-15 at 08:27 -0500, Lowell Allen wrote: > $fh = fopen("test.txt", "r") or die($php_errormsg); 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 stor

Re: [PHP] "Byte Array"

2004-12-13 Thread Ian Firla
end) { fwrite($fp, $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 bina

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

[PHP] "Byte Array"

2004-12-13 Thread Ian Firla
x27;m getting is in the format: |ascii|ascii|asciiX10|integerX4|byte arrayX32| The byte array looks like this: gÃ.ÃÃ.ÃÆÃÃÂÃUâÃAÃÂ9xÅÂÃ|%ÃrÂÃ9â. Any ideas? Ian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2004-12-08 Thread Ian Gray
rks. Many thanks, Ian Gray Here is the code? http://www.w3.org/1999/xhtml";> Customer Login

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

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

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

2004-11-11 Thread Ian Firla
way to pass a Resource between scripts? 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

[PHP] passing resources from one script to another

2004-11-11 Thread Ian Firla
get around 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] 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 ea

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 h

  1   2   3   >