|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: php-general-digest-help
lists.php.netDate: Sat Jul 28 2001 - 20:39:58 CDT
php-general Digest 29 Jul 2001 01:39:58 -0000 Issue 783
Topics (messages 60038 through 60083):
Re: How to make a cookie never expire in PHP?
60038 by: Jonas Delfs
Session Tracking Problem
60039 by: Khuram Latif
60057 by: Richard Baskett
Re: PHP on win2k/Weblogic?
60040 by: Andrew Brampton
MS Passport type script.
60041 by: Matt Kaufman
60042 by: Jonas Delfs
Re: regarding password in mysql?
60043 by: Andrew Brampton
60044 by: Don Read
60045 by: Negrea Mihai
Re: php date
60046 by: Michael Hall
Re: mkdir
60047 by: Michael Hall
60049 by: mike cullerton
Re: Stripping single quotes
60048 by: Michael Hall
Drop Down Menu
60050 by: Manu Verhaegen
60052 by: Gianluca Baldo
60053 by: Jonas Delfs
60081 by: Michael J. Seely
url to link
60051 by: bill
60059 by: bill
60060 by: Matthias Winkelmann
Question about PHP.net Web site and e-mail lists
60054 by: Greg Brooks
60058 by: Kurt Lieber
search engines
60055 by: Jon Yaggie
Free webspace with PHP&Mysql support
60056 by: Minardi boy
60065 by: Joel
60066 by: Jonas Delfs
60070 by: Owen Rudge
60080 by: hassan el forkani
list all included files
60061 by: Michael Mehlmann
60067 by: Jonas Delfs
60068 by: Jonas Delfs
doing a "task", like a program running forever
60062 by: Augusto Cesar Castoldi
60072 by: Marty Landman
GD library
60063 by: Manu Verhaegen
60064 by: Clayton Dukes
60073 by: Alexander Wagner
Re: crate mysql table command
60069 by: Jeremy Zawodny
60071 by: Jonas Delfs
60075 by: sjs
60078 by: James McLaughlin
weird caching problem
60074 by: Matt Greer
Emailing files
60076 by: Kyle Smith
Oh and addition to "Emailing Files"
60077 by: Kyle Smith
60079 by: B. van Ouwerkerk
Sessions Question
60082 by: Jeff Oien
mail() a list favorite
60083 by: Jon Yaggie
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php-general
lists.php.net
----------------------------------------------------------------------
attached mail follows:
"Joel" <joelagnel
spamex.com> skrev i en meddelelse
news:20010728121025.1692.qmail
pb1.pair.com...
> I can use cookies with PHP but I can't make the cookie last forever.
No - because it can't be done.
> I can set the cookie to expire for upto 1 hour.
> This is the code :
> setcookie("bookmarks","cookievalue",time()+3600);
> That would make the cookie expire after an hour.
Yes.
> How do I make the cookie not expire at all?
You can't. The closest you get to never is x years.
> If I don't mention any expiration time, the cookie expires as soon
> as quit the browser. Can I use date instead of time?
No. Setcookie requires a the time to expire in seconds:
setcookie("bookmarks","cookievalue",time()+3600*24*30*12*10); // This cookie
will expire after 10 years.
-- Mvh./Best Regards Jonas Delfs, http://delfs.dk"Developers are being asked to do more with less, do it faster, and make it fit with the existing systems and databases." - IDC
attached mail follows:
Hi All, I have a problem in session tracking,
After checking User name and password from database, I register a session as
session_register("User_name");
For next page authentication, at the top of every page i check
if ($HTTP_SESSION_VARS["User_name"] != "") { // Display Page Contents } else { echo "Invalid User"; }
$HTTP_SESSION_VARS["User_name"] is returning empty value in most of the location especially at Middle East after even registering the session values.
Please fix the problem.
Regards, khuram latif
attached mail follows:
You need to make sure you do a session_start at the beginning of each page example:
First Page: <? session_name(login); session_start(); session_register("Email"); session_register("Password"); ?> <HTML>
Other Pages: <? session_name(login); session_start(); ?> <HTML>
> Hi All,
> I have a problem in session tracking,
>
> After checking User name and password from database, I register a
> session as
>
> session_register("User_name");
>
> For next page authentication, at the top of every page i check
>
> if ($HTTP_SESSION_VARS["User_name"] != "")
> {
> // Display Page Contents
> }
> else
> {
> echo "Invalid User";
> }
>
> $HTTP_SESSION_VARS["User_name"] is returning empty value in most of the
> location especially at Middle East after even registering the session
> values.
>
> Please fix the problem.
>
> Regards,
> khuram latif
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
attached mail follows:
I think you can use ActivePerl & PHP on that type of webserver. I personally haven't tried installing on there, but ActivePerl has instructions for installing on weblogic, and PHP can run as a exe so hopefully weblogic can do that...
Andrew
----- Original Message -----
From: "Rory O'Connor" <midget
elaris.com>
To: "PHP list" <php-general
lists.php.net>
Sent: Saturday, July 28, 2001 4:33 AM
Subject: [PHP] PHP on win2k/Weblogic?
> I have been using PHP/MySQL to build alot of little utilities (like form
> mailers, contact DBs etc.) for my sites on linux and freebsd, but I just
> got a client requiring a win2k server running WebLogic (for JSP
> purposes). Can I even install PHP in that environment and if so, would
> it conflict with the JSP servlets? I would love to figure out a way to
> leverage the PHP utilities i've built and tested.
>
> If not, would ActiveState Perl be usable in that setup? if I can't use
> PHP, perl would be the next best thing. Worst case scenario is I have
> to bite the bullet and try to figure out JSP and re-build the utilities
> with that.
>
> Thanks!
>
> providing the finest in midget technology
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
How would I go about creating a MS Passport type script for use on several different sites - and only having to let the user login on one main place?
All the sites would be on the same server.
Thanks, Matt Kaufman
attached mail follows:
"Matt Kaufman" <matt
techboost.com> skrev i en meddelelse
news:004b01c11781$96e49f70$0300000a
laptop...
> How would I go about creating a MS Passport type script for > use on several different sites - and only having to let the user > login on one main place?
> All the sites would be on the same server.
You use sessions, and transports the session-id pr. URL or in a cookie where you specifi the domainnames that should be able to access that cookie.
-- Mvh./Best Regards Jonas Delfs, http://delfs.dk"Developers are being asked to do more with less, do it faster, and make it fit with the existing systems and databases." - IDC
attached mail follows:
I was just looking in the help to find out what PASSWORD does... but I can't find it.
But I can offer this advice. You can't decypt the password, so to check if the password entered is valid, you encypt it, and compare the 2 hashed passwords..
Andrew
----- Original Message -----
From: Balaji Ankem
To: php-general
lists.php.net
Sent: Saturday, July 28, 2001 11:35 AM
Subject: [PHP] regarding password in mysql?
Hi dearest friends,
while insertion of an employee number and password i am inserting like
insert into employee values('$empid',PASSWORD('$passwd'));
how to decrypt it while comparision during login.
Thanks in advance
Regards -Balaji
------------------------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
For additional commands, e-mail: php-general-help
lists.php.net
To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
On 28-Jul-2001 Balaji Ankem wrote: > Hi dearest friends, > > while insertion of an employee number and password i am inserting > like > > insert into employee values('$empid',PASSWORD('$passwd')); > > how to decrypt it while comparision during login. >
You don't. "select id from employee where id='$usrid' and passwd=PASSWORD('$usrpass') ";
If you get a record back, the password matched.
Regards,
-- Don Read dreadtexas.net -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.
attached mail follows:
> > Hi dearest friends, > > while insertion of an employee number and password i am inserting > like > > insert into employee values('$empid',PASSWORD('$passwd')); > > how to decrypt it while comparision during login. > > Thanks in advance > > Regards > -Balaji
- you get the password from the user login into $loginpasswd; - you do a "select * from employee where empid = \"$empid\" AND passwd = PASSWORD(\"$loginpassword\")" if the result is empty the login is incorrect
-- Negrea Mihai web: http://negrea.sio.net email: mihainegrea.net phone: +4093612495 ICQ: 102093534
attached mail follows:
Do you mean something like:
$date = date("Y-m-d"); echo $date;
Mick
On Sat, 28 Jul 2001, colin wrote:
> can anyone give me a work around for a PHP date function when used in
> conjunction with a PHP include.
> The code inside the include is printed but I do not know how to echo the
> date as the document has already been parsed once.
> Any help would be appreciated. Please reply to colin
orchiddesign.co.uk
> many thanks
> Colin
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
-- Michael Hall mulga.com.au adminmulga.com.au ph/fax (+61 8) 8953 1442 ABN 94 885 174 814
attached mail follows:
This type of problem usually turns out to be a permissions issue. Can Apache/nobody write to the parent directory?
Mick
On Sat, 28 Jul 2001, Jerry Lake wrote:
> when using mkdir
> I cant seem to make subdirectories
> <?
> $oldumask = umask(0);
> mkdir('test/test', 0777);
> umask($oldumask);
> ?>
>
> is there any way to do this ?
>
> Jerry Lake
> Interface Engineering Technician
> Europa Communications - http://www.europa.com
> Pacifier Online - http://www.pacifier.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
-- Michael Hall mulga.com.au adminmulga.com.au ph/fax (+61 8) 8953 1442 ABN 94 885 174 814
attached mail follows:
On Sat, 28 Jul 2001, Jerry Lake wrote:
> when using mkdir > I cant seem to make subdirectories > <? > $oldumask = umask(0); > mkdir('test/test', 0777); > umask($oldumask); > ?> > > is there any way to do this ?
does the first test directory already exist? you may need to make them in two steps. i believe mkidir has a switch to force it to create any needed directories along the way.
-- mike cullerton
attached mail follows:
I'd have a look at those double equals signs ... I think they should be single: $fldemail = stripslashes($fldemail); $fldemail = ereg_replace("'","",$fldemail);
Mick
On Sat, 28 Jul 2001, Matt Stone wrote:
> Darn, it still 'aint working. Ok, let's say $fldemail contains
> "o\'brian
hotmail.com"
> I then run these:
> $fldemail == stripslashes($fldemail);
> $fldemail == ereg_replace("'","",$fldemail);
> And I get "o\'brian
hotmail.com" ... damn.
>
> Any ideas? Thanks,
>
> Matt Stone
>
> -----Original Message-----
> From: Chris Fry [mailto:chris
quillsoft.com.au]
> Sent: Saturday, 28 July 2001 2:15 PM
> To: Matt Stone
> Cc: PHP list
> Subject: Re: [PHP] Stripping single quotes
>
>
> Matt,
>
> Try ereg_replace:-
>
> $fldemail == ereg_replace("'","",$fldemail);
>
> Chris
>
>
> Matt Stone wrote:
>
> > Hi all,
> > I am trying to validate some email addresses before they are entered into
> > the database.
> > The problem is, some thick or malicious people are entering single quotes
> > into their email addresses.
> > I need to strip out all these single quotes but a little ole' str_replace
> > doesn't seem to be working.
> > Here it is:
> >
> > $fldemail == str_replace("'","",$fldemail);
> >
> > Nice and basic :)
> > Can anyone please enlighten me on this?
> > Thanks in advance,
> >
> > Matt Stone
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> > For additional commands, e-mail: php-general-help
lists.php.net
> > To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
> --
>
> Chris Fry
> Quillsoft Pty Ltd
> Specialists in Secure Internet Services and E-Commerce Solutions
> 10 Gray Street
> Kogarah
> NSW 2217
> Australia
>
> Phone: +61 2 9553 1691
> Fax: +61 2 9553 1692
> Mobile: 0419 414 323
> eMail: chris
quillsoft.com.au
> http://www.quillsoft.com.au
>
> You can download our Public CA Certificate from:-
> https://ca.secureanywhere.com/htdocs/cacert.crt
>
> **********************************************************************
>
> This information contains confidential information intended only for
> the use of the authorised recipient. If you are not an authorised
> recipient of this e-mail, please contact Quillsoft Pty Ltd by return
> e-mail.
> In this case, you should not read, print, re-transmit, store or act
> in reliance on this e-mail or any attachments, and should destroy all
> copies of them.
> This e-mail and any attachments may also contain copyright material
> belonging to Quillsoft Pty Ltd.
> The views expressed in this e-mail or attachments are the views of
> the author and not the views of Quillsoft Pty Ltd.
> You should only deal with the material contained in this e-mail if
> you are authorised to do so.
>
> This notice should not be removed.
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
-- Michael Hall mulga.com.au adminmulga.com.au ph/fax (+61 8) 8953 1442 ABN 94 885 174 814
attached mail follows:
I have the following question : if i make a selection in the drop down menu and click on submit button then the color will send to form2.php I want not click on the submit button i make a selection in the drop down menu then the color will send automatic to form2.php, how can I do this
<form method="POST" action="form2.php"> <td><select size="1" name="color"> <option>blue</option> <option>licht</option> <option>red</option> <option>yellow</option> </select></td> <input type="submit" value="Next" name="Go"> </form>
attached mail follows:
It's a javascript issue.
<form NAME=myform method="POST" action="form2.php"> <td><select size="1" onChange="document.myform.submit()" name="color"> <option>blue</option> <option>licht</option> <option>red</option> <option>yellow</option> </select></td> <input type="submit" value="Next" name="Go"> </form>
Cheers, Gianluca
MV> I have the following question : if i make a selection in the drop down menu MV> and click on submit button then the color will send to form2.php MV> I want not click on the submit button MV> i make a selection in the drop down menu then the color will send automatic MV> to form2.php, how can I do this
MV> <form method="POST" action="form2.php"> MV> <td><select size="1" name="color"> MV> <option>blue</option> MV> <option>licht</option> MV> <option>red</option> MV> <option>yellow</option> MV> </select></td> MV> <input type="submit" value="Next" name="Go"> MV> </form>
-- ALBASOFTWARE C/ Mallorca 186 - 3º 1ª 08036 Barcelona (Spain) Tel. +34 93454009 - +34 934549324 Fax. +34 934541979ICQ 47323154
webmaster
albasoftware.com http://www.albasoftware.com http://www.phpauction.org http://www.gianlucabaldo.com
attached mail follows:
"Manu Verhaegen" <m.verhaegen
compuver.be> skrev i en meddelelse
news:E10E651CDD2DD51189120000E8E8C70F53D0
COMPUVER01...
> I have the following question : if i make a selection in the drop down menu > and click on submit button then the color will send to form2.php > I want not click on the submit button > i make a selection in the drop down menu then the color will send automatic > to form2.php, how can I do this
PHP is serverside - and this is why you can't du it in PHP. Try asking in a javascript-group.
-- Mvh./Best Regards Jonas Delfs, http://delfs.dk"Developers are being asked to do more with less, do it faster, and make it fit with the existing systems and databases." - IDC
attached mail follows:
You need to do something like this: With a little PHP work you can make the menu content and url links data driven.
<HTML> <HEAD> <TITLE>Page Title</TITLE>
<SCRIPT LANGUAGE = "JavaScript"><!--- //hide script from old browsers function MakeArray() { this.length = MakeArray.arguments.length for (var i = 0; i< this.length; i++) this[i+1] = MakeArray.arguments[i] }
var url = new MakeArray("pg0.htm", "pg1.htm", "pg2.htm", "pg3.htm");
function jumpPage(form) { i = form.SelectMenu.selectedIndex; if (i == 0) return; window.location.href = url[i+1]; } //end hiding contents ---> </SCRIPT> </HEAD>
<BODY BGCOLOR=WHITE>
<TABLE BGCOLOR="#D0D0D0" BORDER=0 CELLSPACING=0 CELLPADDING=5 BORDERCOLOR=WHITE WIDTH=100%> <TR><TD>
<FORM ACTION="" METHOD=POST>
<TABLE BORDER=0> <TR><TD><FONT FACE="Verdana, Arial, Helvetica, San-Serif" SIZE="+1"> <B>  Menu Options   </B></FONT></TD></TR></TABLE> <FONT FACE="Verdana, Arial, Helvetica, San-Serif" ><B> <A HREF="pg0.htm">Back</A>     <SELECT NAME=SelectMenu onchange="jumpPage(this.form)"> <OPTION SELECTED>Select Section           <OPTION>Page 1 <OPTION>Page 2 <OPTION>Page 3 </SELECT> </FORM>
</TD><TD ALIGN=RIGHT VALIGN=TOP> <FONT SIZE=-2 FACE=Sans-serif>2/1/2001</FONT></TD></TR></TABLE> </BODY> </HTML>
>I have the following question : if i make a selection in the drop down menu
>and click on submit button then the color will send to form2.php
>I want not click on the submit button
>i make a selection in the drop down menu then the color will send automatic
>to form2.php, how can I do this
>
>
><form method="POST" action="form2.php">
> <td><select size="1" name="color">
> <option>blue</option>
> <option>licht</option>
> <option>red</option>
> <option>yellow</option>
> </select></td>
><input type="submit" value="Next" name="Go">
></form>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
>For additional commands, e-mail: php-general-help
lists.php.net
>To contact the list administrators, e-mail: php-list-admin
lists.php.net
--_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Michael Seely 408-777-9949
attached mail follows:
I thought my regexps were up to snuff until they processed this url:
mm.html">http://www.symantec.com/avcenter/venc/data/w32.sircam.worm
mm.html
Anybody have a regexp that can parse for both http & mailto links and turn that into an http link -without- turning it also into a mailto link?
attached mail follows:
Bill wrote:
> I thought my regexps were up to snuff until they processed this url:
>
> mm.html">http://www.symantec.com/avcenter/venc/data/w32.sircam.worm
mm.html
>
> Anybody have a regexp that can parse for both http & mailto links and
> turn that into an http link -without- turning it also into a mailto
> link?
Thought you might like to see what I'm using now. The below doesn't work for the above url.
//turn urls into links $text = eregi_replace("(http://[^ ]*)","<a href=\"\\1\">\\1</a>",$text);
//turn e-mail into mailto links
$text = eregi_replace("([
]+)([[:alnum:]\.\-]+\
[[:alnum:]\-]+\.[\.[:alnum:]]+)([^\.[:alnum:]])","\\1<a
href=\"mailto:\\2\">\\2</A>\\3", $text);
I'm open to ideas.
kind regards,
bill
attached mail follows:
This uses just one expression (and that is a fast preg_ insteat of ereg) for both, mailto: and http: links (and news:, too):
$text = preg_replace('#(^|[^\"=]{1})(http://|ftp://|mailto:|news:)([^\s<>]+)([\s\n<> ]|$)#sm',"\\1<a href=\\\"\\2\\3\\\" target=\\\"blank\\\"><u>\\2\\3</u></a>\\4",$text);
ciao,
matt
-- s o m e o n GmbH Community Software & ServiceElberfelder Str. 8 Tel. +49 (0)2104 171337 40822 Mettmann Fax +49 (0)2104 171 339 Germany
winkelmann
someon.com http://someon.com
attached mail follows:
Hello all... PHP newbie here looking for advice.
I'd like to set up a page with virtually identical functionality to the PHP.net's list sign-up page. I'm assuming qmail/ezmlm, and may want to also add checkboxes that allow users to choose between HTML and ASCII delivery.
Can someone tell me who maintains that page for php.net? I'm assuming that starting with their .php page is going to save me a lot of work.
Thanks, Greg Brooks
attached mail follows:
You do know that you can see the source of any page on PHP.net's site, right? Just click on the "show source" link in the bottom navigation bar on any page. For instance, the source to the page you mention is at:
http://www.php.net/source.php?url=/support.php
hth
--kurt
> -----Original Message-----
> From: Greg Brooks [mailto:gbrooks
blue-mouse.com]
> Sent: Saturday, July 28, 2001 8:58 AM
> To: php-general
lists.php.net
> Subject: [PHP] Question about PHP.net Web site and e-mail lists
>
>
> Hello all... PHP newbie here looking for advice.
>
> I'd like to set up a page with virtually identical
> functionality to the PHP.net's list sign-up page. I'm
> assuming qmail/ezmlm, and may want to also add checkboxes
> that allow users to choose between HTML and ASCII delivery.
>
> Can someone tell me who maintains that page for php.net? I'm
> assuming that starting with their .php page is going to save
> me a lot of work.
>
> Thanks,
> Greg Brooks
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail:
> php-general-help
lists.php.net To contact the list
> administrators, e-mail: php-list-admin
lists.php.net
>
>
attached mail follows:
it is common now that search engines use xml respondses to affiliate requests for information. this is fine in that i can process the xml. my concern is the sending and recieving of data. how is is done? the current project i have to parse a gigantic url with xml in it and send this. but 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 code 101 little bugs in the code . . .' And it continued until they reached 0
attached mail follows:
Is there any reliable provider who offers free webspace with php and Mysql support? Cheers RJ
attached mail follows:
http://www.portland.co.uk/ They provide free PHP and MySQL although their forums are the only options for quick support
-- Joel Agnel.-------- Sign up for our Free Weekly Newsletter that delivers Cool Sites directly to you by e-mail. You'll have Fun! Click Here : http://www.siteskool.com/sites/ --------
"Minardi Boy" <minardi
aon.at> wrote in message news:20010728160655.86988.qmail
pb1.pair.com... > Is there any reliable provider who offers free webspace with php and Mysql > support? > Cheers > RJ > >
attached mail follows:
"Minardi Boy" <minardi
aon.at> skrev i en meddelelse
news:20010728160655.86988.qmail
pb1.pair.com...
> Is there any reliable provider who offers free webspace with php and Mysql > support?
In my opinion no reliable exists. You get what you pay for. If you pay a lot, you get a lot. If you pay nothing, you get nothing.
-- Mvh./Best Regards Jonas Delfs, http://delfs.dk"Developers are being asked to do more with less, do it faster, and make it fit with the existing systems and databases." - IDC
attached mail follows:
> Is there any reliable provider who offers free webspace with php and Mysql > support?
If you're in the UK and don't mind using their ISP for at least an hour a month, UKLinux (www.uklinux.net) is a great provider.
-- Owen Rudge http://www.owenrudge.co.uk/ http://www.gamearchive.uk.tt/
attached mail follows:
yes: http://www.f2s.com regards
28/07/01 18:05:45, "Minardi boy" <minardi
aon.at> wrote:
>Is there any reliable provider who offers free webspace with php and Mysql
>support?
>Cheers
>RJ
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
>For additional commands, e-mail: php-general-help
lists.php.net
>To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
>
>
>
attached mail follows:
Hi!
this is half OT :-[ I want to list all files, that are included in my script with include() or require().
I am convinced I can do this in Linux with some command, that listes all files, that have been accessed the last xxx hours or minutes or seconds ... (and this would be exactly what I need!)
thanks Michi
-- GMXler aufgepasst - jetzt viele 1&1 New WebHosting Pakete ohne Einrichtungsgebuehr + 1 Monat Grundgebuehrbefreiung! http://puretec.de/index.html?ac=OM.PU.PU003K00717T0492a
attached mail follows:
"Michael Mehlmann" <mailing_list
gmx.at> skrev i en meddelelse
news:26972.996337727
www14.gmx.net...
> I want to list all files, that are included in my script with include() or > require().
get_reqiured_files() and get_included_files() ?
-- Mvh./Best Regards Jonas Delfs, http://delfs.dk"Developers are being asked to do more with less, do it faster, and make it fit with the existing systems and databases." - IDC
attached mail follows:
"Jonas Delfs" <jonas
nospam.delfs.dk> skrev i en meddelelse
news:20010728174934.29719.qmail
pb1.pair.com...
> > I want to list all files, that are included in my script with include() or > > require(). > > get_reqiured_files() and get_included_files() ?
I forgot to mention that you only need get_included_files() if you're running php4.0.4+
-- Mvh./Best Regards Jonas Delfs, http://delfs.dk"Developers are being asked to do more with less, do it faster, and make it fit with the existing systems and databases." - IDC
attached mail follows:
Hi.
I'm heard about a php function that works with apache and It can be run fovrever.... an example:
I want that each hour my script gets the weather of a site (like yahoo) and write to a txt file.
how can I do that?
thanks.
Augusto
attached mail follows:
At 01:31 pm 7/28/01 -0300, Augusto Cesar Castoldi wrote:
>I want that each hour my script gets the weather of a site (like yahoo) >and write to a txt file.
Hi Augusto.
first write the script to accomplish this function. If you're on a Unix type server you can then use the crontab function to have the program run once an hour. You could have the output from that program go to a file.
Then for the webpage that serves up that data you can read the contents of the file the hourly program has created. BTW, you should make sure you're doing this in a way that Yahoo (for example) finds acceptable usage, e.g. by contacting them first for permission to post their data to your site.
Marty
Face 2 Interface Web Solutions Website Creation Made SIMPL(tm) http://face2interface.com/Demo
attached mail follows:
I want to install the GD library for PHP I seek libpng and zlib and jpeg-6b can you help me
Greetings, Manu Verhaegen
attached mail follows:
www.boutell.com
----- Original Message -----
From: "Manu Verhaegen" <m.verhaegen
compuver.be>
To: "'Php-General (E-mail)" <php-general
lists.php.net>
Sent: Saturday, July 28, 2001 12:51 PM
Subject: [PHP] GD library
> I want to install the GD library for PHP
> I seek libpng and zlib and jpeg-6b can you help me
>
> Greetings,
> Manu Verhaegen
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe
lists.php.net
> For additional commands, e-mail: php-general-help
lists.php.net
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Manu Verhaegen wrote: > I want to install the GD library for PHP > I seek libpng and zlib and jpeg-6b can you help me
For what OS?
regards Wagner
-- "Isn't it strange? The same people who laugh at gypsy fortune tellers take economists seriously." - Cincinnati Enquirer
attached mail follows:
On Mon, Jul 23, 2001 at 10:46:49PM +0800, Mark Lo wrote: > > I would like to know the syntax to create mysql table using php. > Please help, I have searched the php manual, but couldn't find any > helpful hint.
PHP doesn't care which database you use, so you won't find it there. It's a programming language---that's all. Try the MySQL manual and you'll find it:
Jeremy
-- Jeremy D. Zawodny, <jzawodnyahoo-inc.com> Technical Yahoo - Yahoo Finance Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 <-- NEW
MySQL 3.23.29: up 42 days, processed 330,959,976 queries (90/sec. avg)
attached mail follows:
"Jeremy Zawodny" <jzawodn
yahoo-inc.com> skrev i en meddelelse
news:20010728105701.C89596
yahoo-inc.com...
> > I would like to know the syntax to create mysql table using php. > > Please help, I have searched the php manual, but couldn't find any > > helpful hint. > > PHP doesn't care which database you use, so you won't find it there. > It's a programming language---that's all.
Actually, it's a scripting language - but you made your point. :)
-- Mvh./Best Regards Jonas Delfs, http://delfs.dk"Developers are being asked to do more with less, do it faster, and make it fit with the existing systems and databases." - IDC
attached mail follows:
Hi
I am a newbie and have been using a book about PHP and mySQL. The book is
PHP Essentials by Julie C Meloni. It walks you through it all.
Hope that helps
Susan
----- Original Message -----
From: "Jeremy Zawodny" <jzawodn
yahoo-inc.com>
To: "Mark Lo" <mark
3dsources.com>
Cc: "php general" <php-general
lists.php.net>; <mysql
lists.mysql.com>
Sent: Saturday, July 28, 2001 11:57 AM
Subject: Re: crate mysql table command
> On Mon, Jul 23, 2001 at 10:46:49PM +0800, Mark Lo wrote:
> >
> > I would like to know the syntax to create mysql table using php.
> > Please help, I have searched the php manual, but couldn't find any
> > helpful hint.
>
> PHP doesn't care which database you use, so you won't find it there.
> It's a programming language---that's all. Try the MySQL manual and
> you'll find it:
>
> http://www.mysql.com/doc/
>
> Jeremy
> --
> Jeremy D. Zawodny, <jzawodn
yahoo-inc.com>
> Technical Yahoo - Yahoo Finance
> Desk: (408) 349-7878 Fax: (408) 349-5454 Cell: (408) 685-5936 <-- NEW
>
> MySQL 3.23.29: up 42 days, processed 330,959,976 queries (90/sec. avg)
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <mysql-thread80947
lists.mysql.com>
> To unsubscribe, e-mail
<mysql-unsubscribe-polishsheepdog=home.com
lists.mysql.com>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
attached mail follows:
> I am a newbie and have been using a book about PHP and mySQL. The book is > PHP Essentials by Julie C Meloni. It walks you through it all. > Hope that helps > Susan
You can visit her website also at www.thickbook.com All of the code, and chapters for both of her books are there.
Enjoy, and tell her thanks.
Kat
attached mail follows:
I'm calling an image through a php file, but when I make changes to the image, I can't get them to show. For some reason the old image is getting cached somewhere, and none of the standard remedies are working (refreshing, deleting cache, etc). What does work is changing the value of $icon and then reflecting that change in my code. But that's not ideal for what I'm doing. Any ideas?
Here's how I'm calling the image in php:
<?php //image.php
{ // some mysql stuff }
if ($icon == 'a') header("Location: http://www.rcnchicago.com/~tortus/goombaw.gif"); else header("Location: http://www.rcnchicago.com/~tortus/goombab.gif");
?>
Thanks,
Matt
attached mail follows:
Ok i know this is a reheheheally simple question but can someone please send me the code for an upload file box which can only have gifs and jpgs uploaded so i may add it to a fanart section for my site
-legokiller666- http://www.StupeedStudios.f2s.com New address.... new site
ICQ: 115852509
MSN: dbzno1fan
hotmail.com
AIM: legokiller666
attached mail follows:
Also how do i make it so that when it sends the email the picture is an attatchment?
-legokiller666- http://www.StupeedStudios.f2s.com New address.... new site
ICQ: 115852509
MSN: dbzno1fan
hotmail.com
AIM: legokiller666
attached mail follows:
At 22:15 28-7-01 -0700, Kyle Smith wrote: >Also how do i make it so that when it sends the email the picture is an >attatchment?
I just don't get it anymore. First you ask about uploading files and now about sending files as attachment?? And this second (this) mail is supposed to make something clear??
Please explain what you want to do. Upload or send them via e-mail.. You subject is emailing files..
Browsing a few PHP helpsites should make everything more clear. Both subject can be found on that kind of website..
Bye,
B.
attached mail follows:
Hope I can explain this. I want to have scripts that will automatically refresh a page entered by the user. So a form will have URL to refresh, seconds to refresh and title of page. I want the page to continually refresh every X seconds.
I think I would need two pages that go back and forth between each other. Here is what I have for the first script/page after the form. I don't know what to do after this on the second page in order to pass the variables on to it.
Thanks for any help. Jeff Oien
-----------------------------
<? session_start(); session_register("$refresh"); session_register("$seconds"); session_register("$title"); if (!$refresh || !$seconds) { echo "Please choose a URL to Refresh and Seconds to Refresh."; } print "<html> <head> <meta http-equiv=\"refresh\" content=\"$seconds;url=refresh1.php\"> <title>$title</title> </head> <frameset cols=\"100%\" rows=\"100%\"> <frame name=\"Frame 1\" src=\"$refresh\" scrolling=\"auto\"> <noframes> If you can see this message you are using a browser that is incapable of displaying frames.</noframes> </frameset> </html>;" ?>
attached mail follows:
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-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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]