php-general Digest 11 Apr 2001 01:25:18 -0000 Issue 620
Topics (messages 48020 through 48103):
Re: MySql: Default values
48020 by: Michael Hall
48026 by: elias
48054 by: Andrew Rush
Re: Inserting time + date entry into mySQL DB
48021 by: Michael Hall
48029 by: elias
Re: L? Roman function
48022 by: Knut H. Hassel Nielsen
Re: list files in a diretory
48023 by: Tim Ward
Re: Back Button Dilemma's
48024 by: Daniel B I
Commercial sites that use PHP
48025 by: Phil Labonte
48027 by: Dominick Vansevenant
48030 by: Clayton Dukes
48032 by: Keyur Kalaria
48034 by: Andy Woolley
48035 by: Michael Hall
48039 by: Philip Olson
48040 by: Michael Kimsal
48044 by: Chris Adams
48045 by: Phillip Bow
48046 by: Michael Stearne
48048 by: Brent Langston
48051 by: Michael Kimsal
48056 by: Benjamin Munoz
48057 by: Pierre-Yves Lemaire
48064 by: Alexis Antonakis
48072 by: Ralph Guzman
48073 by: Joe Stump
48076 by: Charlie Llewellin
48085 by: Michael Kimsal
48087 by: Philip Olson
@Listing - causing pasre error
48028 by: Wilbert Enserink
48031 by: Rasmus Lerdorf
Review
48033 by: Keyur Kalaria
user login
48036 by: george
48037 by: Keyur Kalaria
Fwd:
48038 by: Kurth Bemis
Oracle Connection
48041 by: Dunaway, Brian
48042 by: Brian S. Dunworth
Netscape security error
48043 by: Claudia
ezpublish installation
48047 by: Peter Van Dijck
Re: can't restart apache, help needed
48049 by: Lindsay Adams
mysql .. quick question
48050 by: PeterOblivion.aol.com
__ $8/mo php hosting on 24/7, OC3+ web server ___
48052 by: Jeffrey Greer
48053 by: Jon Haworth
48058 by: Chris Anderson
48061 by: Krznaric Michael
48065 by: Jason Lotito
48066 by: Kurth Bemis
48089 by: Jeffrey Greer
48090 by: Kurth Bemis
48092 by: Phillip Bow
48096 by: The Hermit Hacker
48097 by: The Hermit Hacker
48102 by: Jeffrey Greer
Developing new PHP modules
48055 by: Carlos Serrão
Limitation of redirecting using header()?
48059 by: Daniel
48062 by: Johnson, Kirk
48071 by: Mark Maggelet
48081 by: Daniel
48095 by: Mark Maggelet
url question
48060 by: Ide, Jim
created a mailing list for ezpublish
48063 by: Peter Van Dijck
Re: register_shutdown_function - uses for
48067 by: Steve Werby
48070 by: CC Zona
48103 by: Yasuo Ohgaki
dynamic checkboxes
48068 by: Nando2
48079 by: Daniel
Saving a page/text file from a query
48069 by: Nando2
session variables
48074 by: george
48075 by: mailing_list.gmx.at
48078 by: george
assignment operator works for comparison??
48077 by: Dan
48080 by: Pierre-Yves Lemaire
48083 by: Dan
48086 by: Johnson, Kirk
48088 by: Dan
cookies and pages and sessions ( oh my! )
48082 by: Dennis Gearon
Forcing a dynamic created text file to be saved
48084 by: Nando2
48093 by: Nando2
48094 by: Lindsay Adams
System V Semaphores
48091 by: Philip Murray
upload problem (uid)
48098 by: b0ld b0lb
48099 by: Rasmus Lerdorf
"No parent in this context"?
48100 by: venome.gmx.net
COM-Functions
48101 by: Jochen Kaechelin
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
Mumkin ya elias, ana ma afhamsh su'aalak mnih!
Not exactly sure what you mean elias.
TIMESTAMP in MySQL is a datatype more than a function, but I'm not
absolutely sure about that.
Mick
On Tue, 10 Apr 2001, elias wrote:
> Can a default field value in MySql be a function?
>
> Like default value of a date field should be the built-in function NOW()?
>
> anything like what i'm asking for?
>
> -elias
> http://www.kameelah.org/eassoft
>
>
>
>
> --
> 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]
>
>
hehe ;)
where you from? :)
"Michael Hall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Mumkin ya elias, ana ma afhamsh su'aalak mnih!
>
> Not exactly sure what you mean elias.
> TIMESTAMP in MySQL is a datatype more than a function, but I'm not
> absolutely sure about that.
>
> Mick
>
>
> On Tue, 10 Apr 2001, elias wrote:
>
> > Can a default field value in MySql be a function?
> >
> > Like default value of a date field should be the built-in function
NOW()?
> >
> > anything like what i'm asking for?
> >
> > -elias
> > http://www.kameelah.org/eassoft
> >
> >
> >
> >
> > --
> > 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]
> >
> >
>
>
> --
> 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]
>
on 4/10/01 7:23 PM, elias at [EMAIL PROTECTED] wrote:
> Can a default field value in MySql be a function?
no.
> Like default value of a date field should be the built-in function NOW()?
still, nope.
> anything like what i'm asking for?
ahhh- if you are looking for a way to automatically have a timestamp
inserted into a record, make a new field of type timestamp that is not null.
if you don't insert any value into the timestamp field it will use the
current date-time.
have a great day
andy
--
*******************************************************
Andrew Rush :: Lead Systems Developer :: MaineToday.com
*******************************************************
"A friend of the devil is a friend of mine" - R. Hunter
This is all explained in the PHP manual under dates.
Assuming you have a field called 'date' with a timestamp in it,
you can format the date like this:
$date = date("l jS F Y", $date);
But there are a lot of options so read the manual.
Mick
> I want it such that when a user reads the news, he sees something like
>
> ---------------
> Saturday 25th March 2001
> New mirror up on PHP - posted by Zeus @ 00:00 GMT +8
>
> news news news news news news news news news news news news news
> ---------------
>
> That sort of thing, how can I go about?
>
>
>
>
> ----- Original Message -----
> From: elias <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, 11 April, 2001 7:23 AM
> Subject: Re: [PHP] Inserting time + date entry into mySQL DB
>
>
> > No under windows doesn't work.
> > you have to enter a value in that field with value NOW()
> >
> > -elias
> > http://www.kameelah.org/eassoft
> >
> > "Michael Hall" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > >
> > >
> > > Create a field in your table called something like 'date' and make its
> > > data type TIMESTAMP. MySQL will automatically add a timestamp with each
> > > new entry ... assuming you're using UNIX, I don't know about windows.
> > >
> > > Mick
> > >
> > > > I know this has been brought up repeatedly but I couldn't find the
> > archives website.
> > > > I'm doing a news publishing script (something like newsphp \ php-nuke)
> > but uses mySQL to store all the data instead of flat files.
> > > > I would like to make it such that everytime I submit an news entry,
> the
> > time\date will automatically be inserted in that row.
> > > > Could someone give me some suggestions?
> > >
> > >
> > > --
> > > 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]
> > >
> >
> >
> >
> > --
> > 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]
> >
>
>
> --
> 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 believe there is some misunderstandings...
I believe Zeus just doesn't know how to insert current date in his database:
ie: INSERT INTO MyTable(other_field, date_field) VALUES('adasd', NOW())
this will insert in your date field the current datetime.
-elias
http://www.kameelah.org/eassoft
"Michael Hall" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> This is all explained in the PHP manual under dates.
> Assuming you have a field called 'date' with a timestamp in it,
> you can format the date like this:
>
> $date = date("l jS F Y", $date);
>
> But there are a lot of options so read the manual.
>
> Mick
>
> > I want it such that when a user reads the news, he sees something like
> >
> > ---------------
> > Saturday 25th March 2001
> > New mirror up on PHP - posted by Zeus @ 00:00 GMT +8
> >
> > news news news news news news news news news news news news news
> > ---------------
> >
> > That sort of thing, how can I go about?
> >
> >
> >
> >
> > ----- Original Message -----
> > From: elias <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, 11 April, 2001 7:23 AM
> > Subject: Re: [PHP] Inserting time + date entry into mySQL DB
> >
> >
> > > No under windows doesn't work.
> > > you have to enter a value in that field with value NOW()
> > >
> > > -elias
> > > http://www.kameelah.org/eassoft
> > >
> > > "Michael Hall" <[EMAIL PROTECTED]> wrote in message
> > >
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > >
> > > >
> > > > Create a field in your table called something like 'date' and make
its
> > > > data type TIMESTAMP. MySQL will automatically add a timestamp with
each
> > > > new entry ... assuming you're using UNIX, I don't know about
windows.
> > > >
> > > > Mick
> > > >
> > > > > I know this has been brought up repeatedly but I couldn't find the
> > > archives website.
> > > > > I'm doing a news publishing script (something like newsphp \
php-nuke)
> > > but uses mySQL to store all the data instead of flat files.
> > > > > I would like to make it such that everytime I submit an news
entry,
> > the
> > > time\date will automatically be inserted in that row.
> > > > > Could someone give me some suggestions?
> > > >
> > > >
> > > > --
> > > > 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]
> > > >
> > >
> > >
> > >
> > > --
> > > 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]
> > >
> >
> >
> > --
> > 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]
> >
> >
>
>
> --
> 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]
>
Hi there. I picked up this function several years ago. See if this can help you
see what the roman value for an arabic number is.
//Calculates the Roman numerals for the given Arabic number.
// Returns '' on error.
function to_roman($num) {
// There is no '0' or negative numbers in Roman numerals.
// Also, anything not in [0-9] is bad input.
if (!ereg('^[0-9]+$', $num) || ((int)$num == 0)) {
return('');
}
// Do some setup
$num = (int)$num;
$letter[10] = array('X', 'C', 'M');
$letter[5] = array('V', 'L', 'D');
$letter[1] = array('I', 'X', 'C');
$roman = '';
// Numbers > 1000 are a special case.
// (No letters > 'M')
$digit = (int)($num / 1000);
$num -= ($digit * 1000);
while ($digit > 0) {
$roman .= 'M';
$digit--;
}
// Do the work
for ($i=2; $i>=0; $i--) {
$power = pow(10, $i);
$digit = (int)($num / $power);
$num -= ($digit * $power);
if (($digit == 9) || ($digit == 4)) {
$roman .= $letter[1][$i] . $letter[$digit+1][$i];
} else {
if ($digit >= 5) {
$roman .= $letter[5][$i];
$digit -= 5;
}
while ($digit > 0) {
$roman .= $letter[1][$i];
$digit--;
}
}
}
// If we didn't use up $num, something broke.
if ($num > 0){
return('');
}
return($roman);
}
On Tue, 10 Apr 2001, bill wrote:
> I think L is 50.
>
> bill
>
> Kurth Bemis wrote:
>
> > what does the roman numeral L mean?
> >
> > can someone point me to a page that has all of the roman numerals and their
> > English equivlents?
> >
> > i forgot?
> >
> > ~kurth
> >
> > --
> > 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]
>
>
>
--
Knut
------
Knut H. Hassel Nielsen
Principal Engineer / Avdelingsingeniør
Norwegian University of Science and Technology / NTNU
Department of Computer and Information Science / IDI
N-7491 Trondheim, Norway
Phone Office / Telefon jobb : (+47) 73 59 18 46
Fax Office / Telefax jobb : (+47) 73 59 17 33
Cell. Phone / Mobiltelefon : 91 59 86 06
function sitemap($ddPath)
{ $dhandle = opendir($ddPath);
echo("<ul>");
while ($ddFile = readdir($dhandle))
{ if ($ddFile == "." or $ddFile == "..") continue; // trap .
and ..
echo("<li>".$ddFile . "</li>");
if (is_dir($ddPath . $ddFile)) sitemap($ddPath . $ddFile .
"/");
};
closedir($dhandle);
echo("</ul>");
};
just call it by passing in the path to the directory you want to list and
it'll give you a full listing below that point
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
> -----Original Message-----
> From: Augusto Cesar Castoldi [mailto:[EMAIL PROTECTED]]
> Sent: 09 April 2001 17:06
> To: [EMAIL PROTECTED]
> Subject: list files in a diretory
>
>
> How can I list the files in a diretory?
>
> Something like, get the files name in an array...
>
> thanks,
>
> Augusto Cesar Castoldi
>
>
You may use a hidden field wich tells you what current
step is. If it is lower that your current page expects to be,
you may take the proper action (here the most simple, die() )
Look at this simple script:
==============SCRIPT BEGINS HERE
<?
if ( isset( $step ) )
if ( $step == 2 ) // =>here you can put "<=2" , as you need..
die ( "Error, we've been already here!" ) ;
?>
....
<FORM>
<INPUT TYPE=HIDDEN NAME="step" VALUE=1>
..
</FORM>
....
===============SCRIPT ENDS HERE
>Hi Guys,
>
>I know everywhere it says that it is not possible to actually disable =
>the back button, and people have offered some solutions that have not =
>worked for me, this is why I am emailing this list.
>I have a form which displays the same page with new content (controlled =
>by a counter) in a loop until an exit point is reached. When the user =
>clicks back on the browser the counter still increments and the screen =
>continues like the user pressed the continue button (which is the =
>process I want the user to take). The problem is the user did not make =
>a selection and this is where the problem lies (it takes the default, =
>which throws the whole process out of whack).
>
>The question I am asking is how can I prevent the user trying to go =
>back? Is there any code out there which can counter this action (and =
>not cause my counter to increment, thus moving the user to the next =
>screen)? Is there any way to detect that the back button/option has =
>been selected and display a "warning" type page before going back to =
>where the user is? The forward counter action does not really fix my =
>problem.
>
>Thanks,
>Michael.
>
>Chief Information Officer,
>RealGM, Inc.
>http://www.realgm.com
Can anyone send me a list of large commercial web sites that use PHP?
I am trying to move to PHP here at work but I need some examples to impress
the boss!!!
Thanks
http://www.zend.com/zend/cs/
Regards,
Dominick
-----Original Message-----
From: Phil Labonte [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 10 april 2001 15:52
To: [EMAIL PROTECTED]
Subject: [PHP] Commercial sites that use PHP
Can anyone send me a list of large commercial web sites that use PHP?
I am trying to move to PHP here at work but I need some examples to impress
the boss!!!
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I don't know if he'll be impressed, but I am :-)
http://www.gdd.net
Offers free Cisco Training as well as High School and College level essays.
Clayton Dukes
CCNA, CCDA, CCDP, CCNP
Internetwork Solutions Engineer
Internetwork Management Engineer
Thrupoint, Inc.
Tampa, FL
(c) 904.477.7825
(h) 904.292.1881
----- Original Message -----
From: "Phil Labonte" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 9:52 AM
Subject: [PHP] Commercial sites that use PHP
> Can anyone send me a list of large commercial web sites that use PHP?
>
> I am trying to move to PHP here at work but I need some examples to
impress
> the boss!!!
>
> Thanks
>
> --
> 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]
this is a commercial site.
site : http://www.goodlookingindia.com
pl. send me your complete reviews on it . it will be very very helpful to
me.
-
keyur
$$$$$$$
----- Original Message -----
From: "Phil Labonte" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 7:22 PM
Subject: [PHP] Commercial sites that use PHP
> Can anyone send me a list of large commercial web sites that use PHP?
>
> I am trying to move to PHP here at work but I need some examples to
impress
> the boss!!!
>
> Thanks
>
> --
> 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]
>
>
www.businessmeetings.com is another commercial site that I ported from ASP
to PHP 12 months ago.
Andy Woolley.
www.databasewatch.com
> ----- Original Message -----
> From: "Phil Labonte" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, April 10, 2001 7:22 PM
> Subject: [PHP] Commercial sites that use PHP
>
>
> > Can anyone send me a list of large commercial web sites that use PHP?
> >
> > I am trying to move to PHP here at work but I need some examples to
> impress
> > the boss!!!
> >
> > Thanks
> >
> > --
> > 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]
> >
> >
>
GoEureka, one of Australia's biggest search engines, uses php on at least
part of its site:
see http://www.goeureka.com.au
Mick
On Tue, 10 Apr 2001, Phil Labonte wrote:
> Can anyone send me a list of large commercial web sites that use PHP?
>
> I am trying to move to PHP here at work but I need some examples to impress
> the boss!!!
>
> Thanks
>
> --
> 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]
>
>
This looks like an old copy of sites.php :
http://www.phpinfo.com/sites.php
Btw, why has the following been removed?
http://www.php.net/sites.php
To difficult to maintain I suppose. At any rate, you'll find some good
examples.
Regards,
Philip
On Tue, 10 Apr 2001, Phil Labonte wrote:
> Can anyone send me a list of large commercial web sites that use PHP?
>
> I am trying to move to PHP here at work but I need some examples to impress
> the boss!!!
>
> Thanks
>
> --
> 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]
>
Phil Labonte wrote:
> Can anyone send me a list of large commercial web sites that use PHP?
>
> I am trying to move to PHP here at work but I need some examples to impress
> the boss!!!
>
> Thanks
We are working on compiling a list of these - anyone with information, please
email me as
well, and we'll include you.
On to the topic at hand - what will impress your boss?
Size of the site in pages? pageviews? number of servers? concurrent users?
dollars
the site cost to product? how many people it takes to run it?
NUMBERS
--------------
We migrated a site from NT/ASP to Linux/PHP. It used to require 5-6 machines -
we
*could* run it on one now, but keep 3 balanced for redundancy. (same exact
hardware).
People impressed with how large your server farm is would be disappointed in
our PHP
solution. We handle up to a few hundred simultaenous users at any one time,
often doing a number with a lot of zeros after it in a single day of commerce
(can't give
exact figures here).
Our local store - affordablecomputers.com, is pushing about 7 million page
views/month
(all dynamic PHP stuff) from one machine.
neopets.com is pushing 40+ million page views per day in PHP.
OTHER NAMES
----------------
IPOFinancial.com is a client of ours - not necessarily a huge site, but it's
extremely important
to his business, and it runs on Linux/PHP.
Also in the financial realm, my.zacks.com appears to run PHP. Zacks is a
pretty big name.
livebid.amazon.com was running PHP at one point. I think it still is.
aspsourcecode.com runs PHP. :)
Those are just a few of what I know. As I wrote before, we're putting together
a collection of this type of info for future reference. Anyone with more info,
please
contact me. Thanks. :)
Michael Kimsal
mailto:[EMAIL PROTECTED]
On 10 Apr 2001 06:52:07 -0700, Phil Labonte <[EMAIL PROTECTED]> wrote:
>Can anyone send me a list of large commercial web sites that use PHP?
Cribbed mercilessly from a number of sources:
http://gateway.digitaria.com/~chris/php/sites.html
Well since nobody else has chimed in(barring the fact it may be in one of
the already recommended lists) sourceforge is made with php, and is a pretty
noteworthy site.
--
phill
"Phil Labonte" <[EMAIL PROTECTED]> wrote in message
1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE">news:1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE...
> Can anyone send me a list of large commercial web sites that use PHP?
>
> I am trying to move to PHP here at work but I need some examples to
impress
> the boss!!!
>
> Thanks
>
> --
> 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]
>
Along with VaLinux.com and all new VA sites. Penguin Computing dies too.
Michael
On Tuesday, April 10, 2001, at 12:20 PM, Phillip Bow wrote:
> Well since nobody else has chimed in(barring the fact it may be in one
> of
> the already recommended lists) sourceforge is made with php, and is a
> pretty
> noteworthy site.
> --
> phill
>
> "Phil Labonte" <[EMAIL PROTECTED]> wrote in message
> 1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE">news:1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE...
>> Can anyone send me a list of large commercial web sites that use PHP?
>>
>> I am trying to move to PHP here at work but I need some examples to
> impress
>> the boss!!!
>>
>> Thanks
>>
>> --
>> 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: php-list-
>> [EMAIL PROTECTED]
>>
>
>
> --
> 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]
>
Does anyone know what Yahoo uses? It's obviously some form of scripting...
especially at http://my.yahoo.com. I've always been curious about what they
are using as their parser... it appears to spit out pure HTML, so it acts
like PHP...
Any thoughts?
-----Original Message-----
From: Michael Stearne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 9:27 AM
To: Phillip Bow
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Commercial sites that use PHP
Along with VaLinux.com and all new VA sites. Penguin Computing dies too.
Michael
On Tuesday, April 10, 2001, at 12:20 PM, Phillip Bow wrote:
> Well since nobody else has chimed in(barring the fact it may be in one
> of
> the already recommended lists) sourceforge is made with php, and is a
> pretty
> noteworthy site.
> --
> phill
>
> "Phil Labonte" <[EMAIL PROTECTED]> wrote in message
> 1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE">news:1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE...
>> Can anyone send me a list of large commercial web sites that use PHP?
>>
>> I am trying to move to PHP here at work but I need some examples to
> impress
>> the boss!!!
>>
>> Thanks
>>
>> --
>> 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: php-list-
>> [EMAIL PROTECTED]
>>
>
>
> --
> 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]
>
--
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]
Brent Langston wrote:
> Does anyone know what Yahoo uses? It's obviously some form of scripting...
> especially at http://my.yahoo.com. I've always been curious about what they
> are using as their parser... it appears to spit out pure HTML, so it acts
> like PHP...
>
> Any thoughts?
No offense here, but EVERYTHING does that. ASP, JSP, CF, Perl, Frontier, etc.
I think it's pretty impossible to tell what someone's using unless they announce
via file extensions or something, and even then you can't always tell.
Yahoo uses a lot of Python. Yahoo Mail pages have extensions of .py,
indicating Python. Yahoo acquired eGroups and Google this past year, both
of which openly use Python to generate pages. They most likely use Python
in conjunction with other scripting and compiled languages.
-Ben
-----Original Message-----
From: Michael Kimsal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 9:47 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Commercial sites that use PHP
Brent Langston wrote:
> Does anyone know what Yahoo uses? It's obviously some form of
scripting...
> especially at http://my.yahoo.com. I've always been curious about what
they
> are using as their parser... it appears to spit out pure HTML, so it acts
> like PHP...
>
> Any thoughts?
No offense here, but EVERYTHING does that. ASP, JSP, CF, Perl, Frontier,
etc.
I think it's pretty impossible to tell what someone's using unless they
announce
via file extensions or something, and even then you can't always tell.
--
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]
> Yahoo acquired eGroups and Google this past year,
Hum, I think yahoo bought google's technology but not
the company.
Google.com is using Perl, Python, Java/Servlet/JSP and C++.
Well that is what they ask for in their job oppenings.
py
At 10:20 AM 4/10/01 -0700, you wrote:
>Yahoo uses a lot of Python. Yahoo Mail pages have extensions of .py,
>indicating Python. Yahoo acquired eGroups and Google this past year, both
>of which openly use Python to generate pages. They most likely use Python
>in conjunction with other scripting and compiled languages.
>
>-Ben
>
>-----Original Message-----
>From: Michael Kimsal [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, April 10, 2001 9:47 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [PHP] Commercial sites that use PHP
>
>
>
>
>Brent Langston wrote:
>
> > Does anyone know what Yahoo uses? It's obviously some form of
>scripting...
> > especially at http://my.yahoo.com. I've always been curious about what
>they
> > are using as their parser... it appears to spit out pure HTML, so it acts
> > like PHP...
> >
> > Any thoughts?
>
>No offense here, but EVERYTHING does that. ASP, JSP, CF, Perl, Frontier,
>etc.
>I think it's pretty impossible to tell what someone's using unless they
>announce
>
>via file extensions or something, and even then you can't always tell.
>
>
>
>
>
>--
>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]
>
>--
>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]
+ ======================
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (514) 729-8100
+ [EMAIL PROTECTED]
+ ======================
Yahoo certainly uses PHP for at least some of it's workings. On a rare
occasion that it was down, I saw a PHP error message being displayed.
-----Original Message-----
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
p.net]On Behalf Of Brent Langston
Sent: 10 April 2001 17:31
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Commercial sites that use PHP
Does anyone know what Yahoo uses? It's obviously some form of scripting...
especially at http://my.yahoo.com. I've always been curious about what they
are using as their parser... it appears to spit out pure HTML, so it acts
like PHP...
Any thoughts?
-----Original Message-----
From: Michael Stearne [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 9:27 AM
To: Phillip Bow
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Commercial sites that use PHP
Along with VaLinux.com and all new VA sites. Penguin Computing dies too.
Michael
On Tuesday, April 10, 2001, at 12:20 PM, Phillip Bow wrote:
> Well since nobody else has chimed in(barring the fact it may be in one
> of
> the already recommended lists) sourceforge is made with php, and is a
> pretty
> noteworthy site.
> --
> phill
>
> "Phil Labonte" <[EMAIL PROTECTED]> wrote in message
> 1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE">news:1B5C7FA9D60DD511ABEF00508BFDEFDC105E@EXCHANGE...
>> Can anyone send me a list of large commercial web sites that use PHP?
>>
>> I am trying to move to PHP here at work but I need some examples to
> impress
>> the boss!!!
>>
>> Thanks
>>
>> --
>> 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: php-list-
>> [EMAIL PROTECTED]
>>
>
>
> --
> 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]
>
--
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]
--
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 are a couple:
http://www.marketplayer.com: they provide the real-time stock market
simulations for sites like etrade.com and smartmoney.com that have these
games.
http://www.chek.com/
-----Original Message-----
From: Phil Labonte [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 6:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Commercial sites that use PHP
Can anyone send me a list of large commercial web sites that use PHP?
I am trying to move to PHP here at work but I need some examples to impress
the boss!!!
Thanks
--
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]
We use it at www.care2.com - serves up over a million hits a day without any
problems. We've even hit the media metrix top 500 a few times. worldcom.com
also uses PHP (notice the .phtml extension).
--Joe
On Tue, Apr 10, 2001 at 01:21:16PM -0700, Ralph Guzman wrote:
> here are a couple:
>
> http://www.marketplayer.com: they provide the real-time stock market
> simulations for sites like etrade.com and smartmoney.com that have these
> games.
>
> http://www.chek.com/
>
>
>
> -----Original Message-----
> From: Phil Labonte [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 6:52 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Commercial sites that use PHP
>
>
> Can anyone send me a list of large commercial web sites that use PHP?
>
> I am trying to move to PHP here at work but I need some examples to impress
> the boss!!!
>
> Thanks
>
> --
> 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]
>
>
> --
> 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]
/******************************************************************************\
* Joe Stump - PHP/SQL/HTML Developer *
* http://www.care2.com - http://www.miester.org - http://gtk.php-coder.net *
* "Better to double your money on mediocrity than lose it all on a dream." *
\******************************************************************************/
www.texasmonthly.com
is the site I manage.. converted to php over the last year
Be careful with the .phtml assumption - there are mod_perl sites that
use it as well. There was some golf site I was looking at last year
that was .phtml, but when I asked one of their employees about it he
said (and the server headers confirmed) that it was mod_perl. :(
Joe Stump wrote:
> We use it at www.care2.com - serves up over a million hits a day without any
> problems. We've even hit the media metrix top 500 a few times. worldcom.com
> also uses PHP (notice the .phtml extension).
>
> --Joe
A few methods to find such info :
Netcraft :
------------------------------------------------------------
http://uptime.netcraft.com/up/graph/?host=www.php.net
Tells us :
The site www.php.net is running :
Apache/1.3.12 (Unix) DAV/0.9.18-dev
PHP/4.0.5-dev on Linux.
Through shell the following works :
foo$ telnet www.php.net 80 (press return)
HEAD / HTTP/1.0 (press return twice)
Tells us :
Trying 208.247.106.187...
Connected to www.php.net.
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 200 OK
Date: Tue, 10 Apr 2001 21:06:29 GMT
Server: Apache/1.3.12 (Unix) DAV/0.9.18-dev PHP/4.0.5-dev
X-Powered-By: PHP/4.0.5-dev
Last-Modified: Mon, 02 Apr 2001 19:45:01 GMT
Connection: close
Content-Type: text/html
Connection closed by foreign host.
And have a look at the fsockopen() examples in manual :
fsockopen() :
------------------------------------------------------------
http://www.php.net/manual/en/function.fsockopen.php
Regards,
Philip
Hi everybody,
I want to write to a given file using the code below. Somehow I get the
parse error. I thnk it has something to do with --- @Listing ----
Is this a setting in my php.ini which is wrong or is the code maybe wrong (I
copied it out of a php text book.)
Thanx
Wilbert
<body>
<?php
if (IsSet($submitted))
{
$fd = fopen($filename, "w+") or die("can't open the file $filename");
@Listing: $fout = fwrite($fd, $newstring);
@Listing: fclose($fd);
}
$fd = fopen($filename, "r") or die("can't open file $filename");
$initstring = fread($fd, filesize($filename));
fclose($fd);
echo "<FORM METHOD = 'POST' ACTION=\"$PHP_SELF\">";
echo "<INPUT TYPE = 'text' SIZE = 50 NAME = 'newstring' VALUE =
\"$initstring\">";
echo "<INPUT TYPE ='HIDDEN' NAME = 'submitted' VALUE = 1>";
echo "<INPUT TYPE = 'SUBMIT'>";
echo "</FORM>";
?>
</body>
-------------------------
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
[EMAIL PROTECTED]
-------------------------
> I want to write to a given file using the code below. Somehow I get the
> parse error. I thnk it has something to do with --- @Listing ----
> Is this a setting in my php.ini which is wrong or is the code maybe wrong (I
> copied it out of a php text book.)
What is this @Listing thing supposed to do? The @ character is used to
swallow errors/warnings from a function call. The way you are using it is
completely invalid.
It is documented here:
http://www.php.net/manual/en/language.operators.errorcontrol.php
-Rasmus
Hello everybody,
I recently developed this site : http://www.goodlookingindia.com .
I am adding many more sections in it.
Pl. let me know how can i improve the performance of this site.
Your reviews will be very helpful to me.
Thanks in advance.
Keyur
$$$$$$$
I know it is possible, I'm just not sure how, but I want a user to log into
the site then if they enter information into a form the database not only
stores the form info but also who entered it, so I would have a field called
user and it would either get theinformation from a cookie,which I have
already tried but am not having much luck with or is there a way of avoiding
cookies altogether and using the database on it's own, which would suit me
better.
Thanks in Advance
George
You can use session management
keyur
----- Original Message -----
From: "george" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 8:19 PM
Subject: [PHP] user login
> I know it is possible, I'm just not sure how, but I want a user to log
into
> the site then if they enter information into a form the database not only
> stores the form info but also who entered it, so I would have a field
called
> user and it would either get theinformation from a cookie,which I have
> already tried but am not having much luck with or is there a way of
avoiding
> cookies altogether and using the database on it's own, which would suit
me
> better.
>
> Thanks in Advance
>
> George
>
>
>
> --
> 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]
>
>
can the moderator please boot this person from the list?
~kurth
>Delivered-To: [EMAIL PROTECTED]
>
>Date: Tue, 10 Apr 2001 09:56:07 +0300
>From:
>To: <[EMAIL PROTECTED]>
>Message-Id: <0104100956074836@parkntsrv>
>
>This is a description of the listmanager commands recognized by the
>XtraMail SMTP/POP3 service.
>
>
>
>JOIN or SUBSCRIBE
>-----------------
>The join or subscribe commands are used by users, where want to join the
>list.
>This commands are only accepted if allowed. Otherwise, the owner gets a
>messages
>about the user request.
>
>Usage:
> join listname, [mail address], [full name]
>or
> subscribe listname, [mail address], [full name]
>
>The values inside the braces are optional. If no mail address is given, the
>known values will be used.
>
>
>
>LEAVE or UNSUBSCRIBE
>--------------------
>Users can leave the list automatically using the leave or unsubscribe command.
>
>Usage:
> leave listname, [mail address]
>or
> unsubscribe listname, [mail address]
>
>The values inside the braces are optional. If no mail address is given, the
>known values will be used.
>
>
>LISTS
>-----
>Use this command to get a list of all local public mailing lists that are
>served by this server.
>
>Usage: lists
>
>This command has no arguments
>
>
>
>WHICH
>-----
>This command gives you listing of all mailing lists to which you have
>subscribed.
>
>Usage: which [mail address]
>
>The values inside the braces are optional. If no mail address is given, the
>known values will be used.
>
>
>
>RECIPIENTS or REVIEW
>--------------------
>Get a listing of all members of the specified mailing list.
>
>Usage:
> recipients <list>
>or
> review <list>
>
>
>
>HELP
>----
>Use this command to get a description of all listmanager commands (This file).
>
>Usage: help
>
>This command has no arguments.
Greetings,
I need to access a remote oracle database. What I mean is that the machine
that is allowed access to the oracle database is not running php...I have
access to the machine with the oracle access from my machine which is
running php. Boy that sounds confusing.
anyway I am setting my environment with putenv(oracle_home=/something) and
putenv(oracle_sid=database)...what can I do? any ideas?
Brian D.
Running PHP 4
At 08:42 AM 4/10/01 -0700, Dunaway, Brian wrote:
>I need to access a remote oracle database. What I mean is that the machine
>that is allowed access to the oracle database is not running php...I have
>access to the machine with the oracle access from my machine which is
>running php. Boy that sounds confusing.
No, not really.
>anyway I am setting my environment with putenv(oracle_home=/something) and
>putenv(oracle_sid=database)...what can I do? any ideas?
I'm assuming that this isn't working for you. Make sure you set
NLS_LANG etc, as well in your environment, as specified in the PHP
documentation.
Do you have an Oracle client installed on the machine that has PHP
installed on it? Did you compile PHP with oci8 support?
Here, our web server (Linux) has Apache/PHP and Oracle Net8 client
installed. The Net8 client talks to our Sun box with Oracle 8i
installed. Works with PHP with no hitches.
>Brian D.
yeah, me too. :)
>Running PHP 4
yeah, me too. :)
- Brian
-------------------------------------
Brian S. Dunworth
Sr. Software Development Engineer
Oracle Database Administrator
The Printing House, Ltd.
(850) 875-1500 x225
<[EMAIL PROTECTED]>
-------------------------------------
I am receiving a Netscape security error (version 4.7) when attempting to
submit my form without a complete email address.
Here is the link:
http://www.contus.com/test/golf/page.php3?site=contusgolf&page=golf%20tours&
ad=golf
At this page choose the any hyper link named "Contact us for more
Information"
A quote form will come up. My calling script is set up to check the name
and email field or name and phone fields to ensure they are not blank.
Here is the code to check the form fields:
if (isset($miniquote_submit))
{
if ( ($sender_name != "") && ( ( ($Contact != "Contact by Phone") &&
($email != "") ) ||
( ($Contact == "Contact by Phone") && ($Phone != "") ) ) )
If I enter an incomplete or blank email address I receive the NS security
issue. The code should be checking the Contact field -- and if it is set to
phone should ignore the blank email field. Also since my error checking
code is simplistic, it really should allow any value in the email field and
it should process -- however if I simply enter "cc" I receive the same
security error.
I have been looking at this issue for a couple days now. It works OK for me
on IE-- and also on a different server. The server that I am having the
problems with has php 4.0B2 installed.
I would appreciate any insight!
Hi,
I think I finally found a cms that does most of what I want it to:
ezpublish (http://developer.ez.no/article/archive/4/)
I'm trying to install it, I'm on a apache server, a few questions:
1. how do I install Imagemagick? Seems I need to recompile PHP and do
--with-imagick=DIR, is that correct? Do I need to install Imagemagick
before I do that, or just download it and untar it in the right directory?
2. Where can I get libXml2 version > 2.2.9 and libQdom? Same question as
above: how do I install them? Thanks!
Finally: I can't find a readme to install this ezpublish, which is really
weird. It must be there?
Thanks for any tips
Peter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://liga1.com: building multiple language/culture websites
do you have php3 installed still?
if so, your mime types might be conflicting or something
On 4/10/01 3:35 AM, "Thomas Angst" <[EMAIL PROTECTED]> wrote:
> I didn't get any further errors as this in /ver/log/httpd/error_log:
> PHP Warning: Function registration failed - duplicate name - define in
> Unknown on line 0
> PHP Warning: Function registration failed - duplicate name - defined in
> Unknown on line 0
> PHP Warning: Function registration failed - duplicate name - each in
> Unknown on line 0
> PHP Warning: Function registration failed - duplicate name - strlen in
> Unknown on line 0
> PHP Warning: Function registration failed - duplicate name - strcmp in
> Unknown on line 0
> PHP Warning: Function registration failed - duplicate name - strcasecmp in
> Unknown on line 0
> PHP Warning: Function registration failed - duplicate name -
> error_reporting in Unknown on line 0
> PHP Warning: Function registration failed - duplicate name - leak in
> Unknown on line 0
> PHP Warning: Function registration failed - duplicate name -
> function_exists in Unknown on line 0
> PHP Warning: Basic Functions: Unable to register functions, unable to load
> in Unknown on line 0
>
> and /sbin/init.d does no more exist
>
> Thomas
>
>
I really need help.
I cant seem to get phpMyAdmin to put my backup dbase onto the new server.
I always get some stupid error because of the html which is stored in the
dbase.
Does someone know of a cgi script that would do it successfully, or maybe a
telnet command that will dump it?
Any help is greatly appreciated.
Thanks
Hello,
I am offering php hosting with features at a price no one else has, as
far as I know. I'm not going to create a giant web hosting service.
I'm doing this to pay for my web portal.
- This web portal has been operated by the same person (my partner)
for over four years. I have been a co-administrator for about six
months.
- this is on a dedicated server with OC3+ connection, bandwidth is
guaranteed
- 24/7 uptime is guaranteed, last reboot was 2/12/01. This site will
not be down for more than one hour per year.
- The computer running this site is at a web server farm in a
protected building. Any hardware that fails is replaced immediately.
- no bandwidth sucking sites are allowed, e.g. porno, fileserver,
video, etc.
- php 4.02 is installed
- perl 5.0x and DBI are installed
- MySQL 3.23.32 and PostgreSQL 7.0.3 are set up
- You get a total of two databases
- You get five email addresses, telnet, ssh, and ftp access
- I will set up your domain name for an extra $15 or you can put your
site at www.singlesconnection.org/<your username>
- you get 40MB of hd space
- webserver is Apache 1.3.12 and Red Hat Linux with kernel 2.2.18
- hardware - Pentium II with 128MB ram, scsi hard drive
My name is Jeffrey Greer. You can mail me at
[EMAIL PROTECTED]
You can view more info at
http://www.singlesconnection.org/services/php_hosting.php
--
Jeff Greer
- B.S. computer science - Univ. MO - Rolla
- I do web hosting and development. Details
at http://www.singlesconnection.org/services/
Yes, we know, you've told us three times now.
-----Original Message-----
From: Jeffrey Greer [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2001 17:45
To: [EMAIL PROTECTED]
Subject: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
Hello,
I am offering php hosting with features at a price no one else has, as
far as I know. I'm not going to create a giant web hosting service.
I'm doing this to pay for my web portal.
<snip>
**********************************************************************
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or confidentiality'
**********************************************************************
/me counts to himself
Yep 3 times, thats as bad as those people who sign up the lottery ads to
this list
----- Original Message -----
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: "'Jeffrey Greer'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 12:52 PM
Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
> Yes, we know, you've told us three times now.
>
>
> -----Original Message-----
> From: Jeffrey Greer [mailto:[EMAIL PROTECTED]]
> Sent: 10 April 2001 17:45
> To: [EMAIL PROTECTED]
> Subject: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
>
>
> Hello,
>
> I am offering php hosting with features at a price no one else has, as
> far as I know. I'm not going to create a giant web hosting service.
> I'm doing this to pay for my web portal.
>
> <snip>
>
>
>
> **********************************************************************
> 'The information included in this Email is of a confidential nature and is
> intended only for the addressee. If you are not the intended addressee,
> any disclosure, copying or distribution by you is prohibited and may be
> unlawful. Disclosure to any party other than the addressee, whether
> inadvertent or otherwise is not intended to waive privilege or
confidentiality'
>
> **********************************************************************
>
> --
> 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]
>
How come no one is subscribing us to any porn lists? Joke!!!
Mike
-----Original Message-----
From: Chris Anderson [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 06, 2001 5:32 PM
To: Jon Haworth; 'Jeffrey Greer'; [EMAIL PROTECTED]
Subject: Re: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
/me counts to himself
Yep 3 times, thats as bad as those people who sign up the lottery ads to
this list
----- Original Message -----
From: "Jon Haworth" <[EMAIL PROTECTED]>
To: "'Jeffrey Greer'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 12:52 PM
Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
> Yes, we know, you've told us three times now.
>
>
> -----Original Message-----
> From: Jeffrey Greer [mailto:[EMAIL PROTECTED]]
> Sent: 10 April 2001 17:45
> To: [EMAIL PROTECTED]
> Subject: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server ___
>
>
> Hello,
>
> I am offering php hosting with features at a price no one else has, as
> far as I know. I'm not going to create a giant web hosting service.
> I'm doing this to pay for my web portal.
>
> <snip>
>
>
>
> **********************************************************************
> 'The information included in this Email is of a confidential nature and is
> intended only for the addressee. If you are not the intended addressee,
> any disclosure, copying or distribution by you is prohibited and may be
> unlawful. Disclosure to any party other than the addressee, whether
> inadvertent or otherwise is not intended to waive privilege or
confidentiality'
>
> **********************************************************************
>
> --
> 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]
>
--
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]
> Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server
I wonder if they charge extra for HTML hosting? =)
But seriously, WoW! My own dedicated OC3 line! Man, for only
$8/month..that rocks!
> > I am offering php hosting with features at a price no one else has, as
> > far as I know.
Nope, your right, some places even offer less!
At 06:15 PM 4/10/2001, Jason Lotito wrote:
no no - its an OC3+ web server.....must be an overseas brand..or
something......i've never heard of it.....maybe its an SGI or something
they have wacky names for their stuff :-)
no bandwidth sucking sites? on an OC3...we're talking gigabits per sec
here.....
no pron? damn! that puts me out!
what about security? are they on top of the latest versions and
patches.....i mean after all...it is REDHACK......
spammers are funny people :-)
~kurth
> > Subject: RE: [PHP] __ $8/mo php hosting on 24/7, OC3+ web server
>
>I wonder if they charge extra for HTML hosting? =)
>
>But seriously, WoW! My own dedicated OC3 line! Man, for only
>$8/month..that rocks!
>
> > > I am offering php hosting with features at a price no one else has, as
> > > far as I know.
>
>Nope, your right, some places even offer less!
>
>
>--
>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]
On 10 Apr 2001 12:08:01 -0700, [EMAIL PROTECTED] (Kurth Bemis)
wrote:
>At 06:15 PM 4/10/2001, Jason Lotito wrote:
>
>no no - its an OC3+ web server.....must be an overseas brand..or
>something......i've never heard of it.....maybe its an SGI or something
>they have wacky names for their stuff :-)
>
It is at least OC3. I forgot what comes next after OC3.
>no bandwidth sucking sites? on an OC3...we're talking gigabits per sec
>here.....
>
You would max out the 100Mb/s network card first.
>no pron? damn! that puts me out!
>
I am a co-administrator. I don't have a problem with porn sites, but
my partner would object. But if you're really interested and you pay
us lots of money we can take care of you.
>what about security? are they on top of the latest versions and
>patches.....i mean after all...it is REDHACK......
>
I'm no security expert, but I can apply the most important patches.
Yesterday I added mod_ssl to apache.
>spammers are funny people :-)
>
>~kurth
>
I'm not your average spammer. I am a computer scientist dedicated to
the struggle against the fascist MS hegemony and all other fascist
corporations who try to control computer technology. Support my
business and you'll be doing the world a favor. ;^)
--
Jeff Greer
- B.S. computer science - Univ. MO - Rolla
- I do web hosting and development. Details
at http://www.singlesconnection.org/services/
At 05:55 PM 4/10/2001, Jeffrey Greer wrote:
>On 10 Apr 2001 12:08:01 -0700, [EMAIL PROTECTED] (Kurth Bemis)
>wrote:
>
> >At 06:15 PM 4/10/2001, Jason Lotito wrote:
> >
> >no no - its an OC3+ web server.....must be an overseas brand..or
> >something......i've never heard of it.....maybe its an SGI or something
> >they have wacky names for their stuff :-)
> >
>
>It is at least OC3. I forgot what comes next after OC3.
OC12 - whose your upstream provider?
> >no bandwidth sucking sites? on an OC3...we're talking gigabits per sec
> >here.....
> >
>
>You would max out the 100Mb/s network card first.
not a fiber gigabit nic card......their had for about 150 USD.....plus
99.9% of all web trafic is burst...not continues transfer....and if your
maxing out a 100Mb connection then you aren't running a p3..your running a
supersparc dual 400 or something :-) can i get one of those for $8.00 a month?
> >no pron? damn! that puts me out!
> >
>
>I am a co-administrator. I don't have a problem with porn sites, but
>my partner would object. But if you're really interested and you pay
>us lots of money we can take care of you.
well...you can pay my sister no money and she'll take care of you :-) J/K
(she's a bit slutty around the edges)
> >what about security? are they on top of the latest versions and
> >patches.....i mean after all...it is REDHACK......
> >
>
>I'm no security expert, but I can apply the most important patches.
>Yesterday I added mod_ssl to apache.
thats not security - thats a requirement. Patched cron
latley? sendmail....you know about 5 hours have gone by since we started
this thread - i bet there's a security update available. :-)
> >spammers are funny people :-)
> >
> >~kurth
> >
>
>I'm not your average spammer. I am a computer scientist dedicated to
>the struggle against the fascist MS hegemony and all other fascist
>corporations who try to control computer technology. Support my
>business and you'll be doing the world a favor. ;^)
right on brutha!
>--
>Jeff Greer
>- B.S. computer science - Univ. MO - Rolla
>- I do web hosting and development. Details
> at http://www.singlesconnection.org/services/
>
>--
>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]
Hi,
I don't mean to bash, but these sort of answers don't give me a lot of
faith in the service you are starting. At the very least I expect my
service provider to provide competent answers to questions, and to know the
basics of security.
> >no no - its an OC3+ web server.....must be an overseas brand..or
> >something......i've never heard of it.....maybe its an SGI or something
> >they have wacky names for their stuff :-)
> >
> It is at least OC3. I forgot what comes next after OC3.
OC12.
> >no pron? damn! that puts me out!
> >
>
> I am a co-administrator. I don't have a problem with porn sites, but
> my partner would object. But if you're really interested and you pay
> us lots of money we can take care of you.
And if you give me lots of money I'll be happy to make up a pricing scheme
for your new business plan, and maybe do some security consulting too.
> >what about security? are they on top of the latest versions and
> >patches.....i mean after all...it is REDHACK......
> >
>
> I'm no security expert, but I can apply the most important patches.
> Yesterday I added mod_ssl to apache.
If you are adding mod_ssl then you aren't really patching anything you are
just adding a feature, and just installing patches is not even the start of
having a secure service. I suspect your partner at least has some security
experience or I expect it will not be long before your site, and your
client's sites are 0wn3d.
> >spammers are funny people :-)
> >
> >~kurth
> >
>
> I'm not your average spammer. I am a computer scientist dedicated to
> the struggle against the fascist MS hegemony and all other fascist
> corporations who try to control computer technology. Support my
> business and you'll be doing the world a favor. ;^)
You are definately not the average spammer.
> --
> Jeff Greer
> - B.S. computer science - Univ. MO - Rolla
> - I do web hosting and development. Details
> at http://www.singlesconnection.org/services/
-phill
*Computer User dedicated to computer using*
On Tue, 10 Apr 2001, Kurth Bemis wrote:
> no pron? damn! that puts me out!
isn't a pron a fish?
On Tue, 10 Apr 2001, Jeffrey Greer wrote:
> >what about security? are they on top of the latest versions and
> >patches.....i mean after all...it is REDHACK......
> >
>
> I'm no security expert, but I can apply the most important patches.
> Yesterday I added mod_ssl to apache.
Okay, can you explain how this improve the security of your RedHat server?
> >spammers are funny people :-)
> >
> >~kurth
> >
>
> I'm not your average spammer. I am a computer scientist dedicated to
> the struggle against the fascist MS hegemony and all other fascist
> corporations who try to control computer technology. Support my
> business and you'll be doing the world a favor. ;^)
... and help advocate mail list spam while you are at it ... Woo Hoo ...
I'm not trying to provide the level of service of a large isp or even
get 100 customers. I would just like to pay for my half of the web
portal. I thought $8/mo for my service would be a good value for php
programmers who do not need a high level of security.
Would you say $8/mo is not a good value for the level of service I
will provide?
Web hosting is not my main business. I'm a software developer.
Earlier I wrote:
> I'm no security expert, but I can apply the most important patches.
> Yesterday I added mod_ssl to apache.
I didn't mean adding ssl is a patch. I know how to apply patches to
source code and make other updates.
On 10 Apr 2001 15:12:59 -0700, [EMAIL PROTECTED] ("Phillip Bow") wrote:
>Hi,
> I don't mean to bash, but these sort of answers don't give me a lot of
>faith in the service you are starting. At the very least I expect my
>service provider to provide competent answers to questions, and to know the
>basics of security.
>
<snipped>
--
Jeff Greer
- B.S. computer science - Univ. MO - Rolla
- I do web hosting and development. Details
at http://www.singlesconnection.org/services/
Hi all,
I don't know if I'm in the correct mailling list or not, but
could someone provide me with some information about the developement
of new PHP modules (documentation, source-code, ...) ?
Thanks in advance.
Best regards,
_____________________________________________________________
Carlos Serrão [EMAIL PROTECTED]
http://www.carlos-serrao.com
DCTI - IS/IT Department IS/IT Research and Development
ADETTI/ISCTE - Av.Forcas Armadas 1600-082 LISBOA Portugal
Tel.: +351217903064/+351217903901 Fax: +351217935300
I am writting a session enabled webapp that has a typical login page. The
page submits to itself and upon validation, I want to allow the user to
continue on to the next page.
>From everything I have read so far, the only way to redirect
programmatically is via header(). Unfortunately, what I'm seeing is that
while the followup page is loaded, the location in the address bar (of IE
5.5) is not updated. Is this something specific to IE? I would like the
address bar to have the correct address instead of the old page.
Any suggestions?
- Daniel
There is also the client-side META tag redirect, which has been deprecated
by W3C (although it is hard to imagine the browser makers not supporting
this for quite a while longer):
echo("<HTML><HEAD><META HTTP-EQUIV=\"refresh\"
CONTENT=\"$delay;url=$url\"><
/HEAD><BODY BGCOLOR=#ffffff>$message</BODY></HTML>");
As for the address bar contents not changing, I don't know what to say. I
haven't seen your problem. Are you actually referring to the Title Bar
instead of the address bar? The contents of the <TITLE> tag need to be
different for each page for the title bar to change.
Kirk
> From everything I have read so far, the only way to redirect
> programmatically is via header(). Unfortunately, what I'm
> seeing is that
> while the followup page is loaded, the location in the
> address bar (of IE
> 5.5) is not updated. Is this something specific to IE? I
> would like the
> address bar to have the correct address instead of the old page.
>
> Any suggestions?
>
> - Daniel
>
On Tue, 10 Apr 2001 14:18:54 -0400, Daniel ([EMAIL PROTECTED])
wrote:
>I am writting a session enabled webapp that has a typical login
>page. The
>page submits to itself and upon validation, I want to allow the user
>to
>continue on to the next page.
>
>>From everything I have read so far, the only way to redirect
>programmatically is via header(). Unfortunately, what I'm seeing is
>that
>while the followup page is loaded, the location in the address bar
>(of IE
>5.5) is not updated. Is this something specific to IE? I would
>like the
>address bar to have the correct address instead of the old page.
>
>Any suggestions?
in my experience, using a full url:
header("Location: http://www.mysite.com/mypage.html");
will do what you want while just using a path:
header("Location: /mypage.html");
will not.
I might have misread this comment, but I found the opposite.
In one instance, I had:
header("Location: $path/newpage.php");
and in another instance:
header("Location: newpage.php");
The latter (without the path) did update the address bar properly. Of
course, there might have been a problem with the way I was parsing the $path
too.. :/
One other thing for posterity's sake:
I had a difficult time discovering why one of the properties in an object I
was storing via a session was being clobbered. I discovered that it was
because I was assuming that nothing after the header() call mattered. What
I didn't realize was that even though the header was set up to redirect to a
new page, the rest of the code in the page was still executing! I put an
exit() statement after the header() call to prevent this.
Daniel
"Mark Maggelet" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Tue, 10 Apr 2001 14:18:54 -0400, Daniel ([EMAIL PROTECTED])
wrote:
>I am writting a session enabled webapp that has a typical login
>page. The
>page submits to itself and upon validation, I want to allow the user
>to
>continue on to the next page.
>
>>From everything I have read so far, the only way to redirect
>programmatically is via header(). Unfortunately, what I'm seeing is
>that
>while the followup page is loaded, the location in the address bar
>(of IE
>5.5) is not updated. Is this something specific to IE? I would
>like the
>address bar to have the correct address instead of the old page.
>
>Any suggestions?
in my experience, using a full url:
header("Location: http://www.mysite.com/mypage.html");
will do what you want while just using a path:
header("Location: /mypage.html");
will not.
--
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]
On Tue, 10 Apr 2001 17:16:08 -0400, Daniel ([EMAIL PROTECTED])
wrote:
>I might have misread this comment, but I found the opposite.
>
>In one instance, I had:
>header("Location: $path/newpage.php");
>and in another instance:
>header("Location: newpage.php");
I'm talking about using the full url (http://...), this will update
the address bar every time (in my experience)
>The latter (without the path) did update the address bar properly.
I would stay away from doing it that way, it looks like it could be
confusing for some browsers.
I have a php script that browses a database table.
You can page through the database table by
clicking these links:
http://localhost/browse.php?action=first
http://localhost/browse.php?action=prev
http://localhost/browse.php?action=next
http://localhost/browse.php?action=last
When you click the 'action=next' link, the script
displays the next X records (the script remembers
its position within the table).
The script also displays a link to a jpeg of the item
described in the database table. For example:
http://localhost/images/123456.jpg
If the user clicks the image link, the browser
displays the jpeg.
Suppose the user clicks the 'action=next' link,
and then clicks an image link. The browser
displays the jpeg. When the user clicks the
back button, the browser executes the previous
link (ie. the 'action=next' link) which displays
the next page of database records.
I want the browser to NOT display the next page
of data. I want the browser to stay on the page
that contains the link to the jpeg the user clicked.
How can I prevent the previous link from being
executed when the user clicks the back button?
Thanks -
Jim
Hi,
since there doesn't seem to be a mailing list for ezpublish (a cms in php),
I created one:
http://groups.yahoo.com/group/php-ezpublish
Feel free to join up, I basically created it because it seems a very
powerful but complex system.
Peter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://liga1.com: building multiple language/culture websites
"Greig, Euan" <[EMAIL PROTECTED]> wrote:
> I was hoping that I could use this function to enable me to finish scripts
tidily
> when they time out or are aborted by the user. eg display the message
"script
> timed out". However this will not work as no output is allowed in the
shutdown
> function. I can see other ways to do what I want (but suggestions would
> always be welcome) but the real point of this email is this: what sort of
thing
> would you use register_shutdown_function to achieve?
I've used it for database inserts or calls to external programs that took a
long time, but did not affect the output sent to the browser. In those
cases I used register_shutdown_function() inside a control structure to call
another function (after outputting HTML from within the same control
structure).
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ("Greig, Euan") wrote:
> I was hoping that I could use this function to enable me to finish scripts
> tidily when they time out or are aborted by the user. eg display the message
> "script timed out". However this will not work as no output is allowed in the
> shutdown function. I can see other ways to do what I want (but suggestions
> would always be welcome) but the real point of this email is this: what sort
> of thing would you use register_shutdown_function to achieve?
Not a fancy example, but...
I use it in a script which loops through a database of urls to validate
them. With each loop, set_time_limit gets reset for a length of time more
than sufficient for processing a valid url. If an iteration takes too
long, the script will timeout and die without an error message. Since in
this case timeout == bad url, register_shutdown_function() allows me to
send a final query back to the database marking the current url as invalid.
Otherwise, when I start the script up again it would always have that same
url sitting at the top of the processing list where it would just timeout
over and over again (which is what it used to do--what a PITA).
You could also use register_shutdown_function() to, for instance, email
yourself information about why a script terminated and what state it was
left in. Output to the *browser is disallowed, but output to other
destinations (logs, email, filesystem, databases, etc.) still works. You
can take advantage of that.
--
CC
For another example use of shutdown function.
Take a look at how PEAR destructor is implemented. It's using shutdown function.
Regards,
--
Yasuo Ohgaki
""Greig, Euan"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I was hoping that I could use this function to enable me to finish scripts
tidily when they time out or are aborted by the user. eg display the message
"script timed out". However this will not work as no output is allowed in the
shutdown function. I can see other ways to do what I want (but suggestions would
always be welcome) but the real point of this email is this: what sort of thing
would you use register_shutdown_function to achieve?
>
> Euan Greig
> Technical Consultant
> BRANN DATA
> [EMAIL PROTECTED]
> 01285 645997
>
>
>
>
>
> **************************************************************************
> Any opinions expressed in this email are those of the individual and
> not necessarily the Company. This email and any files transmitted with
> it, including replies and forwarded copies (which may contain alterations)
> subsequently transmitted from the Company, are confidential and solely for
> the use of the intended recipient. If you are not the intended recipient
> or the person responsible for delivering to the intended recipient, be
> advised that you have received this email in error and that any use is
> strictly prohibited.
>
> **************************************************************************
>
> --
> 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]
>
Hello All,
I'm trying to build a way to transfer my orders to a HTML page instead of using GUI
that I've designed.
In order to do that I need to display all the orders of the day and have checkboxes on
each so that the user can select only the orders that we will process.
The number of checkboxes on this form will depend on the number of orders of that day.
So the form and the number of its variables will be dynamic as well.
Each checkbox has to have the name property that can be matched to the
customercode+ordernumber. After the form is submited I need to scan all the variables
that were checked so that it can be included on the next query.
Has anyone tried that or did that before? Is there any URL or PHP code that can be
used to learn that?
Thank you very much,
Carlos Fernando.
What you need to do is to have a function in the form processing page that
iterates through $HTTP_POST_VARS and saves the name and value of each item
in the form. You will want to exclude your submit button and if there are
other form items you don't want to save, you might want to name them with a
unique name (such as prepending "nosave") so you can exclude them as well.
The function I wrote to do this is as follows:
function SetAllAnswers()
{
global $HTTP_POST_VARS;
foreach($HTTP_POST_VARS as $qID=>$value)
{
if ($qID != 'submit' && !stristr($qID,'nosave'))
$this->SetAnswer($qID, $value);
}
}
""Nando2"" <[EMAIL PROTECTED]> wrote in message
021101c0c1f1$fb3e0a00$0ab4c5c8@Nando4">news:021101c0c1f1$fb3e0a00$0ab4c5c8@Nando4...
Hello All,
I'm trying to build a way to transfer my orders to a HTML page instead of
using GUI that I've designed.
In order to do that I need to display all the orders of the day and have
checkboxes on each so that the user can select only the orders that we will
process.
The number of checkboxes on this form will depend on the number of orders of
that day. So the form and the number of its variables will be dynamic as
well.
Each checkbox has to have the name property that can be matched to the
customercode+ordernumber. After the form is submited I need to scan all the
variables that were checked so that it can be included on the next query.
Has anyone tried that or did that before? Is there any URL or PHP code that
can be used to learn that?
Thank you very much,
Carlos Fernando.
Hello all,
I need to display a page on text format that will be the result of a query. This page
will not be saved on my server harddrive but it has to allow the user to save it to
their HD.
The problem is that the page has to be saved on the customer HD automaticaly (He/She
should not click on the browser's save option) and it also has to be saved on a fixed
file name like text.txt or schedule.csv.
Does anyone know how to implement that?
Thank you very much,
Carlos Fernando Scheidecker Antunes.
I am using a session to store a variable so when someone enters something
into a field the persons username(which is stored in the session) is also
entered into anoter field.
The problem is that it only works the first time, so how can I make the
session last for a required length of time, so that if the person leaves the
site and returns without the login then the variable is still stored and
entered into the field.
Thanks in advance.
George
> I am using a session to store a variable so when someone enters something
> into a field the persons username(which is stored in the session) is also
> entered into anoter field.
> The problem is that it only works the first time, so how can I make the
> session last for a required length of time, so that if the person leaves
> the
> site and returns without the login then the variable is still stored and
> entered into the field.
that's not a session-issue!
use COOKIES
witty
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
I tried using a cookie I still had the same problem that it worked first
time but even if you stayed on the page and put a sencond entry in it would
not work,
George
This confused me for awhile, because the single equal sign seemed to work
for comparison, but created inexplicable errors in my programs. It seems
strange to me that a successful variable value assignment does not return
true.
example:
<?
$shiny = 1;
if($shiny = 0){ echo("This wont print"); }
echo( $shiny ); //this will return 0
?>
--Dan
> if($shiny = 0){
This does not compare anyting, it assigns 0 to $shiny
> echo( $shiny ) // this will return 0
That's normal, you just assign 0 to it ;)
= assignment operator
== comparison operator
py
At 01:53 PM 4/10/01 -0700, you wrote:
>This confused me for awhile, because the single equal sign seemed to work
>for comparison, but created inexplicable errors in my programs. It seems
>strange to me that a successful variable value assignment does not return
>true.
>
>example:
>
><?
>
> $shiny = 1;
> if($shiny = 0){ echo("This wont print"); }
> echo( $shiny ); //this will return 0
>
>?>
>
>--Dan
>
>
>
>--
>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]
+ ======================
+ Pierre-Yves Lem@ire
+ E-MedHosting.com
+ (514) 729-8100
+ [EMAIL PROTECTED]
+ ======================
>
> > if($shiny = 0){
> This does not compare anyting, it assigns 0 to $shiny
yes i know, but shouldnt this operation return true?
>
> > echo( $shiny ) // this will return 0
> That's normal, you just assign 0 to it ;)
>
> = assignment operator
> == comparison operator
>
> py
>
>
> At 01:53 PM 4/10/01 -0700, you wrote:
> >This confused me for awhile, because the single equal sign seemed to work
> >for comparison, but created inexplicable errors in my programs. It seems
> >strange to me that a successful variable value assignment does not return
> >true.
> >
> >example:
> >
> ><?
> >
> > $shiny = 1;
> > if($shiny = 0){ echo("This wont print"); }
> > echo( $shiny ); //this will return 0
> >
> >?>
> >
> >--Dan
> >
> >
> >
> >--
> >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]
>
>
> + ======================
> + Pierre-Yves Lem@ire
> + E-MedHosting.com
> + (514) 729-8100
> + [EMAIL PROTECTED]
> + ======================
>
>
> --
> 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]
>
It looks to me like the value of an assignment is the value assigned, as in
Perl. But I don't know for sure, haven't come across this in the manual.
Kirk
> -----Original Message-----
> From: Dan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 10, 2001 3:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] assignment operator works for comparison??
>
>
>
> >
> > > if($shiny = 0){
> > This does not compare anyting, it assigns 0 to $shiny
>
> yes i know, but shouldnt this operation return true?
You are right, thank you.
> It looks to me like the value of an assignment is the value assigned, as
in
> Perl. But I don't know for sure, haven't come across this in the manual.
>
> Kirk
>
> > > > if($shiny = 0){
> > > This does not compare anyting, it assigns 0 to $shiny
> >
> > yes i know, but shouldnt this operation return true?
OK, a user visits my site and progresses through the following 3 pages,
none which have forms on them, using sessions.
PageA (http://URL-XYZ/)
SessionID=ID123 -> Cookie
PageID=PageA -> Cookie
PageB (http://URL-XYZ/)
SessionID=ID123 -> Cookie
PageID=PageB -> Cookie
PageC (http://URL-XYZ/)
SessionID=ID123 -> Cookie
PageID=PageC -> Cookie
If the user now uses the right click on the back button, skips from
'PageC' to back to 'PageA', what does the cookie contain?
I'm hoping that it contains:
SessionID=ID123 -> Cookie
PageID=PageA -> Cookie
because there's a separate cookie in memory for each instance of history
on the browser, and not,
SessionID=ID123 -> Cookie
PageID=PageC -> Cookie
so that when the user now connects to 'PageB' again, the script knows
that the user is coming from 'PageA', not assuming 'PageC'.
Any help on this use of cookies would be much appreciated.
It's obviously much easier with a hidden variable labeled with the page
name.
Hello all!
I have a PHP4 script that produces a text file and I would like that when the user
access this script the text content of it was forced to be saved meaning that when the
user selects it he/she will have the save dialog form to save the text file with the
filename specified in the header function. So far I have managed to create the text
file dynamicaly but still I have to click the browser's save button to save the file
with the determined filename. I wanted it to be forced.
Does anyone know how to do it ?
Here's the code :
<?php
// Carlos Fernando Scheidecker Antunes : Test saving text files with PHP
// this sets the content type as being plain text
header("Content-Type : text/plain; charset=\"iso-8859-1\"");
// this sets the file name
header("Content-Disposition: filename=\"test.txt\"");
// creates the dynamic content of the text file here
print("TextFile test\r\n\");
for ($i=1; $i < 100; $i++) {
print("This is line number ".$i."\r\n");
}
?>
Thanks,
Carlos Fernando Scheidecker Antunes
OK I know that. What I want to do is to have the save dialog displayed as if
it was a HTTP file download procedure. If you click on a ZIP file say
test.zip the save dialog will be displayed. I want to do the same but not
with a phisical file. Instead I want to do it with the content of the page
(text).
----- Original Message -----
From: "Brad S. Jackson" <[EMAIL PROTECTED]>
To: "Nando2" <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 7:00 PM
Subject: Re: [PHP] Forcing a dynamic created text file to be saved
Whether the save dialog is displayed is determined by the registry settings
for
the user's browser.
You cannot control that by what you send.
"Nando2" <[EMAIL PROTECTED]> wrote:
Hello all!
I have a PHP4 script that produces a text file and I would like that
when the user access this script the text content of it was forced to be
saved meaning that when the user selects it he/she will have the save
dialog form to save the text file with the filename specified in the
header function. So far I have managed to create the text file
dynamicaly but still I have to click the browser's save button to save
the file with the determined filename. I wanted it to be forced.
Does anyone know how to do it ?
Here's the code :
<?php
// Carlos Fernando Scheidecker Antunes : Test saving text files with
PHP
// this sets the content type as being plain text
header("Content-Type : text/plain; charset=3D\"iso-8859-1\"");
// this sets the file name
header("Content-Disposition: filename=3D\"test.txt\"");
// creates the dynamic content of the text file here
print("TextFile test\r\n\");
for ($i=3D1; $i < 100; $i++) {
print("This is line number ".$i."\r\n");
}
?>
Thanks,
Carlos Fernando Scheidecker Antunes
You are not going to be able to use PHP to tell the client browser to do
anything.
you are going to have to embed either a java.applet, or javascript to do it.
I don¹t know a whole lot about either, so I don't know if they are even a
possibility.
On 4/10/01 2:29 PM, "Nando2" <[EMAIL PROTECTED]> wrote:
> Hello all!
>
> I have a PHP4 script that produces a text file and I would like that when the
> user access this script the text content of it was forced to be saved meaning
> that when the user selects it he/she will have the save dialog form to save
> the text file with the filename specified in the header function. So far I
> have managed to create the text file dynamicaly but still I have to click the
> browser's save button to save the file with the determined filename. I wanted
> it to be forced.
>
> Does anyone know how to do it ?
>
> Here's the code :
>
> <?php
>
> // Carlos Fernando Scheidecker Antunes : Test saving text files with PHP
> // this sets the content type as being plain text
>
> header("Content-Type : text/plain; charset=\"iso-8859-1\"");
>
> // this sets the file name
>
> header("Content-Disposition: filename=\"test.txt\"");
>
> // creates the dynamic content of the text file here
>
> print("TextFile test\r\n\");
> for ($i=1; $i < 100; $i++) {
> print("This is line number ".$i."\r\n");
> }
>
> ?>
>
> Thanks,
>
> Carlos Fernando Scheidecker Antunes
>
Hi,
I've been trying to use SystemV Semaphores as a kind of locking system in a
webpage, but after a few hours I get this message:
Warning: semget() failed for key 0x0: No space left on device in
/1/home/xxxx/admin/htdocs/prop/lock.php on line 8
Warning: 0 is not a SysV semaphore index in
/1/home/xxxx/admin/htdocs/prop/lock.php on line 19
Couldn't grab lock!
It isn't disk space, and there's plenty of free memory. So how do I fix it
and stop it doing it in the future?
Apart from this it seems to work fine. I've attached some sample code which
is pretty much exactly what I'm doing.
Cheers
<?
class Lock {
var $lock = 1;
var $id;
function Lock() {
$this->id = sem_get($lock);
}
function unLock() {
sem_release($this->id);
return 0;
}
function checkLock() {
if(!sem_acquire($this->id)) {
echo "Couldn't grab lock!";
return -1;
}
return 0;
}
}
?>
Hi,
if i upload via http the tempfile is written with uid 0 (root). After that i
cant do anything with the file because the php user is not allowed to. Why
is my uploaded file owned by root, and how do i solve that?
PS. phpinfo shows that the apache user is nobody
thx, b0ld
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Are you sure it is uid 0? Unless your Apache is running as root it should
be getting uploaded as the web server uid id. Use the
move_uploaded_file() function to move the file into place.
-Rasmus
On Wed, 11 Apr 2001, b0ld b0lb wrote:
> Hi,
>
> if i upload via http the tempfile is written with uid 0 (root). After that i
> cant do anything with the file because the php user is not allowed to. Why
> is my uploaded file owned by root, and how do i solve that?
>
> PS. phpinfo shows that the apache user is nobody
>
> thx, b0ld
>
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Calling the method parent::insert() from a class the ancestor of which truly
has a method insert() itself, I get the error
"Fatal error: No parent class available in this context in bla.php on line
...".
I know this isn't very much information, but the whole project is big and
would take time to be explained. So my question is: In what particular
"context" do errors like this occur? I KNOW that my respective class HAS a parent,
it's declared like "class blabla extends bla". and bla HAS the method I call.
What's wrong?
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
Hello list!
Does anybody know some sources to read about the
COM-Functions in PHP? We wan't to develop some
tools to generate INCOMES out of a web application?
Only found some lines on phpbuilder, but that's not
really enough to get started!
Thanx
--
Jochen Kaechelin - Ihr WEBberater
Stuttgarter Str.3, D-73033 Goeppingen
Tel. 07161-92 95 94, Fax 07161-92 95 98
http://www.wa-p.de, mailto:[EMAIL PROTECTED]