|
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 Apr 27 2002 - 08:25:00 CDT
php-general Digest 27 Apr 2002 13:25:00 -0000 Issue 1311
Topics (messages 94846 through 94891):
Re: Opening manual - .bz2
94846 by: John Holmes
Re: good php editor for the mac
94847 by: Miguel Cruz
Re: Variables not working
94848 by: Nathan
94850 by: baldey_uk
94851 by: baldey_uk
94852 by: Mike
94853 by: Philip Olson
94854 by: Rasmus Lerdorf
Re: BBS system
94849 by: Jeff Lewis
Redirecting
94855 by: Liam MacKenzie
94856 by: Julio Nobrega
94857 by: Richard Emery
94860 by: Jason Wong
94863 by: The_RadiX
94868 by: Jason Wong
94873 by: Liam MacKenzie
PHP Team: PHP 4.2.0 & SSL Support?
94858 by: [-^-!-%-
94859 by: Rasmus Lerdorf
mail() through a form
94861 by: Jennifer Downey
94862 by: Rasmus Lerdorf
Apache: SERVER_NAME gone?
94864 by: The_RadiX
94867 by: Jason Wong
date format
94865 by: Ananth Rajaraman
94866 by: Jason Wong
94870 by: George Nicolae
94871 by: Miguel Cruz
Another silly email
94869 by: baldey_uk
94872 by: Miguel Cruz
POST/GET is not working for PHP 4.2.0 on W2K Advanced Server
94874 by: JaseyX
1. ImageTTFBox not working and 2. System command
94875 by: Remek
Re: PHPlib sessions without a DB?
94876 by: Richard Archer
94891 by: Maxim Derkachev
reg-ex please
94877 by: John Fishworld
94881 by: Red Wingate
94882 by: Red Wingate
94885 by: John Fishworld
94886 by: Red Wingate
PHP is making errors for no apparents reason..?
94878 by: newton
94884 by: Jason Wong
94888 by: michael kimsal
Failed to compiled w/ T1lib
94879 by: Victor Boivie
CAllin PHP Gurus-FREE WEBHOSTING
94880 by: r
FreeMovie/PHP mailing lists
94883 by: Jacek Artymiak
current date query
94887 by: Thomas Goeminne
Directory System Splitter
94889 by: Randum Ian
94890 by: Jason Wong
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:
Read the download page, it tells you what you need to open it.
Also, you're the one with the username 'r'. Now whenever I write a
message, every single 'r' in it is underlined with a #$%
#$%
"Smart
Tag"... :) That's annoying.
---John Holmes...
> -----Original Message-----
> From: r [mailto:r
jumac.com]
> Sent: Saturday, April 27, 2002 3:17 AM
> To: php-general
lists.php.net
> Subject: [PHP] Opening manual - .bz2
>
> Greetings all,
> Special greetings to:
> one brainy dude -> Steve, and a REALLLY persistive dude->Michael
> Vernstein,Nathan,Uchendu,John Holmes for all help.
>
> This list really has some do gooders who take the time to help
> others.Thanks
> again guys.
>
> Anyway, This is my problem which will be no big deal to anybody who
has
> read
> the manual.....
>
> I dont know how to open the .bz2 file which i downloaded from php.net
> It does not open with winzip or the tar/rar programs...how do i open
it?
>
> If i have done something wrong and IT DOES open with one of the above
> programs kindly tell me what if now
> would appreciate it if you would write the program name and EXACTLY
how to
> use it, like in baby steps......
>
> Thanks a lot guys, any help appreciated.
> Cheers,
> -Ryan
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
On Fri, 26 Apr 2002, Tom Beidler wrote:
> BBedit it is. I've been holding off on switching for awhile but I just
> started using it today and I'm already kicking myself for not switching
> earlier. There was no problem/learning curve that I was afraid of and I've
> found a number of improvements over the workflow from Dreamweaver. Thanks
> for all the input to all that replied.
BBEdit is the sweetest thing going. You won't regret it.
If you're using OSX, you can invoke it from the command line, and it's
quite scriptable. You can use the same regular expressions in its
search-and-replace that you use in PHP's ereg family of functions, saving
precious brain cells. It's a beautiful junction between the Mackey and
Unixey halves of the machine.
miguel
attached mail follows:
Before you get carried away with registering globals, try echoing:
$_SERVER["HTTP_USER_AGENT"];
Or, for versions prior to 4.1.X, change that to:
$HTTP_SERVER_VARS["HTTP_USER_AGENT"];
Registering globals is insecure unless you are VERY careful about how every variable you have is
defined...
Cheers,
# Nathan
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus
lerdorf.ca>
To: "baldey_uk" <>
Cc: <>
Sent: Friday, April 26, 2002 6:41 PM
Subject: Re: [PHP] Variables not working
Turn on register_globals in your php.ini file.
On Sat, 27 Apr 2002, baldey_uk wrote:
> Hello all, im not sure if its my installation or if on doing something wrong
> but i cant seem to use any of the variables from forms that i PUT to. Or any
> full stop! even
>
> <?php echo $HTTP_USER_AGENT; ?>
>
> doesnt out put anything. Anyone seen this before?
> thanks in advance for your help
>
>
> Cheers From
>
> baldey_uk
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
Um ok i can understand that this can be unsecure, how do i pass html variables to php witout the use of globals?
Cheers baldey_uk
-----Original Message-----
From: Nathan [mailto:etherwolf
sopris.net]
Sent: 27 April 2002 02:34
To: Rasmus Lerdorf; php-general
lists.php.net; baldey_uk
SoftHome.net
Subject: Re: [PHP] Variables not working
Before you get carried away with registering globals, try echoing: $_SERVER["HTTP_USER_AGENT"];
Or, for versions prior to 4.1.X, change that to: $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
Registering globals is insecure unless you are VERY careful about how every variable you have is defined...
Cheers,
# Nathan
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus
lerdorf.ca>
To: "baldey_uk" <>
Cc: <>
Sent: Friday, April 26, 2002 6:41 PM
Subject: Re: [PHP] Variables not working
Turn on register_globals in your php.ini file.
On Sat, 27 Apr 2002, baldey_uk wrote:
> Hello all, im not sure if its my installation or if on doing something wrong > but i cant seem to use any of the variables from forms that i PUT to. Or any > full stop! even > > <?php echo $HTTP_USER_AGENT; ?> > > doesnt out put anything. Anyone seen this before? > thanks in advance for your help > > > Cheers From > > baldey_uk > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
Sorry let me rephrase that ' can anyone point me to good docs about passing variables between html and php' please?
Cheers
baldey_uk
-----Original Message-----
From: Nathan [mailto:etherwolf
sopris.net]
Sent: 27 April 2002 02:34
To: Rasmus Lerdorf; php-general
lists.php.net; baldey_uk
SoftHome.net
Subject: Re: [PHP] Variables not working
Before you get carried away with registering globals, try echoing: $_SERVER["HTTP_USER_AGENT"];
Or, for versions prior to 4.1.X, change that to: $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
Registering globals is insecure unless you are VERY careful about how every variable you have is defined...
Cheers,
# Nathan
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus
lerdorf.ca>
To: "baldey_uk" <>
Cc: <>
Sent: Friday, April 26, 2002 6:41 PM
Subject: Re: [PHP] Variables not working
Turn on register_globals in your php.ini file.
On Sat, 27 Apr 2002, baldey_uk wrote:
> Hello all, im not sure if its my installation or if on doing something wrong > but i cant seem to use any of the variables from forms that i PUT to. Or any > full stop! even > > <?php echo $HTTP_USER_AGENT; ?> > > doesnt out put anything. Anyone seen this before? > thanks in advance for your help > > > Cheers From > > baldey_uk > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
I do a link to http://blah.com/do.php?varbiable=passed
I'm not sure of any docs though, sorry.
Mike
----- Original Message -----
From: "baldey_uk" <baldey_uk
SoftHome.net>
To: "Nathan" <etherwolf
sopris.net>; "Rasmus Lerdorf" <rasmus
lerdorf.ca>;
<php-general
lists.php.net>
Sent: Friday, April 26, 2002 10:29 PM
Subject: RE: [PHP] Variables not working
> Sorry let me rephrase that ' can anyone point me to good docs about
passing
> variables between html and php' please?
>
> Cheers
>
> baldey_uk
>
> -----Original Message-----
> From: Nathan [mailto:etherwolf
sopris.net]
> Sent: 27 April 2002 02:34
> To: Rasmus Lerdorf; php-general
lists.php.net; baldey_uk
SoftHome.net
> Subject: Re: [PHP] Variables not working
>
>
> Before you get carried away with registering globals, try echoing:
> $_SERVER["HTTP_USER_AGENT"];
>
> Or, for versions prior to 4.1.X, change that to:
> $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
>
> Registering globals is insecure unless you are VERY careful about how
every
> variable you have is
> defined...
>
> Cheers,
>
> # Nathan
>
> ----- Original Message -----
> From: "Rasmus Lerdorf" <rasmus
lerdorf.ca>
> To: "baldey_uk" <>
> Cc: <>
> Sent: Friday, April 26, 2002 6:41 PM
> Subject: Re: [PHP] Variables not working
>
>
> Turn on register_globals in your php.ini file.
>
> On Sat, 27 Apr 2002, baldey_uk wrote:
>
> > Hello all, im not sure if its my installation or if on doing something
> wrong
> > but i cant seem to use any of the variables from forms that i PUT to. Or
> any
> > full stop! even
> >
> > <?php echo $HTTP_USER_AGENT; ?>
> >
> > doesnt out put anything. Anyone seen this before?
> > thanks in advance for your help
> >
> >
> > Cheers From
> >
> > baldey_uk
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
attached mail follows:
Read these:
Variables from outside PHP: http://uk.php.net/manual/en/language.variables.external.php
It gives an example using $HTTP_POST_VARS. This is but one predefined variable, others can be read about here:
Predefined Variables: http://ca.php.net/manual/en/language.variables.predefined.php
Also consider extract and import_request_variables, I posted a bit about them awhile back here:
http://marc.theaimsgroup.com/?l=php-general&m=101803683730027
And when in doubt, send your script to a call of phpinfo() and it'll provide a ton of useful information.
Regards, Philip Olson
p.s. the above links contain links, see those too :)
On Sat, 27 Apr 2002, baldey_uk wrote:
> Sorry let me rephrase that ' can anyone point me to good docs about passing
> variables between html and php' please?
>
> Cheers
>
> baldey_uk
>
> -----Original Message-----
> From: Nathan [mailto:etherwolf
sopris.net]
> Sent: 27 April 2002 02:34
> To: Rasmus Lerdorf; php-general
lists.php.net; baldey_uk
SoftHome.net
> Subject: Re: [PHP] Variables not working
>
>
> Before you get carried away with registering globals, try echoing:
> $_SERVER["HTTP_USER_AGENT"];
>
> Or, for versions prior to 4.1.X, change that to:
> $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
>
> Registering globals is insecure unless you are VERY careful about how every
> variable you have is
> defined...
>
> Cheers,
>
> # Nathan
>
> ----- Original Message -----
> From: "Rasmus Lerdorf" <rasmus
lerdorf.ca>
> To: "baldey_uk" <>
> Cc: <>
> Sent: Friday, April 26, 2002 6:41 PM
> Subject: Re: [PHP] Variables not working
>
>
> Turn on register_globals in your php.ini file.
>
> On Sat, 27 Apr 2002, baldey_uk wrote:
>
> > Hello all, im not sure if its my installation or if on doing something
> wrong
> > but i cant seem to use any of the variables from forms that i PUT to. Or
> any
> > full stop! even
> >
> > <?php echo $HTTP_USER_AGENT; ?>
> >
> > doesnt out put anything. Anyone seen this before?
> > thanks in advance for your help
> >
> >
> > Cheers From
> >
> > baldey_uk
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
attached mail follows:
http://www.php.net/manual/en/security.registerglobals.php
On Sat, 27 Apr 2002, baldey_uk wrote:
> Sorry let me rephrase that ' can anyone point me to good docs about passing
> variables between html and php' please?
>
> Cheers
>
> baldey_uk
>
> -----Original Message-----
> From: Nathan [mailto:etherwolf
sopris.net]
> Sent: 27 April 2002 02:34
> To: Rasmus Lerdorf; php-general
lists.php.net; baldey_uk
SoftHome.net
> Subject: Re: [PHP] Variables not working
>
>
> Before you get carried away with registering globals, try echoing:
> $_SERVER["HTTP_USER_AGENT"];
>
> Or, for versions prior to 4.1.X, change that to:
> $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
>
> Registering globals is insecure unless you are VERY careful about how every
> variable you have is
> defined...
>
> Cheers,
>
> # Nathan
>
> ----- Original Message -----
> From: "Rasmus Lerdorf" <rasmus
lerdorf.ca>
> To: "baldey_uk" <>
> Cc: <>
> Sent: Friday, April 26, 2002 6:41 PM
> Subject: Re: [PHP] Variables not working
>
>
> Turn on register_globals in your php.ini file.
>
> On Sat, 27 Apr 2002, baldey_uk wrote:
>
> > Hello all, im not sure if its my installation or if on doing something
> wrong
> > but i cant seem to use any of the variables from forms that i PUT to. Or
> any
> > full stop! even
> >
> > <?php echo $HTTP_USER_AGENT; ?>
> >
> > doesnt out put anything. Anyone seen this before?
> > thanks in advance for your help
> >
> >
> > Cheers From
> >
> > baldey_uk
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
attached mail follows:
Try YaBB SE http://www.yabb.info
----- Original Message -----
From: "r" <r
jumac.com>
To: <php-general
lists.php.net>
Sent: Saturday, April 27, 2002 7:21 AM
Subject: [PHP] BBS system
> Hey all, > > Just a small q, > does anybody know of any particular good BBS system that is free? (I aint > rich :-( ) Been to hotscripts.com can you recomend any? > > (Actually if i were rich I would not care a damn for > PHP-MySql-Apache-Java-ASP-JSP.... hell, i wouldnt even touch a computer, > would be happy being computer illiterate, would have been partying with a > lot of babes instead.......hehhehe maybe thats why i aint rich...have too > wicked a mind....? ) > > Ohh well.... > Cheers, > -Ryan. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > >
attached mail follows:
Hey all,
Just curious as to what the best way is to move someone off your site, apart from bringing up a picture of male pornography...
Seriously, I've tried using header("Location: http://www.php.net/"); but it returns an error saying that the headers are already set.
The situation I'm in is as follows:
Need to send a user to http://www.examplesite.com/ from a PHP script in http://forums.examplesite.com/
Thanks for the help
attached mail follows:
Send head()ers before any html output (including spaces or newlines before <?php)
-- Julio Nobrega.Tô chegando: http://www.inerciasensorial.com.br "Liam Mackenzie" <phplist
operationenigma.com> wrote in message news:006801c1ed9e$1fddf4a0$0400a8c0
enigma... > Hey all, > > Just curious as to what the best way is to move someone off your site, apart > from bringing up a picture of male pornography... > > Seriously, I've tried using > header("Location: http://www.php.net/"); > but it returns an error saying that the headers are already set. > > The situation I'm in is as follows: > > Need to send a user to http://www.examplesite.com/ from a PHP script in > http://forums.examplesite.com/ > > > Thanks for the help > > > > >
attached mail follows:
Since you haven't posted your code, let me see if I can divine it...
Nope...can't do it...my MindReader.exe vers 1.01 is on the blink.
POST YOUR CODE!!!!
----- Original Message -----
From: Liam MacKenzie <phplist
operationenigma.com>
To: PHP <php-general
lists.php.net>
Sent: Friday, April 26, 2002 10:46 PM
Subject: [PHP] Redirecting
Hey all,
Just curious as to what the best way is to move someone off your site, apart from bringing up a picture of male pornography...
Seriously, I've tried using header("Location: http://www.php.net/"); but it returns an error saying that the headers are already set.
The situation I'm in is as follows:
Need to send a user to http://www.examplesite.com/ from a PHP script in http://forums.examplesite.com/
Thanks for the help
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
On Saturday 27 April 2002 12:00, Julio Nobrega wrote: > Send head()ers before any html output (including spaces or newlines > before <?php)
IOW RTFM!
-- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* Love tells us many things that are not so. -- Krainian Proverb */
attached mail follows:
IOW ??
what's this abbrev?
thx..
:::::::::::::::::::::::::::::::::::::::::::
: Julien Bonastre [The-Spectrum.org CEO]
: A.K.A. The_RadiX
: the_radix
hotkey.net.au
: ABN: 64 235 749 494
: QUT Student :: 04475739
:::::::::::::::::::::::::::::::::::::::::::
----- Original Message -----
From: "Jason Wong" <php-general
gremlins.com.hk>
To: <php-general
lists.php.net>
Sent: Saturday, April 27, 2002 3:14 PM
Subject: Re: [PHP] Re: Redirecting
> On Saturday 27 April 2002 12:00, Julio Nobrega wrote: > > Send head()ers before any html output (including spaces or newlines > > before <?php) > > IOW RTFM! > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.com.hk > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > Love tells us many things that are not so. > -- Krainian Proverb > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
attached mail follows:
On Monday 22 January 2001 14:31, The_RadiX wrote: > IOW ?? > > what's this abbrev?
"in other words"
-- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* I hold it, that a little rebellion, now and then, is a good thing... -- Thomas Jefferson */
attached mail follows:
RTFM?
what's this abbrev?
----- Original Message -----
From: "Jason Wong" <php-general
gremlins.com.hk>
To: <php-general
lists.php.net>
Sent: Saturday, April 27, 2002 4:55 PM
Subject: Re: [PHP] Re: Redirecting
On Monday 22 January 2001 14:31, The_RadiX wrote: > IOW ?? > > what's this abbrev?
"in other words"
-- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* I hold it, that a little rebellion, now and then, is a good thing... -- Thomas Jefferson */
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
Hello PHP Team !
I was wondering if the latest PHP release had any improved support for SSL and secure connections.
Are there any plans to add (or enhance) SSL support in PHP? I am looking for something like, being able to use HTTPS with the FILE() function, and other functions in that family.
It's a bit hard to convince hosting companies to install CURL or LYNX on their systems. I was wondering if PHP had a workaround for that.
Thanks for a great product! -john
__________John Monfort_________________ _+-----------------------------------+_ P E P I E D E S I G N S www.pepiedesigns.com -+___________________________________+-
attached mail follows:
4.3 will have better support courtesy of Wez's cool streams code.
-Rasmus
On Fri, 26 Apr 2002, [-^-!-%- wrote:
> > Hello PHP Team ! > > I was wondering if the latest PHP release had any improved support for SSL > and secure connections. > > Are there any plans to add (or enhance) SSL support in PHP? I am looking > for something like, being able to use HTTPS with the FILE() function, and > other functions in that family. > > > It's a bit hard to convince hosting companies to install CURL or LYNX on > their systems. I was wondering if PHP had a workaround for that. > > > Thanks for a great product! > -john > > > __________John Monfort_________________ > _+-----------------------------------+_ > P E P I E D E S I G N S > www.pepiedesigns.com > -+___________________________________+- > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
attached mail follows:
Hello to all,
I have a mail script with a set of options in a dropdown list that I'm hoping you can help with. Here is the part I wish to get working then after that I can do the rest
What I need this to do is send the users name, email address, the option in the drop down list, and the message. I can't seem to get it to do this could someone point out what I have done wrong?
$query = "SELECT * FROM {$config["prefix"]}_users WHERE uid =
{$session["uid"]}";
$result = mysql_query($query);
$row = mysql_fetch_array($result);
$name = $row['name'];
$email = $row['email'];
if($submit)
{
if($automail == 'abuse')
{
$From = $name;
$to = "abuse
atthisaddress.com";
mail( $to, $From, $email, $message );
}
else
{
else
{
echo"<FORM ACTION='$PHP_SELF' METHOD='POST' TITLE='contact'>";
echo "<br><br><br><br><br>Your User Name: $name"; echo "<br><br>Your Email Address: $email<br>Did your email<br>change? <a href='myaccount.php'>Click here<BR><BR></a>";
echo "This is a "; echo "<SELECT NAME='automail' SIZE='1'>"; echo "<OPTION VALUE='abuse'>Abuse</OPTION>"; echo "<OPTION VALUE='bug'>Bug</OPTION>"; echo "<OPTION VALUE='job'>Employment</OPTION>"; echo "</SELECT> Report<BR>";
echo "The message is<BR>"; echo "<TEXTAREA NAME='message' ROWS='10' COLS='40'>"; echo "</TEXTAREA>"; echo "<BR><INPUT TYPE='submit' VALUE='Send Report' NAME='submit'>";
echo "</FORM>"; }
Thanks Jennifer
-- The sleeper has awaken--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
attached mail follows:
> $query = "SELECT * FROM {$config["prefix"]}_users WHERE uid = > {$session["uid"]}";
$query = "SELECT * FROM ".${$config['prefix'].'_users'}." WHERE uid = $session[uid]";
> $result = mysql_query($query);
$result = mysql_query($query) or die(mysql_erro());
> $row = mysql_fetch_array($result);
> $name = $row['name'];
> $email = $row['email'];
> if($submit)
> {
> if($automail == 'abuse')
> {
> $From = $name;
> $to = "abuse
atthisaddress.com";
> mail( $to, $From, $email, $message );
The argument to mail() are to, subject, message. See http://www.php.net/manual/en/function.mail.php
The rest looks ok.
-Rasmus
attached mail follows:
Hi Y'all...
Ok. I just got Apache 1.3.xx and I have PHP4.1.1 and MySQL 3.23.47 on WinXP Pro...
I am currently using IIS5.1 with PHP4 and MySQL but I'd like to move across to Apache..
Catch is? I have hunted through all the FAQ's for Apache and there is no mention of how-to configure Apache to actually execute PHP's...
So I went into the PHP doc's and there is a small mention.. So I finally get the php's to run..
BUT.. when I call $SERVER_NAME in my php's like I always have.. The variable seems to no longer exist... what gives??
Thanks all.. I am sure it's just a name change or something that Apache uses.. Or maybe I have to register the PHP global var's somehow through Apache?? don't really know..
Anyway thanks a heap in a advance because I'd really love to start delving into this great subdomaining/.htaccess world :)
Thanks again.. Greatly appreciated...
:::::::::::::::::::::::::::::::::::::::::::
: Julien Bonastre [The-Spectrum.org CEO]
: A.K.A. The_RadiX
: the_radix
hotkey.net.au
: ABN: 64 235 749 494
: QUT Student :: 04475739
:::::::::::::::::::::::::::::::::::::::::::
attached mail follows:
On Monday 22 January 2001 14:36, The_RadiX wrote: > Hi Y'all... > > > > Ok. I just got Apache 1.3.xx and I have PHP4.1.1 and MySQL 3.23.47 on WinXP > Pro... > > > I am currently using IIS5.1 with PHP4 and MySQL but I'd like to move across > to Apache..
[snip]
> BUT.. when I call $SERVER_NAME in my php's like I always have.. The > variable seems to no longer exist... what gives??
Use phpinfo() to find out what system/pre-defined variables are available.
-- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* Nothing makes a person more productive than the last minute. */
attached mail follows:
Hi all, I'm trying to query a date field from mySQL and display in a differnet format.
the mysql date is in the format YYYY-MM-DD and I want to convert it to DD-MM-YYYY
how do I do that?
TIA
Ananth
===== visit www.locustechnologies.com
__________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com
attached mail follows:
On Saturday 27 April 2002 14:43, Ananth Rajaraman wrote: > Hi all, > I'm trying to query a date field from mySQL and > display in a differnet format. > > the mysql date is in the format YYYY-MM-DD and I want > to convert it to DD-MM-YYYY > > how do I do that?
Use mysql's extensive date formatting functions.
-- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* "Remember kids, if there's a loaded gun in the room, be sure that you're the one holding it" -- Captain Combat */
attached mail follows:
try
<? $date="2002-04-27";
echo date("d-m-Y",strtotime($date)); ?>
--Best regards, George Nicolae IT Manager ___________________ PaginiWeb.com - Professional Web Design www.PaginiWeb.com
"Ananth Rajaraman" <lalithananth
yahoo.com> wrote in message news:20020427064325.2716.qmail
web14002.mail.yahoo.com... > Hi all, > I'm trying to query a date field from mySQL and > display in a differnet format. > > the mysql date is in the format YYYY-MM-DD and I want > to convert it to DD-MM-YYYY > > how do I do that? > > TIA > > Ananth > > ===== > visit www.locustechnologies.com > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - your guide to health and wellness > http://health.yahoo.com
attached mail follows:
On Fri, 26 Apr 2002, Ananth Rajaraman wrote: > I'm trying to query a date field from mySQL and > display in a differnet format. > > the mysql date is in the format YYYY-MM-DD and I want > to convert it to DD-MM-YYYY > > how do I do that?
How did you figure out anything else that you've done in MySQL? There's an excellent manual at http://www.mysql.com/ . Please try to at least glance at the documentation before posting here. Some questions are so incredibly basic that it's clear you didn't even try.
miguel
attached mail follows:
Um im trying to take the input from a txt field in an html form (which happens to be a number) and convert it to currency. Anyone know if there is a function in PHP to do this or do i have to convert to a float etc?
Cheers From
baldey_uk
attached mail follows:
On Sat, 27 Apr 2002, baldey_uk wrote: > Um im trying to take the input from a txt field in an html form (which > happens to be a number) and convert it to currency. Anyone know if there is > a function in PHP to do this or do i have to convert to a float etc?
What do you mean by a currency? If you mean a number with two decimal places, you can do something like:
$currency_val = sprintf('%.2f', floatval($_REQUEST['how_much_money']));
miguel
attached mail follows:
Hi there,
Anyone else having trouble with vanished form posts/gets with the new PHP 4.2.0 on Windows 2000 Advanced Server?
I re-installed 4.1.1 and everything worked again...
Regs, Jason
__________________________________________________ Do You Yahoo!? Yahoo! Health - your guide to health and wellness http://health.yahoo.com
attached mail follows:
Hi all,
I have problem with TTF support on my vhost. PHP says it has no ttf support. The configure command is:
'./configure' '--prefix=/opt/php' '--enable-exif' '--with-apxs' '--enable-memory-limit=yes' '--enable-track-vars' '--enable-trans-sid' '--enable-wddx' '--enable-ftp' '--with-gd=../gd' '--enable-gd-imgstrttf' '--with-jpeg-dir' '--with-ttf' '--enable-gd-native-ttf' '--with-t1lib=/usr/lib' '--with-mysql=/usr/' '--with-png-dir' '--with-config-file-path=/etc/opt/httpd/' '--with-zlib' '--with-mhash' '--with-pdflib=/usr/lib/' '--enable-sysvsem' '--enable-sysvshm' '--enable-memory-limit'
and GD section of PHP Info looks like this:
GD Support enabled GD Version 1.6.2 or higher T1Lib Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled
anyone could help? Admin says that on their website TTF functions work fine.
Additionally, i'm execute a shell command (to create thumbnail with ImageMagick) but it does not do anything. The command is OK as it works by SSH.
Remek
attached mail follows:
At 9:57 AM -0400 26/4/02, Alan McKay wrote: >> Session4 without Session4_custom uses native php containers, e.g. >> files or mm. > >Where is this "session4"? > >I pulled "php-lib-stable" out of CVS yesterday and do not see this anywhere. >Is this part of the "bleeding edge" in "php-lib" (without the "stable") in CVS?
It's in the "unsup" directory. Maxim's release notes are in there too.
I hope to merge this into the mainstream release in a backward compatible manner some time soon.
...Richard.
attached mail follows:
Hello Richard,
Saturday, April 27, 2002, 2:24:21 PM, you wrote:
RA> It's in the "unsup" directory. Maxim's release notes are in there too. No, I meant the file session4.inc in the php-lib/php/session. session4_custom.inc & release notes (quite outdated, but still usable) are there too.
It's Phplib4 package, which also has session4.inc file, is in the unsup directory, and is a completely different thing (while doing similar work too), made by Barend Scholtus.
-- Best regards, Maxim Derkachev mailto:max.derkachevbooks.ru System administrator & programmer, Symbol-Plus Publishing Ltd. phone: +7 (812) 324-53-53 www.books.ru, www.symbol.ru
attached mail follows:
Help please from one of the reg-ex experts out there please !
I'm trying to find the pattern &#(5 number); example 𑃸
This works $code[$i] = ereg_replace("&#([0-9])+" , "replace\\0.bing" , $code[$i] );
and I get back replace 𑃸.bing
but I also want to lose the &# and the ; so I get back 69880.bing
At the moment I just re search and remove the like this $code[$i] = ereg_replace('&#','',$code[$i]); $code[$i] = ereg_replace(';','',$code[$i]);
but I'm sure that theortetically I can do it in one step ! Can anyone help ! Thanks in advance
attached mail follows:
Try it like this : $code[$i] = ereg_replace("&#([0-9] {5});" , "\\1.bing" , $code[$i] );
-----Ursprüngliche Nachricht-----
Von: John Fishworld [mailto:john
webital.de]
Gesendet: Samstag, 27. April 2002 1:11 PM
An: php-general
lists.php.net
Betreff: [PHP] reg-ex please
Help please from one of the reg-ex experts out there please !
I'm trying to find the pattern &#(5 number); example 𑃸
This works $code[$i] = ereg_replace("&#([0-9])+" , "replace\\0.bing" , $code[$i] );
and I get back replace 𑃸.bing
but I also want to lose the &# and the ; so I get back 69880.bing
At the moment I just re search and remove the like this $code[$i] = ereg_replace('&#','',$code[$i]); $code[$i] = ereg_replace(';','',$code[$i]);
but I'm sure that theortetically I can do it in one step ! Can anyone help ! Thanks in advance
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
Woops , one to many whitespace :)
--> Try it like this : $code[$i] = ereg_replace("&#([0-9]{5});" , "\\1.bing" , $code[$i] );
-----Ursprüngliche Nachricht-----
Von: Red Wingate [mailto:redeye
cs-aktuell.de]
Gesendet: Samstag, 27. April 2002 1:26 PM
An: php-general
lists.php.net
Betreff: AW: [PHP] reg-ex please
Try it like this : $code[$i] = ereg_replace("&#([0-9] {5});" , "\\1.bing" , $code[$i] );
-----Ursprüngliche Nachricht-----
Von: John Fishworld [mailto:john
webital.de]
Gesendet: Samstag, 27. April 2002 1:11 PM
An: php-general
lists.php.net
Betreff: [PHP] reg-ex please
Help please from one of the reg-ex experts out there please !
I'm trying to find the pattern &#(5 number); example 𑃸
This works $code[$i] = ereg_replace("&#([0-9])+" , "replace\\0.bing" , $code[$i] );
and I get back replace 𑃸.bing
but I also want to lose the &# and the ; so I get back 69880.bing
At the moment I just re search and remove the like this $code[$i] = ereg_replace('&#','',$code[$i]); $code[$i] = ereg_replace(';','',$code[$i]);
but I'm sure that theortetically I can do it in one step ! Can anyone help ! Thanks in advance
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
Excellent !!!! :-))) Thanks ! Can I trouble you again with one more !
I get an url http://whatever/file.whatever (text/html/chtml)
Now trying to do the following get just the http://whatever bit and go through my array and find .gif or .html or .chtml and replace the eg "pics/my.gif" with http://whatever/pics/my.gif
I've only just started with this one so haven't got very far but you were so quick I thought I'd ask ! :-))
This is my start but its definately wrong !
$code[$i] = ereg_replace("^.+.gif", "$url_file\\0",$code[$i]);
er...thanks ! :-))
> Woops , one to many whitespace :)
>
> -->
> Try it like this :
> $code[$i] = ereg_replace("&#([0-9]{5});" , "\\1.bing" , $code[$i] );
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Red Wingate [mailto:redeye
cs-aktuell.de]
> Gesendet: Samstag, 27. April 2002 1:26 PM
> An: php-general
lists.php.net
> Betreff: AW: [PHP] reg-ex please
>
> Try it like this :
> $code[$i] = ereg_replace("&#([0-9] {5});" , "\\1.bing" ,
> $code[$i] );
>
> -----Ursprüngliche Nachricht-----
> Von: John Fishworld [mailto:john
webital.de]
> Gesendet: Samstag, 27. April 2002 1:11 PM
> An: php-general
lists.php.net
> Betreff: [PHP] reg-ex please
>
> Help please from one of the reg-ex experts out there please !
>
> I'm trying to find the pattern &#(5 number);
> example 𑃸
>
> This works
> $code[$i] = ereg_replace("&#([0-9])+" , "replace\\0.bing" , $code[$i] );
>
> and I get back replace 𑃸.bing
>
> but I also want to lose the &# and the ;
> so I get back 69880.bing
>
> At the moment I just re search and remove the like this
> $code[$i] = ereg_replace('&#','',$code[$i]);
> $code[$i] = ereg_replace(';','',$code[$i]);
>
> but I'm sure that theortetically I can do it in one step !
> Can anyone help !
> Thanks in advance
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
attached mail follows:
Sure :)
-----Ursprüngliche Nachricht-----
Von: John Fishworld [mailto:john
webital.de]
Gesendet: Samstag, 27. April 2002 1:46 PM
An: Red Wingate; php-general
lists.php.net
Betreff: Re: [PHP] reg-ex please
Excellent !!!! :-))) Thanks ! Can I trouble you again with one more !
I get an url http://whatever/file.whatever (text/html/chtml)
Now trying to do the following get just the http://whatever bit and go through my array and find .gif or .html or .chtml and replace the eg "pics/my.gif" with http://whatever/pics/my.gif
I've only just started with this one so haven't got very far but you were so quick I thought I'd ask ! :-))
This is my start but its definately wrong !
$code[$i] = ereg_replace("^.+.gif", "$url_file\\0",$code[$i]);
er...thanks ! :-))
> Woops , one to many whitespace :)
>
> -->
> Try it like this :
> $code[$i] = ereg_replace("&#([0-9]{5});" , "\\1.bing" , $code[$i] );
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Red Wingate [mailto:redeye
cs-aktuell.de]
> Gesendet: Samstag, 27. April 2002 1:26 PM
> An: php-general
lists.php.net
> Betreff: AW: [PHP] reg-ex please
>
> Try it like this :
> $code[$i] = ereg_replace("&#([0-9] {5});" , "\\1.bing" ,
> $code[$i] );
>
> -----Ursprüngliche Nachricht-----
> Von: John Fishworld [mailto:john
webital.de]
> Gesendet: Samstag, 27. April 2002 1:11 PM
> An: php-general
lists.php.net
> Betreff: [PHP] reg-ex please
>
> Help please from one of the reg-ex experts out there please !
>
> I'm trying to find the pattern &#(5 number);
> example 𑃸
>
> This works
> $code[$i] = ereg_replace("&#([0-9])+" , "replace\\0.bing" , $code[$i] );
>
> and I get back replace 𑃸.bing
>
> but I also want to lose the &# and the ;
> so I get back 69880.bing
>
> At the moment I just re search and remove the like this
> $code[$i] = ereg_replace('&#','',$code[$i]);
> $code[$i] = ereg_replace(';','',$code[$i]);
>
> but I'm sure that theortetically I can do it in one step !
> Can anyone help !
> Thanks in advance
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
attached mail follows:
Hi all..
I've been trying to understand actually what is the error in the following code for 2 hours, i played with the code, moved stuff around and the like but nothing worked.. Can someone help me please?
The PHP error is as follow:
Parse error: parse error in /usr/home/iro/numripps.php on line 13
<? $query = "SELECT handle from x"; $res = mysql_query($query); while ($row = mysql_fetch_array($res)) { $xquery = "SELECT handle from husers WHERE handle like '$row[handle]'"; $xres = mysql_query($xquery); $chck = mysql_num_rows($xres); if (!$chck) { $zquery = "SELECT name from users WHERE handle like '$row[handle]'; $zres = mysql_query($zquery); $zrow = mysql_fetch_array($zres); $user = $zrow[name]; $query = "INSERT into husers values (\'$row[handle]\' , \'$user\')"; mysql_query($query); } } ?>
When i changes the " " of the line 13 for ' ' there is another error but thise time after the ?>.. Where did i go wrong? i see nothing wrong in here. (Btw i know my code is ugly but it's still suposed to work.)
Thanks in advance if you help me.
attached mail follows:
On Saturday 27 April 2002 22:19, newton wrote: > Hi all.. > > I've been trying to understand actually what is the error in the > following code for 2 hours, i played with the code, moved stuff around and > the like but nothing worked.. Can someone help me please? > > The PHP error is as follow: > > Parse error: parse error in /usr/home/iro/numripps.php on line 13
Instead of making us count (I've only got ten fingers, I'm wearing shoes and I can't see my toes), tell us which is line 13.
-- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* MIT: The Georgia Tech of the North */
attached mail follows:
if (!$chck) { $zquery = "SELECT name from users WHERE handle like '$row[handle]'; $zres = mysql_query($zquery); $zrow = mysql_fetch_array($zres); $user = $zrow[name]; $query = "INSERT into husers values (\'$row[handle]\' , \'$user\')"; mysql_query($query); }
The first "select" line doesn't end its quotes properly.
Michael Kimsal http://www.phphelpdesk.com Guanrateed PHP support when you need it 734-480-9961
attached mail follows:
To make a long story short: I'm trying to compile PHP 4.2 with Apache, GD, T1lib and more. This is what I'm using:
[configuring apache first]
./configure --with-apache=../apache_1.3.24 --enable-ftp --with-mysql=/usr/l ocal/mysql/ --enable-track-vars --enable-inline-optimization --disable-debug --enable-memory-limit --with-xml --enable-t1lib --with-t1lib=/usr/local/lib --with-gd=../gd-2.0.1 --with-freetype-dir=/usr --enable-gd-native-ttf --en able-gd-imgstrttf --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib
make make install cd ../apache_1.3.24 ./configure --activate-module=src/modules/php4/libphp4.a --enable-module=rew rite
make
And this is what I get:
/usr/libexec/elf/ld: warning: libpng.so.4, needed by /usr/local/lib/libgd.so, may conflict with libpng.so.5 modules/php4/libphp4.a(gd.o): In function `zif_imagecreatetruecolor': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0xd9e): undefined reference to `gdImageCreateTrueColor' modules/php4/libphp4.a(gd.o): In function `zif_imagetruecolortopalette': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0xf2b): undefined reference to `gdImageTrueColorToPalette' modules/php4/libphp4.a(gd.o): In function `zif_imagesetthickness': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x1032): undefined reference to `gdImageSetThickness' modules/php4/libphp4.a(gd.o): In function `zif_imagefilledellipse': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x136a): undefined reference to `gdImageFilledEllipse' modules/php4/libphp4.a(gd.o): In function `zif_imagefilledarc': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x1836): undefined reference to `gdImageFilledArc' modules/php4/libphp4.a(gd.o): In function `zif_imagealphablending': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x193a): undefined reference to `gdImageAlphaBlending' modules/php4/libphp4.a(gd.o): In function `zif_imagecolorresolvealpha': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x1bd1): undefined reference to `gdImageColorResolveAlpha' modules/php4/libphp4.a(gd.o): In function `zif_imagecolorclosestalpha': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x1e61): undefined reference to `gdImageColorClosestAlpha' modules/php4/libphp4.a(gd.o): In function `zif_imagecolorexactalpha': /usr/tmp/www/php-4.2.0/ext/gd/gd.c(.text+0x20f1): undefined reference to `gdImageColorExactAlpha' modules/php4/libphp4.a(gd.o): In function `zif_imagecopyresampled': /usr/tmp/www/php-4.2.0/ext/gd/gd.c:882: undefined reference to `gdImageCopyResampled' *** Error code 1
Stop in /usr/tmp/www/apache_1.3.24/src. *** Error code 1
Stop in /usr/tmp/www/apache_1.3.24. *** Error code 1
Stop in /usr/tmp/www/apache_1.3.24.
Any ideas? It worked good before I installed t1lib and messed around with it. Thanks in advance, Victor
attached mail follows:
> Greetings guys/girls (Like there are many of them around on the list), > Special greetings to Steve,Nathon,Michael,John and ANYBODY else who was kind > enough to help me.) > > Anyway, I was not joking when I said free webhosting for you. > Little bit of background first. > > I am in charge of buying webhosting accounts for my company and this time I > purchased one extra account, (This happens frequently with us) > So now I have a 1 year paid webhosting account with either PHP or CGI > installed, 99.3 uptime, a catch all address, your domain, unique ip address > etc etc > > The deal is this, I am overworked with work here and need a small project > done, I dont have the time and since nothing is free in this world......you > do my project and since i cant pay you i give you the hosting account, you > can make your own personal/commercial website WITH OUT ANY BANNERS. you can > charge for banners etc thats up to you. > > Remember though, you have to follow the webhosts rules: > No porn, that includes kiddy stuff,gay porn( basically no sick stuff). > No racism ...eg Chinks,Niggers, jews etc > (basically no making fun of people who have differient eye features than us, > differerent skin colour or different race, religon...live and let live ppl.) > > > > ok heres the "rough" project (its for a personals site): > 1.Take user details (email,username,password, address date-of-birth etc), > preview them, write to database, make a folder with the username of the > user,send an email for confirmation. > 2.One page for the user to enter the username/password and then when logged > in user should be able to upload upto 5 pics each pic not more than 50 k > (Admin has to approve each photo first.) > 3.User can delete any picture and add more. > 4.User can "tick" which pic they want to display and which not. > 5.there should be a quick look where when someone wants to join they click > on "quick" look and they see photo with short description eg > > |--------------------------|------------------------------------------------ > ---------| > | | > | > | Photo | Part of description ...join to see > full (Link) | > | | > | > |--------------------------------------------------------------------------- > --------- > | | > | Photo | Part of description...join to see > full (Link) > | | > | | > |--------------------------------------------------------------------------- > ----------- > | | > | > | Photo | Part of description...join to see full > (Link) | > | | > | > |--------------------------------------------------------------------------- > --------- > | | > | > | Photo | Part of description...join to see full > (Link) | > | | > | > |--------------------------------------------------------------------------- > --------- > || > etc etc > > > THATS IT! if you feel you can do it, write in with ATTENTION RYAN in the > subject line,will respond TOTAL work details,images etc, with my company > website URL and my personal phone no if you want to talk about the project. > Preference will be given to people who have already helped me in the past > but it basically works on a first come first serve basis. > Any questions...just ask. > Dont bother with the designing part. > IMPORTANT: I will need comments everywhere explaining EXACTLY what is being > done. > > > Cheers, > -Ryan. > >
attached mail follows:
Hi,
I set up two mailing lists for FreeMovie users. You can find links to these lists on the FreeMovie page http://freemovie.sourceforge.net
Sorry, if you've seen this message on this list before, I was having some problems with my e-mail setup.
Thanks,
Jacek
-- Encyklopedia multimedialna w prezencie! http://www.e-mail.onet.pl
attached mail follows:
Hi,
I am a beginning programmer and I am missing my Mysql/php book for some days so I can't look up what i need.
i need a query something like this:
query= SELECT from calender WHERE ('$day','$month','$year')= current date
i need a script that looks in my database for events that are going down the day my visitor visits the page and if there are no parties today it returns something like: sorry no parties today.
thanks and let me know
attached mail follows:
Hi guys, trying to get my head around possible code for this problem.
My website has various sections which have their own directory like below:
HOME - Main part of the website CHARTS - Various DJ charts MUSIC - Review, News and other things
and so on..
At the top of each page I have a link panel which depending on which section of the site you are in shows the links back down the directory system.
For example:
http://www.danceportal.co.uk/diary/2002/may/
has this in the panel:
Home / Diary / 2002 / May / <-- These are links back down the system of directories.
http://www.danceportal.co.uk/charts/randumian/mon-22-apr-2002.php
has this:
Home / Charts / Randum Ian / Monday, April 22, 2002
Is it possible to automate this in a template so that it can work out where it is and create the correct links?
If you need an example of how it is now please visit my website http://www.danceportal.co.uk/home/.
Regards, Ian.
--- Randum Ian DJ / Reviewer / Webmaster, DancePortal (UK) Limited iandanceportal.co.uk http://www.danceportal.co.uk DancePortal.co.uk - Global dance music media
attached mail follows:
On Saturday 27 April 2002 20:34, Randum Ian wrote:
[snip]
> For example: > > http://www.danceportal.co.uk/diary/2002/may/ > > has this in the panel: > > Home / Diary / 2002 / May / <-- These are links back down the system of > directories. > > http://www.danceportal.co.uk/charts/randumian/mon-22-apr-2002.php > > has this: > > Home / Charts / Randum Ian / Monday, April 22, 2002 > > Is it possible to automate this in a template so that it can work out where > it is and create the correct links?
Yes.
http://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-answers.html
Presumably you want to know *how* to do it?
Use phpinfo() to see what predefined vars you can use to get your document path. Then probably use explode() to get the individual components of the path.
-- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development */* Are we not men? */
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]