[EMAIL PROTECTED] (Don Read) wrote:
> On 11-Jul-01 Henrik Hansen wrote:
>> [EMAIL PROTECTED] (Jack) wrote:
>>
>> > 1. (*) text/plain
>> >
>> > Dear folks I was told that http referer can tell me where the user
>> > come from. But it
uld work if the user have a referer, a user has only a referer if
the user comes from another page to your page, because it dont work
might be because the user entered your page directly?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
se
> files once the user logs off ; perhaps with the use of sessions
do you know what the files are named? then you can just use unlink()
on each of them?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
;
>> Thanks again for all your comments and help.
>>
>> James.
>>
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL
ook at php's new irc functions.
--
Henrik Hansen
--
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 have made a search of the Adobe site and of google and can't find any
> information about .pdf file headers. Can any one on the list point me to
> some resources?
try the newsgroup: comp.text.pdf
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
nder, I can't control the input file type. It will be
> very helpful if I can at least convert to other image format.
what gdlib version do you use, as gif support is removed in the newer
versions, due to license stuff.
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
T
"Jeff Lewis" <[EMAIL PROTECTED]> wrote:
> 1. (*) text/plain
>
> Anyone have a tutorial or site dealing with PHP and MS Access databases?
>
if you dont have a dns:
http://www.alt-php-faq.org/#id46
if you do:
php.net/odbc
--
Henrik Hansen
--
PH
field, using normal sql syntax.
--
Henrik Hansen
--
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]
database?
http://www.mysql.com/doc/P/r/Privilege_system.html
>
> Do i use mysqlacccess?
i only know of mysqlfront.de
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To co
"Tim Taubert" <[EMAIL PROTECTED]> wrote:
> mh this is bad...
>
> can i do anything else instead of this ?
crypt the password before inserting it into the user account?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-ma
"Tim Taubert" <[EMAIL PROTECTED]> wrote:
> Hi all,
> how can i execute a UNIX command like
>
> 'newuser "Tim Taubert" tim password'
$output = system("unix_command");
echo "The result was" . $output;
more info at:
www.ph
I heard that sorting by domain would
speed up thing because the mailserver allready has a connection to
the forign mailserver, what do you mean by repeated replies?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
in
your queue sendmail may choke a little more on 2500 messages, than if
all goes right through. Or am I wrong?
--
Henrik Hansen
--
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]
"Kman" <[EMAIL PROTECTED]> wrote:
> Yes, if you can stop mail server. Then kill the related process. No,
> otherwise.
or if the browser window is open you can just press esc (you can leave
it open is your timeout is disabled)
--
Henrik Hansen
--
PHP Gene
answer look here
http://www.developer.irt.org/script/script.htm
--
Henrik Hansen
--
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]
t it to mysql that way.
--
Henrik Hansen
--
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]
"Pepe Lopez" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I want to encrypt mails coming from my webform with pgp. Is it possible?
this hack might help you
http://alt-php-faq.org/#id65
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To un
Michael Roark <[EMAIL PROTECTED]> wrote:
> Does anyone know of the existance of an irc bot written in php or
> otherwise, which will talk to a mysql database?
have seen something called php-egg, which you can look at here:
http://kill-9.dk/php_egg/
--
Henrik Hansen
--
ition my HDD, i would prefer to have a File on my hdd that has
>Linux on it, my WinXP install is on a
> FAT32 Partition..
>
> Now how can i do this? :)
short answer dont do it
longer, read up on umdos and linux
--
Henrik Hansen
--
PHP General Mailing List (http://w
"Daniel Goldin \(E-mail\)" <[EMAIL PROTECTED]> wrote:
> Anybody know of a good chat script? I'm hoping for the chat equivalent of
> phorum. Thanks for any help.
http://phpwizard.net/projects/phpChat/ - might give that one a go.
--
Henrik Hansen
--
PHP
;
header("Location: http://www.mydomain.com/index.php?id=cars";);
break;
}
and so on
--
Henrik Hansen
--
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]
"Fredrik Arild Takle" <[EMAIL PROTECTED]> wrote:
> Is this a joke?
> http://www.perl.com/search/index.php
nope it's not a joke :) it's pretty nice feature on a perl site :=)
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
the proper direction?
[EMAIL PROTECTED]
[EMAIL PROTECTED] to subscribe
AFAIK
--
Henrik Hansen
--
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]
#x27;$email'",$db);
> echo $result;
because $result is the result of a mysql query and you can not echo
this to get the values instead you for example have to use
mysql_fetch_array to get all the values from the $result.
php.net/mysql
--
Henrik Hansen
--
PHP General Mail
ld also advise you to try and ident the script
correctly which makes it like 100% easier to read.
--
Henrik Hansen
--
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]
>
> Here is what I see... and if you count the brackets, there are 15.. ?
>
ok well, I can see the script inserts \n, if you are wrapping in html
you dont see the text is actual wraping because you need to add
instead, maybe do a nl2br() on the ourput from the functions and see
if the
to screen, just does
> some DB stuff then sends out an email.
how do you call the script from cron?
--
Henrik Hansen
--
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]
hing like this, to split every line with a :
wordwrap($text, 20, "");
--
Henrik Hansen
--
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]
cess
> on my site to get this working.
>
> anybody got any tips to get cron working in the simplest way.
from you shell enter :
crontab -e
then you are in the crontab file, here you can input a cronjob, look
more at man crontab
--
Henrik Hansen
--
PHP General Mailing List (http
"Ryan Sommers" <[EMAIL PROTECTED]> wrote:
> When will PHP4.0.6 be released? I'm writing an image library for my site and
> could use things like ImageCopyMerge() and ImageCopyResampled().
I think the developers are hoping to release it within a week (if
everything
Mark Wouters <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've another question.. is it possible to send attachements with mail()
it sure is, look at phpclasses.upperdesign.com for classes for the
purpose (unde mail classes)
--
Henrik Hansen
--
PHP General Mailing List
Paulo Rocha <[EMAIL PROTECTED]> wrote:
> I am also curious to know how much disk space is php.general taking.
>
well i can say i have 35 MB mails in 2 months in around 10200 mails,
so you can do the math yourself :)
--
Henrik Hansen
--
PHP General Mailing List (http://www.
"Kyle Mathews" <[EMAIL PROTECTED]> wrote:
> Hello:
>
> I'm looking for some code that will upload images to my server from a form
> submission.
> I'd also like it to check for a max file size of the images.
>
look at the getimagesize() f
gt; php script that will work better for me? I don't need
> the database emailed to me... just zipped and put onto
> my server where I can FTP it.
look at the mysqldump program if you have shell access to your
webhost... else look at phpmyadmin which has a feature to dump a
database to a
"Alexander Bierbrauer" <[EMAIL PROTECTED]> wrote:
> Hi people,
>
> does anyone know a good PHP developer IDE for Windows?? I'm using PHP Coder
> but it's a little bit to buggy.
phpEd - phped.com
--
Henrik Hansen
--
PHP General Mailing List (http:
"Chris Mason" <[EMAIL PROTECTED]> wrote:
> I need to abrieviate a block of text at the first full stop after 100
> characters, does anyone have a handy dandy way of doing it?
wordwrap()
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsub
:
apache as webserver
mysql as database
php as language
--
Henrik Hansen
--
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]
"Jacky" <[EMAIL PROTECTED]> wrote:
> 1. (*) text/plain
>
> Is this the correct way to use round function with 2 decimal?
> $x = round((44.057/2.545),2);
yep
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
Daniel Guerrier <[EMAIL PROTECTED]> wrote:
> Where can I find detailed info on creating websites
> using php templates.
> Hardcopy or online
I would reccommend fasttemplates, more information here:
http://www.thewebmasters.net/php/FastTemplate.phtml
--
Henrik Hansen
t is completely
> closing also.
>
I think it just drops the connection, little like doing a ctrl+c i
guess, the best practise is to use ftp_close() as you sould always
close a database connection too, so in short it's a matter of coding
pratcise and style. (at least i think so :)
-
register("username");
> session_unregister("password");
> session_unregister("accesslevel");
> session_unregister("emailaddress");
> session_unregister("last_login");
>
> session_destroy();
hmm i guess session_destroy() sho
when listing a directory?
Maybe use ftp_rawlist(); instead
--
Henrik Hansen
--
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]
our problem.
example:
$var = "fieldcode";
$$var = "the value";
echo $fieldcode;
more information here:
http://www.php.net/manual/en/language.variables.variable.php
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
so you dont break something, but
it might be better to change all rpms connected to php to tgzs.
Yes after that you will be able to overwrite exsisting php versions.
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
Rafael Faria <[EMAIL PROTECTED]> wrote:
> Hi again,
> have somewhere that i can find a chat that connect with irc server?
http://phpwizard.net/projects/phpIRC/
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
t should do that for every
>message? Anyone knows how I could do this?
Dont! look at the wordwrap function, in short in works like this:
echo wordwrap ($body, $length, "");
read more here:
http://www.php.net/manual/en/function.wordwrap.php
--
Henrik Hansen
--
PHP General Mail
not just :
AddType application/x-httpd-php .php3 ?
maybe it helps
--
Henrik Hansen
--
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]
ed
>
> Why it doesn't work ???
I don't think it's php that fails, maybe you should ask else where or
check that sendmail is installed correctly?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
"George Alexander" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am working on a newsletter module. What I want
> to know is that how can we send a newsletter via
> email to all the subscribers in html format
> with images in the htm too???
read http://w
Martín Marqués <[EMAIL PROTECTED]> wrote:
> I have a CVS installed on one of my machines, but the RCX are not published
> on the web site. That's what I'm copmplaining about!!
hmm I though they got a tag in the cvs resp, well it might be thats
only the releases that
> >
> > -fkr
> >
> > ps. I guess, it's released once it works fine :)
>
> Why don't the publicate the RC's. I had a hard time getting RC5.
they are freely avaialiable on the net for download. or you always
have cvs :)
--
Henrik Hansen
--
Haven't
> > seen it yet, anyone knows the release date??
>
> RC7 got out a few days ago (Thursday I believe), and I think I recall that unless
> lot's of things went wrong this is the last RC
RC8 too :)
--
Henrik Hansen
--
PHP General Mailing List (http://www.p
ual-lookup.php?lang=en&function=uudecode
--
Henrik Hansen
--
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]
"Szeto" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> * i wondering where to get ifo on developing web e-mail
> * what standard should i use to deveping to software
look at the imap functions in the php manual they are what you need to
develop what you need.
--
Hen
"Marisol Díaz E." <[EMAIL PROTECTED]> wrote:
> 1. (*) text/plain
>
> Hi
>
> I need the code, for protecting the dir by password.
take a look at htaccess files
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
se you can have a few big files and some small files with it, depends
> on what the big files do, Classes and common functions can be grouped
> together.
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
ike to have a
few larger files in my directory seperating different similar
functionality in them, I think it's also a good idea to have all
functions in one file, makes them easy to find. But alot of small php
files can also work, I would reccommend you try some different
solutions out and find y
mp -h host -p password -u username databasename >
/path/to/file
then you have a comple dump of your database and database structure.
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
;
just do
/path/to/php/php script.php
--
Henrik Hansen
--
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]
"Kath" <[EMAIL PROTECTED]> wrote:
> I tried emailing him 5 times with this, but I could never get through :|
>
> I even found the script for him and tried to send it to him :|
>
> - Kath
heh i got an error too, lets just hope he read the group :)
--
"Mick" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Anyone able to tell me where i can get a traceroute php script from?
http://www.google.com/search?q=php+traceroute+script&hl=da&lr=
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsu
"Matthew Hanna" <[EMAIL PROTECTED]> wrote:
> Has anyone heard of calling Perl libraries from PHP? I have seen it done with Java
>classes
> but it would be great if there was a way to do it with Perl.
The only thing i can think of is virtual() and exec(), take a l
maybe this?
while($line = fgets($fp, 1024)) {
$line = str_replace("replace_this", "with_this", $line);
$content .= $line;
}
fwrite($fp, $content);
--
Henrik Hansen
- Original Message -
From: "enthalpy" <[EMAIL PROTECTED]>
To: <[EMAIL PROT
hould be, more safely make the webserver user
the owner of the dir.
--
Henrik Hansen
--
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]
if ($file != "." && $file != ".."{
ereg("[.]([a-z]{2,3})$", $file, $extention);
if($extention == ".txt")
echo "yehaa file ends with .txt";
else
echo "darn no .txt";
}
}
or somet
so that I can use it for the
web?
>
> $string = nl2br( $string );
nl2br() don't replace the newlines with a they insert a before
the newline,
therefor you need something like:
$string = str_replace("\n", "", $string);
--
Henrik Hansen
--
PHP General Mailing List (
> Hi!
>
> I have 2 dates...
> $start = "20010101";
> $end = "20010312";
>
> What is the easiest way of finding out how many days are between?
I Would suggest you check put the followinf article from phpbuilder:
http://www.phpbuilder.com/columns/akent
and the response document is so simple in structure that you could probably
get by without an xml parser to interpret it.
Does it cost anything?
Do you need to be registered?
Are there similar services?
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
And be careful what you put a +s on, so it can't be exploited
--
Henrik Hansen
- Original Message -
From: "Jon Snell" <[EMAIL PROTECTED]>
To: "php general" <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 12:44 AM
Subject: RE: [PHP] exec as anoth
> Thanks for the URL Henrik, but I'm finding a linux dist :) My odbc
> functions are used on a linux box to access DB2/AIX :)
sorry, well for linux do this:
compile compile compile :)
--
Henrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
27;man sudo' on your linux box
--
Henrik Hansen
--
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]
sion soon to be released? Or
> if the above odbc functions are working in the CVS tree?
take a look at www.php4win.de fro bleeding edge versions of the php dist
(also including many more precompiled modules)
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubs
> I can easily send standard email messages via PHP. Does anyone know how to
> send SMS messages?
Send them as an email too, most tele companies have the possibility for that
option (atleast here in denmark)
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
TEXT HERE";
$string = strip_tags($string);
--
Henrik Hansen
--
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]
works if EventStartDate is a timestamp (i think)
$strselect = "SELECT EventName FROM table WHERE EventStartDate >
UNIX_TIMESTAMP() LIMIT 5";
if EventStartDate is not a timestamp what is it then?
hope it helps
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To
rlines[0] from every line.
Don't know if it's the most optimal way but it works :)
--
Henrik Hansen
--
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]
gt;
look at http://www.php.net/manual/en/function.ltrim.php
or maybe
http://www.php.net/manual/en/function.trim.php
--
Henrik Hansen
--
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]
101 - 178 of 178 matches
Mail list logo