Hi,
It looks most certainly like a file permission error,
however if you have concurrent users maybe it's over
riding the file contents, and screwing up something
somewhere.
So use flock(), a tutorial :
http://www.paphe.com/php/tutorials/111000.php
=
*
Know
Should I stick with
if (($site_style!=10) ($site_style!=9) ($site_style!=8))
or
if($site_style != ('10' or '9' or '8'))
So here's what I've gathered from the various messages and my current
methods:
- index.php selects $site_style from the db
- header.php is included by index.php
On Thu, 4 Oct 2001 16:04, Jason Dulberg wrote:
Should I stick with
if (($site_style!=10) ($site_style!=9) ($site_style!=8))
or
if($site_style != ('10' or '9' or '8'))
As has been pointed out, that latter won't work. What is the range of
possible values for $site_style? If it is 10 or
Karina,
If this is the problem you are getting and you can't find a way around it,
you could start the session on a splash or index page so that when you move
from that first page into the main part of the website, the session has
already been started and all session variables are available.
Hi,
I'm creating web site with sessions.
Normally the site uses PHPSESSID to pass session ID to next page.
I want to use some script whitch use SID to pass session ID.
Can I set standart (i.e. PHPSESSID ) to use to pass session ID ?
Thanks,
Rosen
--
PHP General Mailing List
I want to write a script that simulates the login process and logs on and
grabs some pages (that can only be viewed when logged in) and the logs
out...
how can i do that?
consider the authentication system is done via session variables method...
any ideas would help.
--
PHP General Mailing
Hi:
I'm looking for a mysql administrator but no so good as
phpmyAdmin, just listing dbs, tables, insert, delete, edit
options; no create or alter tables and dbs
anybody knows about?
thanks in advance
Aniceto Lopez
www.laMundial.net
download our free music
--
PHP General Mailing List
Why do the errors occur while running the scripts below? It seems that the
errors occured at the part of session and header(). Please give me some
advice!
Thank you!
Mike
System: PHP4.06 + Apache 1.3.20 Win32 + Win98 (the session configurations
are default in php.ini)
when the 1.php is
You can't send any output before the session_start() call. You require a
file which outputs html before calling session_start(). Simply do the
session_start() before the require and it should work.
-Rasmus
On Thu, 4 Oct 2001, Web user wrote:
Why do the errors occur while running the scripts
Hello,
AppIdeas.com has been working hard to update it's Open Source
PHP/MySQL offerings and has just released version 4.0 of it's popular
community calendar system.
You can run a demo, see real world examples, view the source code
and download a copy online at:
http://open.appideas.com/
Thanx. I'll check it out.
I think you need snoopy. (http://sourceforge.net/projects/snoopy/)
Kamil 'Hilarion' Nowicki
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Me again
And gives error page in $output.
What does the error page have?
The error page is generated by JSP and gives me
some error with VBS and dll.
When I use cURL (on other server) to get to
the same script on the same JSP server with
the same input I get correct data (if using GET
Hi all,
if i have an array that is fetching the result to be display
example,
for ($i =1; $i=sybase_num_rows($result); $i++){
$row =sybase_fetch_array($result);
$row[product]
a href=solution.php?id=$row[prob_title]$row[prob_title]/a
$row[description]$row[solution]
where would i put the
I'm implementing a system that allows the users create pages on-line. They
can create several different pages to complete a site. What I want to do is
alert them that there are still pages to be created before they finish. I'm
trying to do it checking the files they create and alerting a message,
You should change sessions configuration in php.ini
The default value for sessions dir /tmp.
In windows shoud point to c:\tmp
The header error occurs because you get a warning about session.
- Original Message -
From: "Web user" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday,
EK I'm using a simple print() (PHP) but alert() would
EK be much better.
Have php print your BODY tag like this:
BODY onLoad=alert('Your warning')
That's the best solution I think.
--
Kind regards,
Morten Winkler
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
- Forwarded message from [EMAIL PROTECTED] -
From: [EMAIL PROTECTED]
To: David Robley [EMAIL PROTECTED]
Date: Thu, 4 Oct 2001 13:37:07 +0200
Subject: Re: [PHP] Unable to get a dot-decimal ip address from a decimal ip address
Something weird is going on:
PHP translates
thisinto
There are 2 things you are doing here:
1) Session start
2) page redirection
put session_start() as the 1st line in your script.
Echo commands in the included file causes such warnings:
"Warning: Cannot send session cookie - headers already sent by (output
started at c:\program files\apache
if you just want to add slashes to the data, use addslashes
if you want to get away the alashes from the data, use it in the print or
echo function.
--
Hidulf
http://www.hidulf.com
Caleb Carvalho [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi all,
if i have
What I'm doing here is fairly obvious (build a comma-delimited
string).
$arr = array(1,2,3,4,5);
for ($i=0; $i sizeof($arr); $i++) {
$lis = $lis . $arr[$i];
if ($i != (sizeof($arr)-1)) {
$lis = $lis . ',';
}
}
Question is, is there a more elegant way?
Hello
I'm trying to write some kind of parser... see the example:
$text = [LINK image.png]MyImage[/LINK];
$out = preg_replace (/\[LINK*\]*\[/LINK\]/i,
/a href=\*\*/a/,$text);
Well... What I would like is, that $out would be something like about this:
a
What I'm doing here is fairly obvious (build a comma-delimited
string).
$arr = array(1,2,3,4,5);
for ($i=0; $i sizeof($arr); $i++) {
$lis = $lis . $arr[$i];
if ($i != (sizeof($arr)-1)) {
$lis = $lis . ',';
}
}
Question is, is there a more elegant
The reason I ask is, I'm having a problem processing rows in a table that
contain single quotes (specifically, the PHP code I wrote that allows the
user to duplicate a row doesn't work if the a field in the row has a single
quote in it).
Would it be better for me to strip out the single quotes
On Thu, 4 Oct 2001 16:27:11 +0200 (CEST), you wrote:
You could try implode()
$lis = implode(,, $arr);
That'll do it; thanks.
djo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
http://www.webmin.com/webmin/
On Thu, 4 Oct 2001 10:48:57 +0200
[EMAIL PROTECTED] wrote:
Hi:
I'm looking for a mysql administrator but no so good as
phpmyAdmin, just listing dbs, tables, insert, delete, edit
options; no create or alter tables and dbs
anybody knows about?
thanks in
All,
I have searched high and low through the lists to find
a solution to this problem but none of the suggestions
appear to work for me.
I have added a download button to a web-site that
enables users to download images to their local
drives. (I'm using a button as I want to wrap some
logic
Hi
ASFAIK, the quote character (') is used in ANSI-SQL (and also in MySQL)
as string-delimiter... (e.g. SELECT * FROM users WHERE name = 'admin';)
So I definitvely would replace the character or you'll might run into
problems with SQL.
Maybe there's another and better solution, but it should
On Thu, 4 Oct 2001 07:32:17 -0700 (PDT), you wrote:
I have added a download button to a web-site that
enables users to download images to their local
drives. (I'm using a button as I want to wrap some
logic round this function) I have the following
(simplified code )that will be called from the
René Fournier [EMAIL PROTECTED] wrote:
The reason I ask is, I'm having a problem processing rows in a table that
contain single quotes (specifically, the PHP code I wrote that allows the
user to duplicate a row doesn't work if the a field in the row has a
single
quote in it).
Try
Michael:
Webmin is a web-based administration interface for
Unix systems but I need something like phpmyAdmin
just for managing the info in databasesj ust listing dbs,
tables, insert, delete, edit options; no create or alter
tables and dbs.
Thanks anyway, this webmin is interesting also
Caleb Carvalho [EMAIL PROTECTED] wrote:
if i have an array that is fetching the result to be display
example,
for ($i =1; $i=sybase_num_rows($result); $i++){
$row =sybase_fetch_array($result);
$row[product]
a href=solution.php?id=$row[prob_title]$row[prob_title]/a
[EMAIL PROTECTED] wrote:
Webmin is a web-based administration interface for
Unix systems but I need something like phpmyAdmin
just for managing the info in databasesj ust listing dbs,
tables, insert, delete, edit options; no create or alter
tables and dbs.
You could pretty easily remove the
Hi Dave,
Thanks for you prompt response. The Image is indeed a
different length, (3k as opposed to the original 9k) I
originally did have an error message appended to the
downloaded image but that no longer appears to be the
case. However the image is definitely truncated. Any
ideas why this may
Try addslashes() before executing the query and stripslashes() when
retrieving data from the db. See the online manual for more
details.
I think stripslashes() isn't needed when retrieving data from the db,
it is needed only in the query string to protect special chars from
interpretting
(From behind filing cabinet where I am ducking preparing for flames).
Is it just me or is there anyone else that thinks PHP suffers from not
being modular. Let me explain myself. If you write a module for a lot of
procedural languages it sits on the filling system and is called up when it
is
Steve,
Thank you very much,
i will try it now..
Caleb Carvalho
Application Engineer
LoadRunner/APM
-
Enterprise Testing and Performance Management Solutions
Well about beeing modular...
Have you ever programmed java ?? Java is very modular and everyting in java
is programmed with classes.
So... PHP also suports classes. Now you should be able to build your own
modularity as you like it...
Enough said...
-Oliver
[EMAIL PROTECTED] (Ben Edwards)
My webhost recently migrated my site over to a new server and IP. Everything
looks ok, except that all my MySQL tables now are read-only (at least that's
the error I get when trying to delete or insert records). How do I change
the tables back to write? Can I switch individual tables to write or
On Thu, 4 Oct 2001 07:51:59 -0700 (PDT), you wrote:
different length, (3k as opposed to the original 9k) I
originally did have an error message appended to the
downloaded image but that no longer appears to be the
case. However the image is definitely truncated. Any
All the JPEGs I have here
Title: Blank
Is there a way to verify if a file is in use
by another user before fopening it?
Matthew
Luchak Webmaster Kaydara
Inc. [EMAIL PROTECTED]
Title: Blank
damn... RTFM. I
just now discovered flock. Sorry 'bout that.
ps. Don't flame me
for being rude to the original poster. I am the original
poster
Matthew
Luchak Webmaster Kaydara
Inc. [EMAIL PROTECTED]
-Original Message-From:
On a conceptual level, I for one am a great fan of the kludge.
Every piece of software is a trade off between performance and speed of
development.
You can have the fastest app in the world for $1,000,000 in development time
OR
you can write up a in-elegant solution in 5minutes ($50) and if its
$site_style ranges from 1 - 11
$site_style 1 - 7,11 use the same css style.
$site_style 8,9 use the same css
$site_stylye 10 uses different css from them all.
Thanks for your time.
Jason
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: October 4, 2001 2:48 AM
At 4:48 PM +0200 10/4/01, [EMAIL PROTECTED] wrote:
(From behind filing cabinet where I am ducking preparing for flames).
Is it just me or is there anyone else that thinks PHP suffers from not
being modular. Let me explain myself. If you write a module for a lot of
procedural languages it sits
Arpad Tamas [EMAIL PROTECTED] wrote:
I think stripslashes() isn't needed when retrieving data from the db,
it is needed only in the query string to protect special chars from
interpretting them as sql.
I want to say this isn't true, but maybe that depends on the configuration
of PHP (I'm
First some basic questions:
(1) Can you create an unitialised array ?
do you mean:
$array = array(); // creates an empty array;
(2) Can an unitinialised array be a class member variable ?
for( $i = 0 ; $i 5; $i++)
$array[] = new User();
I think it should work.
I have a class
It worked !!
Thank you very much for your help!
- Yours, Oliver
[EMAIL PROTECTED] (Papp Gyozo) wrote in
news:003701c14cf0$d7363300$01fdfea9@jaguar:
$text = [LINK image.png]MyImage[/LINK];
$out = preg_replace (|\[LINK(.*)\](.*)\[/LINK\]|iU, 'a
href=\1\2/a',$text);
I hope, I don't forget
The code is being written for both Unix and windows boxes, so I had to
include the 'b' option
Maxim Maletsky (PHPBeginner.com) wrote:
Not sure, but this 'wb' looks suspicious to me.
From the manual:
The mode may contain the letter 'b'. This is useful only on systems
which
Ben, I think you hit on one of the key points of PHP in the latter part of
your email. My take is that PHP is designed to be quick to learn, quick to
use, and somewhat simple (not in a bad way). I agree that as compared to
most languages, more than usual is packed into the base system. But,
PHP on the other hand seems to load in ALL the code that MAY be run. i.e.
an include brings things in which are inside an if, even if the if equates
to false.
That's not true.
if(condition) include 'file';
That will only include the file if the condition is true. Very easy to
verify for
Greetings,
I'd like to know if anyone has any material regarding the use of
PHP on large projects that needs to be flexible and kind of 'component
based' (like multiples modules) and what were the benefits and problems
found during development/deployment/runtime.
I think something like
Exelent, as I said I was playing devels advicate, I like PHP a lot, I am
trying to get someone else to use it to and they came up with this stuff.
if(condition) include 'file';
Is exactly what I was looking for. As 'if () {}' loaded, or at least
parsed things I did'nt think another form of
Exelent, as I said I was playing devels advicate, I like PHP a lot, I am
trying to get someone else to use it to and they came up with this stuff.
if(condition) include 'file';
Is exactly what I was looking for. As 'if () {}' loaded, or at least
parsed things I did'nt think another form
On Thu, 2001-10-04 at 13:51, Lucas Persona wrote:
I'd like to know if anyone has any material regarding the use of
PHP on large projects that needs to be flexible and kind of 'component
based' (like multiples modules) and what were the benefits and problems
found during
Has anyone on this list developed an ad rotation program in PHP?
Joseph
--
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
Please ask on [EMAIL PROTECTED] or php-install@
Is this patch against the glibc 2.2x problem?
- Markus
On Thu, Oct 04, 2001 at 06:26:10PM -, [EMAIL PROTECTED] wrote :
From: [EMAIL PROTECTED]
Operating system: LINUX RH 7.1
PHP version: 4.0.6
PHP Bug Type: Oracle
At 01:37 PM 10/4/01 -0500, you wrote:
Has anyone on this list developed an ad rotation program in PHP?
Joseph
PHP General Mailing List (http://www.php.net/)
Joseph,
dotBanner ( http://www.dot-banner.com ) is the one that I work on.
We have your script pushing well over 6 million impressions
I want to open a popup window under php control. So lets say I have an
if statement which if true opens the window.
if ($something) {
JavaScript:window.open(test.php,blah...);
}
Guess I'm saying that I want to call a Javascript function without the
user clicking on anything.
--
PHP
I use phpAds.. it works well enough despite its lack of features..
Matt TrollBoy Wiseman
Webmaster: Shoggoth.net
Site Designer: phpslash.org
The oldest and strongest emotion of mankind is fear,
and the oldest and strongest kind of fear is fear of the unknown.
-H.P. Lovecraft
[EMAIL PROTECTED] (Tim Sawyer) wrote:
I want to open a popup window under php control. So lets say I have an
if statement which if true opens the window.
if ($something) {
JavaScript:window.open(test.php,blah...);
}
Guess I'm saying that I want to call a Javascript function
You could also wait for the page to load and then invoke the JS by putting
an onLoad=function_name() in the 'BODY' tag of the document.
On 10/4/2001 3:58 PM this was written:
[EMAIL PROTECTED] (Tim Sawyer) wrote:
I want to open a popup window under php control. So lets say I have an
if
Hi All
I configured apache + php on debian system
The problem is that session is not destroyed when the browser closed.
the php.ini is /usr/local/lib and working ( i tried to see if its affecting
by putting engine = On to Off )
in php.ini this is set to 0 = session.cookie_lifetime = 0
/tmp
On Thu, Oct 04, 2001 at 11:10:56AM -0400, Matthew Luchak wrote:
Is there a way to verify if a file is in use by another user before
fopening it?
As far as I know this is something you have to program in yourself. If
you are only worried about your programs accessing the file, then it is
a
Hi,
I'm trying to load ming as a module of PHP, but I get an error when loading
apache:
PHP Warning: Unable to load dynamic library './php_ming.so' -
./php_ming.so: cannot open shared object file: No such file or directory in
Unknown on line 0
Can someone help me ?
Thanks,
ET
--
PHP
According to him, if you add
'?=PHPE9568F36-D428-11d2-A769-00AA001ACF42'
http://www.phpbuilder.com/mail/php4-beta/24/0796.php
---
-
-- C.Hayes Droevendaal 35 6708 PB Wageningen the
Netherlands --
Steve Werby [EMAIL PROTECTED] wrote in message
news:0c3701c14d18$3505c910$6401a8c0@workstation7...
[SNIPs]
http://www.tysonchandler.com/news_3.html (that's an underscore, not a
space).
Is it just me or is this site blazingly fast? Are you using some
cache-tricks or something? Or du you just
check out Oasis on Freshmeat...I haven't used it, but I did notice it on
there.
also, as already posted, PHPads.
-Original Message-
From: Wandrer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 2:12 PM
To: Joseph Bannon
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] ad rotation
Hi all,
I have looked into the archives but im not sure what im searching for so I
decided to ask here.
What I want to do is, on my FreeBSD box running PHP and MySQL, to have a
system which will take any email sent to a specific address, and pipe the
body of the email to PHP (or even to a
Rasmus Lerdorf [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
[...]
Thanks for the help tips. I guess I'll use .inc for files that
are included (as opposed to being run directly) and block
access to them at the server level. Hmm, since the
There's a good php POP3 class available here:
http://www.thewebmasters.net/php/POP3.phtml
That will enable you to log into your mail server and retrieve a mail
message from it.
-Original Message-
From: Chris Aitken [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 2:54 PM
I have a file containing ~100 lines of text, each perhaps 100-200
characters in length. I need to retrieve line $n from the file, where:
$n = $julianday % $nlines;
$julianday = today's date (from localtime[7])
$nlines = no. of lines in the file
Method A
0. fopen() the file
1. read the file
Check out the flock fucntion
At 16:20 4/10/2001 -0400, Jason Stechschulte wrote:
On Thu, Oct 04, 2001 at 11:10:56AM -0400, Matthew Luchak wrote:
Is there a way to verify if a file is in use by another user before
fopening it?
As far as I know this is something you have to program in
How do u fork?
Thanks ahead of time : )
--
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]
Ok, I found out what was causing some of the people who were using my
script and have it fail. They are on a shared server and apache is
being run as user nobody, so therefore the script is being run as
nobody. But the the files has to have user ownership foo foo. Is it at
all possible to have
Most mail servers use qmail, so i will explain how to do it with qmail
For your qmail accounts, you will have .qmail files(e.g. .qmail-default
.qmail-webmaster and so on), open one of these files, now add the bottom of
it |preline /path/to/php /path/to/script.php or you can do it with perl the
Have you looked into phpAdsNew?
www.sf.net
And search for it there
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Michael Geier, CDM Systems Admin [mailto:[EMAIL PROTECTED]]
Sent: giovedi 4 ottobre 2001 23.39
To: Wandrer; Joseph Bannon
Cc: [EMAIL PROTECTED]
(From behind filing cabinet where I am ducking preparing for flames).
Is it just me or is there anyone else that thinks PHP suffers
from not being modular.
It is just you and some other people similar to you. Thought this
question was up for a while :-)
PHP on the other hand seems to
I currently thinking on doing some freelance PHP programming and web design
for somebody. I have a pretty good idea on how much I will be chargin,
however I am looking at putting this in writing. I was wondering if anybody
had any example proposals/bids or web liks to where I can find such
Ive been playing around with ereg for about half an hour and having no joy
because I dont really understand the medhod behind it and how it all works.
But what im trying to do is check to see if a 9 digit string is all numbers
and nothing else
$string1 = 123456789
$string2 = 123456abc
how
PHP on the other hand seems to load in ALL the code that
MAY be run.
i.e. an include brings things in which are inside an if,
even if the
if equates to false.
A quick check in the manual, it states that:
Unlike include(), require() will always read in the target
file, even if
if(!preg_match(/^\d+$/,$string){
echo $string has something other than a number;
}
-Original Message-
From: Chris Aitken [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 9:34 PM
To: PHP General Mailing List
Subject: [PHP] ereg checking if its only numbers
Ive been
Of cource changing the require with include would explain everything :-)
Sorry, forgot to mention that :-)
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: venerdì 5 ottobre 2001 3.33
To: 'Opec Kemp';
I think the implication of the oringal poster was not the include/requires
stuff,
but more a build of PHP with --enable-100 options vs php-sharedetc
-Original Message-
From: Maxim Maletsky (PHPBeginner.com)
[mailto:[EMAIL PROTECTED]]
Sent: Friday, 5 October 2001 11:33 AM
To:
conditionally load the function/files that
you want then you should use include().
Was the implication of the poster I replied to.
To the original I replied commenting each of his arguments, therefore I
knew his points.
Maxim Maletsky
www.PHPBeginner.com
--
PHP General Mailing List
With ereg it could be:
if(ereg(^[^[:digit:]]+$))
echo 'something else came through';
Untested though ...
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Jack Dempsey [mailto:[EMAIL PROTECTED]]
Sent: venerdì 5 ottobre 2001 3.42
To: Chris Aitken; PHP General
What is the best way to change linux passwords using a web .PHP interface?
I currently allow FTP access to php enabled webhosting sites; which use
safe mode, thus use real linux accounts.
Thus far I thought I would:
Write a real short C program which would call allow to go
setpasswd
Richard Lynch wrote:
httpd.conf
php_value Engine Off or somesuch...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
try:
?
if(ereg([0-9]{9}, $string)){
echo Success, 9 numbers!;
} else {
echo Failure, not 9 numbers.;
}
?
There is a great book on regular expressions by o'reily.
Evan
*** REPLY SEPARATOR ***
On 10/5/01 at 11:33 AM Chris Aitken wrote:
Ive been playing around
I can't seem to get a return value, while using the functions, it just puts
a 0 on the page, i try putting a br after i do the system call, still all
that is on the page, 0, something is wrong, anyone know why?!?
I got no telnet access, and i want to do some cron jobs :D
- James ReDucTor
On Fri, 5 Oct 2001 13:19, ReDucTor wrote:
I can't seem to get a return value, while using the functions, it just
puts a 0 on the page, i try putting a br after i do the system call,
still all that is on the page, 0, something is wrong, anyone know
why?!?
I got no telnet access, and i want
Dear [EMAIL PROTECTED],
WE are looking for serious inquires from
individuals who want to make a difference!!!
Our company is offering an opportunity
for individuals who want to become an
E-Mail PROCESSOR. Work from home
and be apart of this tremendous opportunity
to sustain an income of your
echo System(crontab -l, $var).br;
echo $var;
- Original Message -
From: David Robley [EMAIL PROTECTED]
To: ReDucTor [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, October 05, 2001 2:21 PM
Subject: Re: [PHP] System(), exec(), Passthru(), etc
On Fri, 5 Oct 2001 13:19, ReDucTor
First off, if you don't already know, the linux passwords are stored in the
/etc/passwd file (unless you have a shadow suite installed, in which case
/etc/shadow would be a good bet.) Basing this on a shadow file, the file is a
text document with one user per line. The entries are stored in
I just want to thank everyone who helped me get the css stuff to work. All
of the IF statements are now working properly --- I've certainly learned a
lot from all the messages.
thanks again...
Maxim Maletsky
Rasmus Lerdorf
and all others who responded to my message!
__
Jason
You have the same requirement
Put this wherever you want in your script.
?php
if (true) // whatever the condition
{
echo script language=JavaScript
alert('Message!') /script;
}
?
- Original Message -
From: Eduardo Kokubo [EMAIL PROTECTED]
To: Naintara Jain [EMAIL
I always depreciated WYSIWYG software, especially when they mention
those things about HTML. HTML is the alphabet of the internet and as
such should be well known by any webmaster and whoever else is
interested in this kind of software.
Still, it feels like it is better than Dreamveawer
To see exactly what image functions that are or aren't available to you, try
running this script.
?php
$func= array(GetImageSize, ImageArc, ImageChar, ImageCharUp,
ImageColorAllocate, ImageColorDeAllocate,
ImageColorAt, ImageColorClosest, ImageColorExact, ImageColorResolve
, ImageGammaCorrect,
hi all,
I've been asked to do some work on some servers where php can only run as
cgi. Unfortunately it seems that php has a bug which means that
#!/usr/local/bin/php
gets printed out at the top of each page if I do this.
Are there any workarounds for this? Is it fixed in the cvs versions?
Did you uncomment the LoadModule/AddModule for PHP?
Or add an Action line?...
AddType is only half the puzzle piece...
It sets up a mime-type (application/x-httpd-php) for an extension (.php) but
doesn't say what to *DO* with that mime-type.
--
WARNING [EMAIL PROTECTED] address is an
I'm no expert install guy, but...
I believe errno.h should be in one or more of these places where PHP can
find it:
/usr/include
/usr/src/linux-blah-blah-blah
Or, try this:
updatedb might take a while
locate errno.h
Figure out why errno.h isn't where PHP expects it to be, and make it
1 - 100 of 112 matches
Mail list logo