Is it possible to read information on the client serial port and return it
to the server ?
a newbie.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
O.K. Thanks, so it could be an active X control then ?
"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 23:12 21.02.2003, Ian said:
> [snip]
> >Is it possible to read information on the c
d.
Thanks,
Ian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If I am putting out a couple free scripts to the public, is there any
way I can make sure people dont remove the copyright?
Any ideas welcome
- Ian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
nothing in there). The logon of imp uses sessions.
Im using Mac OS X 10.3, PHP 4.3.3, Horde 2.2.4 and IMP 3.2.
I have no idea why this is happening?
Can someone point me in the right direction.
Thanks,
Ian
This message was sent
i am using the following to try to pull in php classes from separate files based on
their names using unserialize_callback_func. I cant seem to get it to work with 4.1.6
on redhat (should work).
I notice that it isnt shown under variables available for unset() but it is shown for
unserialize()
$this
"Erik Price" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a way to unset or destroy an object instance from a method
> within its class? I'm trying to write a method that destroys its
> instance but I'm not sure how to refer to the object its
modifying the width or height of an image in javascript works well alsoi
cant imagine why youd want to do this serverside
"Christoph Starkmann" <[EMAIL PROTECTED]> wrote in message
B120D7EC8868D411A63D0050040EDA77111BEE@XCHANGE">news:B120D7EC8868D411A63D0050040EDA77111BEE@XCHANGE...
> Hi
i am using the following to try to pull in php classes from separate files
based on their names using unserialize_callback_func. I cant seem to get it
to work with 4.1.6 on redhat .
I notice that it isnt shown under variables available for ini_set() but it
is shown for unserialize() from which Ive
i am using the following to try to pull in php classes from separate files
based on their names using unserialize_callback_func.
I cant seem to get it
to work with cgi php 4.1.6 on apache/redhat .
I notice that it isnt shown under variables available for ini_set() but it
is shown for unserialize()
i am using the following to try to pull in php classes from separate files
based on their names using unserialize_callback_func.
I cant seem to get it
to work with cgi php 4.1.6 on apache/redhat .
I notice that it isnt shown under variables available for ini_set() but it
is shown for unseria
Hello,
Wonder if anyone can help me out.
I am trying to run an example out of a book Beginning Php by wrox.
One of the examples is supposed to allow me to connect to a database by
using a function that takes a database as an argument. It has an include
file that contains the function.
Problem
CTED]...
> How are you passing the name of the database? Are you replacing
'sample_db'
> in the line:
> $link_id = db_connect('sample_db');
> in show_more_db.php?
>
> If so, then I do not see where there would be a problem.
>
> Fred
>
> Ian <[EMAI
heless it correctly used the supplied
> database rather than the default one when I tested it. You may want to
make
> sure that your sample_db actually exists.
>
> Fred
>
> Ian <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> &
Does anybody know that any web site allow me to enter web address example,
www.yahoo.com, and enter go.
The result will shown me that yahoo server,
1. Operating System?
2. Programming?
3. Database?
etc
Thanks in advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
We are looking for interested partnership for our dotcom organisation, which
are based in Kuala Lumpur, Malaysia.
The Required Partner should be familiar with :
1. Operating System - Linux.
2. Language - PHP script.
3. Database - MySQL.
4. Internet Infrastructure.
Interested candidate may send a
Wondered if you could contact me as I lost your address when formatting my
PC and I have found your help with PHP invaluable.
Ian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
ension=zip.so
extension=zlib.so
Any ideas as to why this is happening?
Thanks in advance
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.
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
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
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
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
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
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
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
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
--
--
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
--
-
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
Minutes"]){
$return_difference["Minutes"] = floor($difference /
$amounts["Minutes"]);
$difference -= $return_difference["Minutes"] *
$amounts["Minutes"];
}
$return_difference["Seconds"
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
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
ile != THIS_FILE
&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
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
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
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
)) {
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
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
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
;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
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
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.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-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
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
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
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
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
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
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
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
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
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
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
>>
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
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
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
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
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
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
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
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
interface from the commandline tool.
Thanks
Ian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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,
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,
&
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
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
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
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
Any comments of Zend Encoder Unlimited product.
http://www.zend.com/store/products/zend-encoder.php
Can we do something like Zend Encoder Unlimited by ourselves? Any idea?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
27;
files, then sorting them by date and including them in my html page in
date order.
I am stuck however on how to get the relevant files, can anybody help
me?
Regards, Ian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
27;
files, then sorting them by date and including them in my html page in
date order.
I am stuck however on how to get the relevant files, can anybody help
me?
Regards, Ian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
simple way I can just grab the date and sort it by order?
Should I change the format of the date to make it easier or something?
-Original Message-
From: Chris Wesley [mailto:[EMAIL PROTECTED]]
Sent: 30 November 2002 20:25
To: [EMAIL PROTECTED]
Cc: Randum Ian
Subject: Re: [PHP] Read Files
Would it just be easier to do it by file last modified date then?
-Original Message-
From: Jeffrey B.Ferland [mailto:[EMAIL PROTECTED]]
Sent: 30 November 2002 21:57
To: Randum Ian
Subject: Re: [PHP] Read Files
On Saturday 30 November 2002 04:47 pm, you wrote:
> Thanks a lot Chris t
Can anybody recommend a good PHP weblog script?
Cheers in advance,
Randum Ian
[EMAIL PROTECTED]
DJ / Reviewer / Webmaster, DancePortal (UK) Limited
DancePortal.co.uk - Global dance music media
Sorry to be off-topic but has anyone got any good resources on setting up
exmlm?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
he server (and a few little tweaks
as well) instead of having to manually upload seeing as ftp connections are
not allowed.
I have searched on Google but dont find anything specific to this idea, if
someone could point me in the right direction that would be great.
Cheers, Ian.
--
PHP Genera
the email from qmail? I am new to
this concept.
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2002 10:14
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Uploading changes via Email
On Friday 13 December 2002 17:17, Roke, Ian wrote:
> Hi there people,
>
Hi guys, I am maintaining a list of files on an FTP server and it would
be great if I could get a very simple list of all the files and their
directory names so I can generate a HTML page with the information.
Is this doable?
Randum Ian
[EMAIL PROTECTED]
DJ / Reviewer / Webmaster, DancePortal
Would I be able to do this for an ftp server where I have to log in?
-Original Message-
From: Kevin Stone [mailto:[EMAIL PROTECTED]]
Sent: 13 December 2002 19:07
To: Randum Ian; [EMAIL PROTECTED]
Subject: Re: [PHP] FTP Listings for HTML page
Yes it is doable.
see. open_dir
Hi guys, I am looking for a very simple login script that logs a person
in with a unique login username/password and then logs them into a very
basic control panel where they can upload image files and delete them.
Can anybody help me out that would be much appreciated.
Cheers, Ian.
--
PHP
Hi guys, I have a script which looks in a directory, pulls out all the
files and sorts them by reverse date order. The file name schema is
"mmdd-the rest of the file".
Script:
---
$interestingFile = array();
$interestingFiles = array();
$dir = opendir('/home/danceportal/www/
Hi all,
Please can someone direct me to the correct function that changes
http://www.foo.com to http://www.foo.com";>http://www.foo.com
for any occurence in a string.
Cheers, Ian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hiya,
Try this, *probably* more efficient but I don't know for sure.
Regards,
Ian Packer
- Original Message -
From: "Douglas Douglas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 08, 2003 1:21 PM
Subject: [PHP] How to remove only t
b-WWWxHHH.jpg" where WWW is the resized width and HHH is
the resized height.
Does this make any sense, would it be possible automatically?
I am grateful for any help, Ian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
global ORDER BY recording_global_name
WHERE recording_global_name LIKE a%";
Any help hugely appreciated! Ian.
what I should check so that these variables are passed thru? Has anybody
come across this problem before?
Regards, Ian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
irectories by separating
each path with a colon.
If you are using Apache, you could also use .htaccess files to override
the default config or you could add a directive in the htppd.conf file,
such as :
php_value include_path "/usr/local/lib/php/:/pages/php/wow/"
Ian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
And even if it is copyrighted as soon as you change variable names and
so on that copyright does not apply.
-Original Message-
From: Justin French [mailto:[EMAIL PROTECTED]
Sent: 20 July 2003 14:00
To: Curt Zirzow
Cc: php
Subject: Re: [PHP] URL correctimizer ... how to make one?
On Sund
, but this is kinda following
> on, so please forgive me :)
>
> -skate-
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Randum Ian
[EMAIL PROTECTED]
CBDagency Web Consultant
http://www.cbdagency.com
DancePortalGloba
http://www.javascripts.com. Have a root
about and see what you can find.
Regards, Ian.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Isn't it easy just to do an "onClick Disable Button" kinda thing?
> i've seen this mentioned here a few times , ok its jsript , but i dont
> think there is anyone here who doesnt use any jscript or even html ??
> heh
>
> basically all u do is disable the button once pressed
>
>