I don't think PHP-GTK does that, does it?
Tom Malone
Web Designer
http://www.tom-malone.com
-Original Message-
From: Bruin, Bolke de [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 16, 2001 8:22 AM
To: '[EMAIL PROTECTED]'; PHP Users
Subject: RE: [PHP] PHP on client-si
Do you think it's feasible to do that? Has anyone discussed it before? Are
there any initiatives?
Tom Malone
Web Designer
http://www.tom-malone.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Pavel
Jartsev
Sent: Thursday, August 16, 2001 10:
WHERE
ID = '$ID'";
mysql_query( $query, $link );
}
is there a simple way to access the global form values without working out
which method was used and then using the global keyword on the
HTTP_POST_VARS / HTTP_GET_VARS??
Regards
Tom Hod
You could write all the emails to a database with columns
toAddress,fromAddress,subject,body and any others you might want,
and then write a cron job to check the database every 10 mins for records
it might also be possible to read the process list into a variable and then
only start new sendma
ude html formatted spaces, i.e. %20.
Any suggestions would be greatly appreciated.
Tom
--
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]
16 Aug 2001 13:21:53 -0400
> To: "Tom Beidler" <[EMAIL PROTECTED]>, "php list"
> <[EMAIL PROTECTED]>
> Subject: Re: [PHP] loose variables when url parsed through Netscape
>
> You're not sending CC numbers in the url as plain text are you? That'
ot any ideas on this.
Regards
Tom Hodder
--
--
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]
I'm trying to integrate an Internet Telephony service for a client. I have a
number of variables I need to dump into the clients database and then to
pass to the Internet Telephony service via a Perl script they have provided
for me that will reside on the client's server. Can I somehow pass them
Can php and perl code reside in the same file? When the document is served
up it parses the PHP and then the Perl?
--
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
yname/ actually
the document root?
Tom Malone
Web Designer
http://www.tom-malone.com
--
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]
I don't know if this will be helpful or not - I found it in the manual:
[EMAIL PROTECTED]
25-Oct-2000 03:16
system() function doesn't return a string value, if you want to assign the
output of a system command, try using:
$a = `/bin/ls -a`;
note the ` is a backtick, not a single
how about ScreamingMedia
http://www.screamingmedia.com
Tom Malone
Web Designer
http://www.tom-malone.com
--
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
Dave,
Unless there is a strong reason for using files (like for example it
interfaces with a different app which uses files) then the case for a proper
RDBMS (eg MySQL) is the better choice.
Databases are much easier (/quicker) to add and delete records from, search
etc
HTH,
Tom
- Original
In addition to this you can place the file out of the web tree PHP can,
AFAIK, include files based on their absolute file path, eg /home/config.inc.
This means that there is no way to directly browse to a file
(web tree is the part of a server/whatever that the webserver (eg apache)
uses to l
retty much a "one-off" activity, but accesses
will be frequent. Files are small, ranging from 30k to 250k.
Anyone have any comments/benchmarks? My attempts at testing the two have
been sloppy to say the least.
TIA, Tom
- Original Message -
From: "Andrew Libby" <[EMAIL
ve knowledge of variable names etc. and it doesn't allow for
checking for "correct" values being set ( a useful thin with the above
method)
Hope this helps, let me know if I can provide any more advice.
Tom
- Original Message -
From: "Andrew Libby" <[EMAIL PRO
What would you say the advantages were?
other than just the fact the the postgres implementation of sql is more
powerful (sub-selects etc).
I'ld be very interested to see some performance comparisions if anyone has
any
- Original Message -
From: "Chris Lambert" <[EMAIL PROTECTED]>
To: <[
> Chris Lambert wrote:
> >
> > MySQL is easier to use and faster to develop with for 90% of web
> > applications. Sure, PostgreSQL has some huge advantages, but not
everyone
> > needs the same thing.
>
> easier to use ? I'm not sure why anyone would say that
> faster to develop ? nope - I find p
You can achieve the same effect by using left and right
- Original Message -
From: "Seb Frost" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 19, 2001 3:12 PM
Subject: [PHP] MySQL substrings?
> This is thew sort of thing I want:
>
> SELECT * FROM table ORDER BY substr(f
- www.whitecrown.net
> */
>
> - Original Message -
> From: Tom Carter <[EMAIL PROTECTED]>
> To: Seb Frost <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, August 19, 2001 10:32 AM
> Subject: Re: [PHP] MySQL substrings?
>
>
> | You
efined with Get, Let and Set methods,
> but you could still access them directly. You could also design
properties
> that were read only as well. Perhaps this is because of operator
> overloading??
>
> > -Original Message-
> > From: Tom Carter [mailto:[EMAIL PROTECTE
I could be wrong in thinking this, but wasn't the purpose of the presented
function to shuffle a deck in a deliberately imperfecatly random way? ie.
mimicking a human shuffler beats why one would want to do this as an
academic excersize, but hey, I like it ;-)
- Original Message -
From
help would be appreciated.
Tom
--
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]
om IP to host name
2. use a regex to match everything to the right of the last .
3. Look that value up in some table of countries eg.
notam.uio.no
to no
to norway
HTH, Tom
- Original Message -
From: "Mihailo Dzigurski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: M
I'm getting the following error with phpMyAdmin;
Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (2) in
/home/web/isp.com/public_html/dloc/admin/lib.inc.php on line 308
Error
Any ideas where to start looking. All I've set in the config.inc.p
This is not an issue if you're site is using Apache, correct?
Tom Malone
Web Designer
http://www.tom-malone.com
-Original Message-
From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 11:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Fwd: BadBlue v1.02 bet
Hi
This is the way I force save prompt on .html files .maybe useful (only
tested on ie) looks wierd but it works :)
Tom
At 06:10 AM 23/08/01, David Minor wrote:
>I ran some tests of different header configurations of 6 browser/platform
>combinations to find out what worked an
one solution that works on all ip numbers
";
}
?>
At 01:28 PM 23/08/01, Chris Aitken wrote:
>Hi all,
>
>Just a quick one,
>
>I am pulling a whole Class C list of IP addresses, and im trying to sort
>them in order, but im getting it displayed
>
>127.0.0.1
>127.0.0.10
>127.0.0.100
>127.0.0.101
>12
ng this
is necessary for certain functions to run can I have both co-existing?
I guess what I want is a copy of php running completely separate to
apache, ie as a standalone app. any help much appreciated!!!
Tom Carter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
preg_match("/macintosh/i",
"$HTTP_USER_AGENT") || preg_match("/ppc/i", "$HTTP_USER_AGENT") ||
preg_match("/PowerPC/i", "$HTTP_USER_AGENT")):
$basefont = "Geneva";
else:
$basefont = "Verdana, Helvetica, Serif";
en
e.
any hints on how this kind of comparison operation can be accomplished?
many thanks,
tom
--
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]
mac user on the list would view source on it to determine if it worked by
checking the font tags for face="geneva"? I could compensate you by being
extremely nice to you for the rest of your life... =)
Tom Malone
Web Designer
http://www.tom-malone.com
-Original Message-
From: G
m the last run.
> Donno if it would work, or how-much overhead it would add, but it sounds like it
>could ;-)
>
> -- Chris
>
>
> Jason Greene wrote:
>
> > - Original Message -
> > From: "Sascha Schumann" <[EMAIL PROTECTED]>
> >
r all the different clients
> (since semaphores guarantee a linear processing of clients, so all
> clients get there equal share).
>
> Last, i don't see why the implimentation as exists, requires 3
> semaphores.
I don't remember why either. I did that code somewhere around th
want to delete duplicate
submissions, how can i quickly & easily update all of the 'id' fields in
the entire table, to reflect the numeration change?
now, using phpmyadmin, if i go in and delete a few entries, the id's
have gaps in them..
mucho gracias,
tom
--
PHP General Mai
I thought it might be what I need
to look into. Or should I have to arrays and use one for the value and the
other for the item displayed in the pulldown menu.
Any help appreciated.
Thanks,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
reds of posts a
day in my inbox.
2) who can refer me to a good intermediate tutorial to better learn
MySQL syntax? again, i've been to mysql.com, but i find the structure &
format of the site somehow daunting (not as user-friendly as the
annotated manual at php.net).
thanks muchly,
tom
for them to add, edit and delete the
MySQL database. Is there an easy, reliable way to sync up Access with MySQL.
Maybe a nightly script that could upload the contents of Access to MySQL.
Would it be easier to start with ASP and SQL Server?
Thanks,
Tom
--
PHP General Mailing List (http
php can act as a server in many respects, it can handle sockets, some
streams etc. so the the answer is yes, you can connect to it from
anything. (for instance I'm currently building a plugin to Lightwave that
connects to php)... programs commonly use http to connect (it's simple then
designin
/secure internal network?
Tom
> > I was wondering if there is a way in PHP that you can determine the IP
> > address? I am wondering because I am developing a simple web based
> > program (in php) for use in a hospital setting and I want to do some
> > checks to make sure that
iste (I've
seen a couple where the code is amazingly messy)
Does anyone have any experience of any of the scripts available they could
share?
Thanks in advance,
Tom Carter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
A much better way of doing this would be use to mod_rewrite. an apache
module that basically applies regular expressions to urls
This would give you a way of avoiding passing variable but without resorting
to the work around of 404
- Original Message -
From: "Sondra Russell" <[EMAIL
I agree with the point about the spec of machine... a lot of comparisons are
made using machine where the spec of the machine ends up being the
bottleneck.
Also, PHP is more tolerant then say JSP in the code you write, it is
possible to write some really bad php apps which work albeit very
ineffec
then it should probably be
SetCookie("bilderanzeige","\"$bilderanzeige\"",time()+3600*24*30,"/","",0);
as a general rule, only numerics can get away without being surrounded in
quotes
- Original Message -
From: "Jochen Kaechelin" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTE
Also remember PHP has a maximum execution time (normally 30 seconds) so you
will need to overwrite when running the script.
- Original Message -
From: "Kath" <[EMAIL PROTECTED]>
To: "Fotwun" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 12:39 AM
Subject: Re: [P
nd 10 are the same, it compares the first digit,
sees they are the same and postitions based on the second digit.
As george correctly says changing the column type to INT will make sure the
RDBMS orders them numerically rather than alphabetically
Tom, a rambler
- Original Message -
From: &q
ichange that line to
if($weight[$i]) $percentage[$i] = $totaal[$i] / $weight[$i];
All tho this does mean that if $weight[$i] is zero then $percentage will be
as well
HTH, Tom
- Original Message -
From: "Bart Verbeek" <[EMAIL PROTECTED]>
To: "Php-General"
You also seem to be missing a closing }. please check all braces before
posting to a list...
- Original Message -
From: "Nikola Veber" <[EMAIL PROTECTED]>
To: "php forum" <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 1:29 PM
Subject: [PHP] code troble
> Hi
> I'm having trobles
This really doesn't work well to say the least... I've had endless problems
with it, and basically just using headers there is no great way to to it.
The best solution I found is to use the mod_rewrite module in apache to map
a url onto the script.
- Original Message -
From: "Franklin va
om access. So far it appears to be
working much better, but I would be interested to know your opinions.
Tom
- Original Message -
From: "George Whiffen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 5:10 PM
Subject: [PHP] Re: newbie looking to
Simplest way is to do this
$string = "my string";
$string=urlencode(str_replace(" ","+",$string));
ie use str_replace to manually replace spaces with +, urlencode then won't
do anything further to it
- Original Message -
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[
The problem comes if you use php to generate xml documents in xml you
use the tag
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, September 09, 2001 8:05 PM
Subject: RE: [PHP] difference between
> There isn't any difference, if your php.ini settings allow it
> (short_tags, I belie
PHP is probably compiled as a module.. if you want to be able to compile php
to use on command line you need to compile a second version (yes you can
have two) without all the apache configure options (ie only things like
mysql as and when needed)
- Original Message -
From: "ReDucTor" <[E
the following line to apachectl solved the problem.
# -
# the php binary on neptun:/home/mmulsy/apache is linked against an
# on old openssl version, so LD_LIBRARY_PATH must be adjusted ---tom
LD_LIBRARY_PATH="/usr/local/versions/openssl-0.9.6b/lib:$LD_LIBRARY_PATH
"
export LD_LIBRAR
rough outline of what you would need to do.
this is pseudocode.. I'm too tired to write correct php :)
$is_first=true;
whlie(get next result entry) {
if($is_first) {
$last-date=date of this entry;
$this-date=date of this entry;
$is_first=false;
}
if($this
1 6:12 PM
Subject: Re: [PHP] displaing news
> Thanks Tom,
>
> I'm still a newbie at this stuff though, so can you (or anyone) look this
> over and tell me what I did wrong...
>
> //Connect to db
> $db = mysql_pconnect("localhost");
> mysql_select_db(&qu
: 3
id: 3
1: 2001-09-12
date_add: 2001-09-12
2: Computer Science
dept: Computer Science
When I really want
id: 3
date_add: 2001-09-12
dept: Computer Science
What am I doing wrong?
Thanks,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
#!/usr/bin/php
print "test";
// More code here etc etc
-Original Message-
From: Gershon [mailto:[EMAIL PROTECTED]]
Sent: 13 September 2001 14:11
To: [EMAIL PROTECTED]
Subject: [PHP] how to execute PHP in CGI?
Hello All!!
how to execute PHP in CGI?
Thank You.
--
PHP Gener
MYSQL_ASSOC did the trick.
Thanks
> From: Andrew Perevodchik <[EMAIL PROTECTED]>
> Reply-To: Andrew Perevodchik <[EMAIL PROTECTED]>
> Date: Thu, 13 Sep 2001 08:10:52 +0300
> To: Tom Beidler <[EMAIL PROTECTED]>
> Cc: php list <[EMAIL PROTECTED]>
>
maybe I'm wrong, but don't you need a return value?
- Original Message -
From: "Christian Dechery" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, September 08, 2001 2:24 AM
Subject: [PHP] is PHP crazy, or am I?
> whats wrong with the code below?
>
> function bubblesort(&$ve
_code) || ($value[0] == $x[rec_pd4])) {
$option_pd4 .= " $value[1]\n";
} else {
$option_pd4 .= " $value[1]\n";
}
}
The field displays fine but I only get the last option. I'm testing with IE
5.
Let me know if this is
I'm very intruiged how you have got this to work it was my understanding
you needed to be running a server, such as kannel, and have a contract with
an smsc?
Is this so?
- Original Message -
From: "Lewis Bergman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sen
Thats the standard, but because of the other systems involved in delivering
msgs then I don't think it possible just to do that without the co-operation
of a third party smsc.
I really hope I'm wrong tho...
- Original Message -
From: "nico_oreka" <[EMAIL PROT
for those who are interested there is a good wap/sms server, open source and
generally funky kannel (kannel.3glabs.org)
It's all you need to server wap, but sms does requrie a contract (=cost
money) with a service centre
- Original Message -
From: "Tom Carter" <[EM
The question really for me is this...are they caches of results? in other
words, slightly old information? Or can they still be used in the same way
as a "raw" script and still be improved?
- Original Message -
From: "Andreas Gietl" <[EMAIL PROTECTED]>
To: "Alex Ranaldi" <[EMAIL PROTECTED
hanks much,
tom
--
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]
$table_name
WHERE (Answer=0)&&( abs((SUBSTRING(SendDate, 1, 2)) - $NowDay) > 7 )
thanks again,
tom
Don Read wrote:
>
> On 19-Sep-2001 Tom Churm wrote:
> > hi,
> >
> > could someone please tell me why this doesn't work? i thought that
> > string fu
vote_submit.php on line
34
Line 34 of vote_submit.php is:
header("Location: ".$source."?status=9&errormessage=$errormessage");
Any idea, why this is after update not working anymore? Thanks for help
Tom
--
PHP General Mailing List (http://www.php.net/)
To uns
vote_submit.php on line 34
Line 34 is:
header("Location: ".$source."?status=9&errormessage=$errormessage");
Any idea, why this is after update not working anymore? Thanks for help
Tom
Hi,
does anybody knows or have a php script for a private mail system within one website
(mailboxes for sending private messages in a dating site)
Thanks
Tom
Is there a way to create a new user with an email address on my mail server
(for a web mail app i'm writing) using an IMAP or some other PHP function?
Tom Malone
Web Designer
http://www.tom-malone.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROT
Does anyone have a recommendation on a PHP based Chat system. I'm looking
for an easy to install and reliable system.
Thanks,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
I did, that's why I'm asking for a recommendation. There are quite a few.
> From: "Maxim Maletsky \(PHPBeginner.com\)" <[EMAIL PROTECTED]>
> Organization: PHPBeginner.com
> Date: Wed, 26 Sep 2001 17:18:15 +0200
> To: "'Tom Beidler'&q
0-9-]+)*$",
$User[$j]))
{
$flag = 1;
$errorNo = $j + 1;
}
//die if flag is 1
if ($flag = 1) {
die ("Email #$errorNo is not a valid e-mail
address!Please return and correct
this.");
}
else {
continue...
}
any suggestions would be great!
thanks much,
to
hi, _lallous:
i've tried it with "==" and it still doesn't work: code for the valid
variables is executed before my die() function is called.
thanks, though,
tom
_lallous wrote:
>
> > if ($flag = 1) {
> > die ("Email #$errorNo is not a valid e-
Hi,
Friday, July 23, 2004, 8:08:22 PM, you wrote:
R> I receive an error:
R> "Warning: dl(): Not supported in multithreaded Web servers - use extension
R> statements in your php.ini "
You need to add
extension=php_w32api.dll
to your php.ini and restart the web server
--
re
(basically it means php functions can be coloured differently
from the keywords) which I find useful. Your quite welcome to try it
out. Warning: it will add 3K to the dll size :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Sunday, July 25, 2004, 9:48:20 PM, you wrote:
R> This didn't work :(
R> Apache crashes after execution of script.
Yes it does that ...you can download a working version here
http://fred.kwikin.com/php_w32api.dll
--
regards,
Tom
--
PHP General Mailing List (http://www.p
gt; http://pear.php.net/package/DB_DataObject_FormBuilder
JP> paperCrane --Justin Patrin--
I use a program called webdrive
(http://www.webdrive.com/index.php?pg=./products/webdrive/index)
that sets up the remote site as a
local drive which works really well.
--
regards,
Tom
--
PHP
r[0] = true;
else
$r[1] = 'Could not copy the file.';
}else {
$r[1] = 'The uploaded file is not the right type.';
}
break;
}
return $r;
}
list ($status, $error) = fileUpload($file);
if(!$status) echo $error;
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n Dyck
RD> Webbtech
RD> www.webbtech.net
RD> ==
msession is designed for just this purpose
http://www.mohawksoft.com/
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Saturday, July 31, 2004, 12:12:26 AM, you wrote:
RD> Does msession work with php5?
RD> ron
I have no idea :-)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Saturday, July 31, 2004, 7:34:08 AM, you wrote:
RGG> On Fri, 30 Jul 2004, Tom Rogers wrote:
RGG> how reliable msession is?. I'm interested on it too.
RGG> Regards.
I have been using it for several years now as my default session
handler and it has never once failed me, so I
hits and therefore
getting a different connection anyway (some one elses most likely) and
I also had trouble with setting the current db. This was a long time
ago so things may well have changed, but I did give up trying to use
pconnect.
--
regards,
Tom
--
PHP General Mailing List (http://www.ph
ou in advance,
JYJ> Kind regards.
JYJ> Jean-Yves
you can do this with msession or stick the variable in a database or
file. The best way would depend on exactly what you were trying to
achieve and who sets this value.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.ne
lex hogan
You can do it this way but you must make sure that any strings in your
values array have been escaped before with mysql_escape_string() and
probably trimmed as well.
$fields = array('id','name','age');
$values = array(1,'Dave',40);
$table = 'test&
ng));
echo '';
function replace($str){
return preg_replace('/\n\r|\n|\r/',' ',$str[0]);
}
$newstring = preg_replace_callback('//s','replace',$string);
echo nl2br(htmlentities($newstring));
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Make sure that http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
}else{
$content .= $text[$i];
echo "Oddball 3 byte-2 ".ord($text[$i])." ".ord($text[$i+1])."
".ord($text[$i+2])."\n";
}
}else{
$content .= $text[$i];
}
}
return $changed;
}
//Usage
$text = "String with quotes"; //original
$content = '';//result
if(convert_text($text,$content)){
echo $content;
}else{
echo $text;
}
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Friday, September 10, 2004, 8:59:30 AM, you wrote:
EL> Is there a way to get the size of an image created using the imagecreate
EL> function?
EL> The PHP manual section on image functions mentions getimagesize, but that
EL> only works on remote or local files.
EL> Thanks,
EL> Ed
Something lik
> tags.
r> Any help would be greatly appreciated!
r> -Samuel
This should get you started:
(a bunch of markup code)
(a bunch of markup code)
(a bunch of markup code)
END;
preg_replace_callback('!(.*?)!is','callback',$str);
Use the call back
; www.myweb.com/download.php?filename=xzy.pdf
a> can someone give me hint how to do this ?
a> thank u
a> --
a> Best regards,
a> adwin
a> www.kuya-kuya.net
Something like this
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi All,
I don't normally bother with these kind of meaningless threads as they
waste valuable electrons but I did find this interesting
http://www.urban75.com/Mag/troll.html
PS This is not a dig at you Jason, it's just your post is the only one
I didn't delete :)
--
regard
;, $array);
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
($fp = fopen($path,"w")){
foreach($list as $line){
$line = trim($line);
fputs($fp,$line."\n");
}
fclose($fp);
}
//tell cron about it
exec("crontab $path");
?>
Note appending to an existing cron file probably wil
';
aan> echo " $i ";
aan> }
?>>
aan>
aan> Is there any better way?
aan> Thanks for any help.
aan> Afan
Another way to skin this cat :
$month_names = array(
'Jan'=>'', 'Feb'=>'', 'Mar'=>'
eate the PDF file before outputting it to
BPC> the browser... which is very annoying.
BPC> Has anyone else encountered this? I have been unable to find much in the
BPC> groups to this point!
BPC> Thanks in advance for the help.
BPC> -brendan
try
pdf_open_file($pdf, "");
--
> in the first script does not produce any output
HS> either.
It is best to use
session_start();
.
.//get username
.
$_SESSION['username'] = $username;
then on the next page
session_start();
echo (isset($_SESSION['username']))? $_SESSION['username'] : 'Not in session';
PHP does not fill global variables by default.
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hence i need to rewrite with error_log()) or is
the maybe some other explanation?
tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
M> libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by
MM> mysql-devel-5.0.26-21.x86_64
MM> libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by
MM> mysql-devel-5.0.26-21.x86_64
MM> Something must be wrong. I can't believe that there is so much change
MM> nece
1001 - 1100 of 1845 matches
Mail list logo