If you are on a unix box you might want to use the tail command... if you
use exec() the output will be in an array...
--
Jon Farmer Õ?Õ?
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED
Hmm although the answer was "Personal Home Page Tools" and is now "Hypertext
Preprocessor" when people ask me, I say "Pre-Hypertext Processor"
Its the same meaning, and puts the letters in the correct order, so as not to
confuse people.
--
PHP General Mailing List (http://www.php.net/)
To unsub
Well I guess Rasmus is the guy who knows but as I understand it, it was
originally
Personal Home Pages
and became
PHP Hypertext Preprocessor later
Regards
jon
--
Jon Farmer Õ¿Õ¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send
PHP Hypertext Preprocessor (yes, it's recursive)
HTH
Jon
-Original Message-
From: Niklas Lampén [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 11:38
To: Php-General
Subject: [PHP] What does PHP stand for?
It just crossed my mind: I don't know what PHP stands for..
Ermm you are missing SSL encryption. You can't just try and talk to port
443! You have to use something that talks SSL to talk to port 443.
fsockopen() does not talk SSL.
Regards
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PG
Shell PHP scripts will start with the line
#!/path/to/php -q
Regards
Jon
--
Jon Farmer O?O¬
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: George E. Papadakis
I dont think you read the original post correctly. Obviously you would use
SSL to get the info form the browser to server. What the poster was asking
was how does he securely get the information from the server to the people
using the PDQ machine.
Regards
--
Jon Farmer O?O?
Systems Programmer
header("location: redirect.php");
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: Wilbert Enserink [mailto:[EMAIL PROTECTED]]
Sent: 24 August 200
and randseed files are readable by the apache
user.
4. Have fun
I have successfully got this working and if you need any help let me know
Regards
jon
--
Jon Farmer տլ
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL
Yup, try qmail: www.qmail.org
You need to adjust the setting in your php.ini as well.
HTH
Jon
-Original Message-
From: Juraj Hasko [mailto:[EMAIL PROTECTED]]
Sent: 24 August 2001 14:19
To: [EMAIL PROTECTED]
Subject: [PHP] PHP & sendmail
Hi,
I would like to know if PHP on
t be
surprised, knowing PHP :-), but you could definitely do something like:
$start = mktime();
$sql = "SELECT foo FROM bar ORDER BY xyzzy";
$result = mysql_query ($sql);
// do something with the result if you want that timed as well
$end = mktime();
$total = $end - $start;
echo $total;
You can use the SQL keyword "LIKE" for this. Have a look at the MySQL docs
for full info, but the idea is you'd do something like:
$query = "SELECT * FROM table WHERE question LIKE '%". $search_phrase. "%'";
HTH
Jon
-Original Message-
From
gout. If the cookie is not present when they
go back to the page that needs login then it presents a login box to a realm
that contains the current date and time in it.
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, se
I think Jan meant that when PHP spits out "Error in line x", it has a
in there which causes the page to be invalid.
My question would be "why are you trying to validate pages with errors in
anyway?"
Cheers
Jon
-Original Message-
From: Tyler Longren [mailto:[EMAIL
t; Use system instead.
Well, don't trust everything you read :-)
These lines:
$httpd = exec("ps -e | grep -c httpd");
$mysqld = exec("ps -e | grep -c mysqld");
fill $httpd and $mysqld with the current number of daemons running. Works
fine on my Slackware box with PHP 4.0.
I think you need to assign it to a variable and then echo that:
$dnsquery = exec("dnsquery -h domain.net");
echo $dnsquery;
HTH
Jon
-Original Message-
From: J.Mueller, pro.vider.de GmbH [mailto:[EMAIL PROTECTED]]
Sent: 17 August 2001 09:29
To: '[EMAIL PROTECTED]
-httpd-php .php .html
You can put as many extensions as you like in there, for example:
AddType application/x-httpd-php .php .php3 .php4 .html .phtml .foo .bar .baz
.xyzzy
Although this is probably overkill :-)
HTH
Jon
-Original Message-
From: Paul S. [mailto:[EMAIL PROTECTED]]
Sent
The best way to do this, which is conveniently also the easiest, is to do it
within your SQL query.
$table = "tablename";
$field = "fieldname";
$query = "select * from $table order by $field";
or, for descending sort:
$query = "select * from $tab
--
while you are looping through the date jump in and out of php like this to
populate the javascript array
are
passed to the script. How do I get the client to forget the previous login
details?
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
Jon
--
Jon Farmer
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]
-Original Message-
From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
Sent: 14 August 2001 15:53
To: [EMAIL PROTECTED]
Subject: [PHP] Select
Hi
thats because mysql_fetch_row only returns one row.
to get all the rows do
while ($row = mysql_fetch_array($result) {
//processing code here
}
This will run through all the rows putting the colums into the array $row[]
Regards
Jon
--
Jon Farmer
Systems Programmer, Entanet
if you mean how do you get mysqld to startup automatically then you need to
call
mysql.server start
at bootup
Regards
Jon
Jon Farmer
Systems Programmer
Entanet International Ltd www.enta.net
Tel 01952 428969
Mob 07968 524175
-Original Message-
From: Roman [mailto:[EMAIL PROTECTED
Hmm well I has this problem on a FreeBSD box and as soon as I moved it to a
RedHat7 box it worked.
Jon Farmer
Systems Programmer
Entanet International Ltd www.enta.net
Tel 01952 428969
Mob 07968 524175
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Sent: 12 August
You need to make sure that what ever user the webserver/php runs under has
permissions to read from the source folder/file and write permission for the
destination folder/file.
Common users for apache/php are "nobody" or "apache"
regards
Jon
Jon Farmer
Systems Programmer
E
as requested.
To do this you would need to find the 100th space in the string and use
everything before that. I would probably explode the string and loop through
the first one hundred elements to reconstruct the string with the first one
hundred words.
Regards
Jon
Jon Farmer
Systems Progra
le?
>Bjorn's method is much better, and you're better off getting into good
>practice early.
Who mentioned anything about typing? In the example given it was a hardcoded
string.
Jon Farmer
Systems Programmer
Entanet International Ltd www.enta.net
Tel 01952 428969
Mob 07968 524175
>How can i take a dump of first database (which is about 1MB) and restore
>that dump on the second one?
If you have Telnet access use the mysqldump and mysql clients to export then
import.
Regards
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
the script in
case you want to check it out.. Any ideas anyone?
Thanks
Jon
#!/usr/local/bin/php -q
subject;
$from = $thisheader->from;
$name = $from[0]->personal;
$fromaddr = sprintf("%s@%s",$from[0]->mailbox,$from[0]->host);
//echo $sub
how can i find out what kind of error i am recieving when i call a command thru
system()?
how do you feel about the speed of imagemagick? fastwr? slower than gd
functions?
- Original Message -
From: "Girish Nath" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 1:56 PM
Subject: Re: [PHP] Re: Any good gif/jpg processing tool for PHP??
> Hi
>
> I've
i take it you input this into a hence the subject
try this
this should carry over the formatting into the cariable or how ever your
store it
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, co
ry 12, 1944");
$test2 = strtotime ("January 9, 1954");
$oneyear = 3600 * 24 * 365;
$diff = $test2 - $test;
$ans = $diff/$oneyear;
echo $ans;
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the cod
n file.
http://www.tuxedo.org/~esr/jargon/html/entry/Godwin's-Law.html
Cheers
Jon
--
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]
ll...
> if you're using apache, there's a *much* easier/secure way
> of doing this.
>
> setup an .htaccess file to restrict access to certain
> username/passwords.
>
> check out both:
> man htaccess
> man htpasswd
>
>
> > -Original Message-
> &g
isnt this fact a good enough reason to believe it worthless???
- Original Message -
From: "Kyle Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 6:34 AM
Subject: [PHP] Spot the difference?
Whats the difference between ASP and PHP cause ASP has gotta have
i dont know if this is elagant but ti works. but a fake index.htmlin your
directory for browsers to default to. . ..
- Original Message -
From: "Marcus James Christian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 12:30 AM
Subject: [PHP] Q: Hiding Folder D
- Original Message -
From: "sarahana" <[EMAIL PROTECTED]>
To: "Jon Yaggie" <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 6:26 PM
Subject: detecting mysql
> Does anybody here know how to detect with php whether mysql is installed
or
> not.
Actually after an hours nap i found the problem. It is not something anyone
could have helped me with since i didnt give complete enough code. the
very simple solution was stupidly i used it in a function without declaring
ir global. all is good now.
- Original Message -
From: "Richa
SORRY i just coppied it wrong
the actual code is capitalized
while(list($k, $v) = each($HTTP_SESSION_VARS))
- Original Message -
From: "Faisal Nasim" <[EMAIL PROTECTED]>
To: "Jon Yaggie" <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 12:23 AM
Subj
. . is there soemthing i can do to make this
work?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it conti
Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "Jon Yaggie" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, August 01, 2001 11:36 PM
Subject: Re: [PHP] env var
> See :
>
> http://www.php.net/manual/en/ref.session.php
>
> N
ans)
PHP = PHP Hypertext Preprocessor
Damn, where's Rasmus when you need him? He *wrote* it
Cheers
Jon
--
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]
is there not an array that saves all session variables? I just got done looking for
it and though i am sure there is a list of all these variable i am not sure where (it
is not in my info file).thanks
btw if you are the RTM (RTF(antastic)M) guy no need reply.
Thank You,
Jon
Well, any text editor will do. Here are some links:
file://c:\windows\notepad.exe
http://www.editplus.com
http://www.ultraedit.com
Enjoy
HTH
Jon
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: 01 August 2001 20:09
To: [EMAIL PROTECTED]
Subject: [PHP] PHP EDITOR 4
> GlacierHello,
> I need to zip multiple files into 1 zip file for download.
> Which function do I use to accomplish this?
> Thanks!
http://www.php.net/exec
HTH
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
?>
It's untested, and fairly inelegant in that you get an empty row at the
bottom, so you could count the rows for each set beforehand as part of the
SQL instead of using $data as I have - but it may be a good starting point.
HTH
Jon
-Original Message-
From: Chris Cocuzzo [mailto:
use a safe web browser such as the one at samspade.org
- use IE's view-source: feature
etc
If it's on the web, people can copy it. You have to live with that, I'm
afraid.
Cheers
Jon
-Original Message-
From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
Sent: 31 July 2001 1
; form it outputs 'NO' (Good). If I enter a value into the age field and
> submit, it outputs 'NO' (Not Good).
You are assigning these values, not comparing them
$post = "1"// puts "1" in the variable $post
$post == "1" // compares $post to &
In creating a banner exchange, anyone have thoughts on how the big boys
use their javascript and server side coding to do the banner rotations? I've
look at a lto of examples but some concurrency issues arrise. Anyone have
thoughts on or seen 'research' on how the major networks get the job do
You've already checked the php.net site before asking this, I take it.
Oh wait... http://www.php.net/manual/en/ref.session.php
Maybe not :-)
Cheers
Jon
-Original Message-
From: Gabriele Biondo [mailto:[EMAIL PROTECTED]]
Sent: 30 July 2001 12:25
To: PHP
Subject: [PHP] Need fo
ok please ignore my rather ongoing stupidity. I briefly scanned my manual and didnt
find this. so figured since everyone here should be experts on this function with so
many questions asked. .
Does this require a specific mail server e.g. sendmail?
Thank You,
Jon Yaggie
www.design
how do i get the info back and process
it? should i be using cURL? something else sockets?(shiver)
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the
This is a long shot, but... MSIE has a nasty habit of saving the mime type
of a page. If you attempted to load the URL before PHP was set up properly,
it won't load until after you closed IE and reopened.
-Original Message-
From: Richard Kurth [mailto:[EMAIL PROTECTED]]
Sent: Friday, J
elements for a reason .. .
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0
okay i just got this error. what doe sit mean
Warning: file("") - Success in /var/www/html/login/login.php on line 45
the lines of code involved are
$filename = "log/userdb.txt".
$list = file($filename);
Thank You,
Jon Yaggie
www.design-monster.com
A
hmm i think there is a function specificlly for html. but i am not sure
have you tried strip_tags() it will remove html and php tags from a string
. . .
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix on
would be nice so we could easily integrate it
in the rest of the site. Any one able to point me in the right direction?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bu
Try $HTTP_REFERER instead of $HTTP_REFERRER (yes, I know it's spelt wrong,
but try it :-)
Cheers
Jon
-Original Message-
From: Shrout, Ryan [mailto:[EMAIL PROTECTED]]
Sent: 26 July 2001 14:53
To: '[EMAIL PROTECTED]'
Subject: [PHP] HTTP_REFERRER Problem
Here is the code
> // Connect to MySQL
>
> mysql_connect( 'localhost', 'balaji', 'pingpong' )
> or die ( 'Unable to connect to server.' );
...and you'll be changing your password right about now, I suppose :-)
Cheers
Jon
--
PHP General
hmmm i think you need to always have quotes around string regardless of if
they are variables . . .
$result = mysql_query("SELECT shootID FROM shoots WHERE
(location='$location')");
- Original Message -
From: "Seb Frost" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL PROTECTED]>
Sent: Thu
On which OS? For example, on a Linux box, I imagine you could do something
like
exec("mv old.directory.name new.directory.name");
Cheers
Jon
-Original Message-
From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]]
Sent: 25 July 2001 15:07
To: [EMAIL PROTECTED]
Cc: [EMAIL
Yes it is - have a look at www.php.net/exec to see how you can run commands
from your PHP scripts.
HTH
Jon
-Original Message-
From: Eduardo Kokubo [mailto:[EMAIL PROTECTED]]
Sent: 25 July 2001 12:55
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP] php
Hi,
Is it possible
with my SUSE Linux 7.1 box which is also running
PHP, Apache and MySQL.
I did compile and make the PHP from the source.
Your help and advice would be much appreciated.
TIA
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
If I have a directory protected with an .htaccess file that requires users to
log in, is there anyway to determine what username they used in my PHP scripts?
--Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
how do i get around this?i have a script works great for me, but the clients php
config has this set magic_quotes_gpc on. isnt there a varible i can change to
eliminate this for my script? if so how do you use it?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing
pets->dog->weekcount($newpets);
so i guess if the array prints find just before the function yet it still
shows an empty array i am baffle where else the problem could be the rest of
the code doesnt really even come near these values or function
Thank You,
Jon Yaggie
www.
eve
maybe i just cant do it. or maybe there is soemthing stupid i am missing?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little
is whatever.php file encloded in php tags? sounds like it is interupting it
as texted. i didnt test this theory so dont kill me if i am wrong. but it
is a guess
- Original Message -
From: "Jeremy Morano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 12:53 A
- Original Message -
From: "jessica lee tishmack" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 10:50 PM
Subject: [PHP] set var in PHP clarified
> Thanks for the prompt replies...but I think I should clarify...
>
> In regular html, I would do this:
>
>
i was wondering this too what happen to
some title here
reminds me of MIVA script or one of the build in things maybe (gulp) a
front page thing?
anyways i suspect that
$TITLE = "some text here";
is what you want
- Original Message -
From: "Chris Boget" <[EMAIL PROTECTED]>
To: <[EMA
has this problem
check the annoted manual on php.net. i believe there is a work arround
posted on imagecolorallocate() and i reposted the same thing under
imagecreatefromjpeg. basically you create and image, allocate colors, and
then copy your jpeg on it.
Thank You,
Jon Yaggie
www.design
nope. the fonts are normalenough when i i open them. and in fact i guess i
get slight different "boxes" for different fonts. but all of them are
alpha-numeric fonts
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
can it? it has to be the files or maybe server set up? i have done
this before with no problem so i am stumped at what the difference here is and why
some work.
idea?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bu
. i
do register more variables on this page but i never reregister $directory
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the
quot;);
fputs($handle, $pg_info);
fclose($handle);
as you can see in the error $directory appears not to be there. i didnt unregister
it. i didnt change it. where did it go? and what might have cause this??
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
wonderful i hope ti is the only problem left:)
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it conti
url you can try it.
http://www.hvacsites.com/SiteBuilder/logo.php?tmpcolor=_dred&logo_text=sdfdsdfasfd&logo_style=1
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
10
One way to do this is to create a special directory in htdocs reserved only
for temporary files. Add the following line to crontab or a user with
permissions to delete:
0 * * * * find /usr/local/apache/sitename/htdocs/specialdir/ -cmin
+1440 -exec -rm -f {}
Every hour this script will delete al
re outside the document root, as long as your apache isn't
> "jailed" php can read your flat file wherever you put it, as long as its
> owned by the webserver user - Russ
>
> -Original Message-
> From: Jon Yaggie [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday,
way to protect the db other than
htaccess?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it
cna refresh it without the query string?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued
i have nothing to do with the popup stuff :)
- Original Message -
From: "Ben Bleything" <[EMAIL PROTECTED]>
To: "'Jon Yaggie'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 09, 2001 11:37 AM
Subject: RE: [PHP] url wit
needs to be exact. so the query
string needs to be stripped some how?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the
i do this? can i do this?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the code . . .'
And it continued until they reached 0
- Original Message -
Fr
I am afraid I am completely stupid in the way that watermarks work(researching now).
however I need to know quickly if I can dynamically apply a watermark to an image
using PHP. Any one know?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little
the images saved.
I placed the headers at the top of mypage.php. where else could i put them? and my
browser still caches unless i conpletely turn off caching.
What am i doing wrong?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs i
Yes, I would have thought this would do it:
if (strstr($file, "/usr/local/apache/htdocs/") {
show_source($file);
} else {
echo "File must be in /usr/local/apache/htdocs!";
}
Modify as appropriate.
Have I missed anything, or will this do the trick?
Cheers
Is there an SQL query for resetting the autoincrement field of a table ? I
know myisamchk will do this but the system I am on will not let me us it. I
can get console level access but that is all. I simply want to reindex my
data back to the start of 1.
Thanks
--
PHP General Mailing List (
have worked with two alternatives here. one set another cookie that holds a
timestamp of the time you want the other cookie to expire and then compare
server time and the expiration cookie. or do the same thing basically b ut
use a variable set in a session.
Thank You,
Jon Yaggie
www.design
it wrongly? is there another method i can clear
the browser cache?
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in the code
100 bugs in the code
fix one bug, compile it again
101 little bugs in the code
101 little bugs in the
opy($image, $himage, 400, 20, 1, 1, 60, 60)
Imagepng($image, "signature.png");
ImageDestroy($image);
Am I using ImageCopy incorrectly? It doesn't put anything in the new image.
Jeff
Thank You,
Jon Yaggie
www.design-monster.com
And they were singing . . .
'100 little bugs in
Instead of performing a send for each stroke, the user code type in a whole
string in a text box, and then submit that string. I have found this code at
http://www.phpbuilder.com/mail/php-general/2001051/1479.php:
sock = fsockopen($host,$port);
socket_set_timeout($this->sock,2,0);
I was doing some research on creating a webbased telnet client and I am unsatisfied
with Java applets. I would like to create a server side telnet client, so the user
side is only required to have a working web browser that supports HTML.
Thus, I turned to PHP. I found one example, but it does
agecolorallocate($im, 0, 0,
255); break;
}
$sizex = imagesx($im);$sizey = imagesy($im);$fontlen =
imagefontwidth(3);$strlen = strlen($text) * $fontlen;$xvalue =
($sizex - $strlen)/2;$yvalue = $sizey * .40;
imagestring($im, 3, $xvalue, $yvalue, $text, $o);
imagejpeg($im);
?>
is there a function to get the mime of a given
file? if so what?
Thank You, Jon Yaggiewww.design-monster.com And
they were singing . . . '100 little bugs in the code100 bugs
in the codefix one bug, compile it again101 little bugs in the
code 101 little bugs in the code . . .
mysql table with approx. 30 entries.>> I wanna
get them(i know how to do that) and list them in a 2-column table.I>
have been trying to use a loop to do it. But it will only produce
a1-column> table. it's like>> entry 1> entey
2> entry 3> entry 4> etc>&
Using Apache ...
Any thoughts no how I can create a link:
http://cars.mydomain.com and have it redirect to
http://www.mydomain.com/index.php?id=cars
and
http://www.mydomain.com/cars and have it redirect to
http://www.mydomain.com/jump.php?id=cars without mess
.
Thank You, Jon Yaggiewww.design-monster.com And
they were singing . . . '100 little bugs in the code100 bugs
in the codefix one bug, compile it again101 little bugs in the
code 101 little bugs in the code . . .' And it
continued until they reached 0
801 - 900 of 1132 matches
Mail list logo