On Mon, 9 Apr 2001 15:12, Yo Bro wrote:
Still no luck.
There should be no reason why this doesn't work. I tried it the way you
tested it, and it doesn't really demonstrate it the same as if using
the (file_exists command.
When using looking for the images it appears the if statement is
Hi.
Please, what is the @ caracter in this case?
@$var.
What meens?
thanks.
Fer
--
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
Ive got a textarea control on a form where a user will enter info, i want to enter
this info into an interbase db,ive limited the space to 200 characters in the text
area but need to now eliminate any apostrophes and other bad characters, anyone have a
function?
TIA
Wade
What does this do?
$specs = $myrow['features'];
print $specs;
$features = explode('|',$specs); //What the feild is delimited by '|'
print_r($features);
Does it include the missing last value within the $features array? Does
$specs look okay?
Regards,
Philip
--
PHP General Mailing
Nice question!
You can use Eval() as:
$clsname = "myclass";
eval("\$inst = new $myclass;");
now $inst is an instance of myclass.
-elias
http://www.kameelah.org/eassoft
"rswfire" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
$var = "thisclass";
$myclass =
Hey,
the '@' is an error control operator.
search php manual for this 'Error Control Operators'
it allows you to trap error and warning messages.
-elias
http://www.kameelah.org/eassoft
""Fernando Buitrago"" [EMAIL PROTECTED] wrote in message
9arl15$8al$[EMAIL
"David Robley" [EMAIL PROTECTED] wrote in message
01040614091104.10051@www">news:01040614091104.10051@www...
On Fri, 6 Apr 2001 13:50, Martin Skjöldebrand wrote:
Tyler Longren wrote:
In line 3, you don't need your ? ? tags again.
This is how you have it:
print "pTID detail view -
Hi!
I have this xml:
list
varacar/vara
bskrford/bskr
price3600/price
nr/nr
/list
-
and this php:
$filename = "list.xml";
$fp = fopen($filename, "r");
$string = fread($fp, filesize($filename));
$string = strip_tags($string);
$refined_string = explode(" ", $string);
if
$newloc = "http://www.kameelah.org/eassoft";
Header("Location: $newloc");
die();
-elias
http://www.kameelah.org/eassoft
""Fernando Buitrago"" [EMAIL PROTECTED] wrote in message
9aq0a0$jck$[EMAIL PROTECTED]">news:9aq0a0$jck$[EMAIL PROTECTED]...
Hi.
Tell me te instruction to redirect (link) mi
Hey,
@ simply means to suppress warnings, or errors!
@functioncall(); would simply not display an error or
warning, incase it caused one or more.
=
To find out more about me : http://www.geocities.com/mimodit
My bookmarks are available @ http://mukul.free.fr
try learning about: XML parser functions
-elias
http://www.kameelah.org/eassoft
"Jan Grafström" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi!
I have this xml:
list
varacar/vara
bskrford/bskr
price3600/price
nr/nr
/list
-
and this php:
You can use JavaScript to validate the fields in a form too, would be
easier.
As for PHP it's too easy, you can check fields values against whatever
condition.
ie: if (length($password) 3) die("password too short");
-elias
http://www.kameelah.org/eassoft
""Fernando Buitrago"" [EMAIL PROTECTED]
G'day,
I was wondering if anyone knows how to get the following to work:
--snip from head--
script language="JavaScript"
//--
function validateForm(theForm) {
if ( theForm.input[name].value == "" ) {
alert("You must type a value for NAME.");
theForm.input[name].focus();
return
Hello paula,
Monday, April 09, 2001, 6:47:21 AM, you wrote:
p I was sending desperate emails to this list related to nested loops and array
comparision.
p Well, just let you know that the problem seems to be that I'm using this with PHPLIB
p templates and those can't handle nested loops.
Hi Fernando,
Have a look here :
http://www.php.net/manual/en/features.error-handling.php
http://www.php.net/manual/en/language.operators.errorcontrol.php
regards,
philip
On Mon, 9 Apr 2001, Fernando Buitrago wrote:
Hi.
Please, what is the @ caracter in this case?
@$var.
What
Joseph,
You will have to declare
SCRIPT LANGUAGE="javascript 1.2"
myArray = new Array();
myArray[0] = "a string";
myArray[1] = 11;
myArray[2] = new Array();
/SCRIPT
since JavaScript 1.2 has arrays implemented.
Kind regards,
Morten Winkler
--
PHP
when using this more then once in a script i get errors
even though the file pointers are different.
echo "Artist: ";
$artist = fopen("php://stdin", "r");
echo fgets($artist, 64);
fclose($artist);
echo "\n";
echo "Album: ";
$album = fopen("php://stdin", "r");
echo fgets($album, 64);
Here is a basic (untested) example.
$link = mysql_connect("localhost", "username", "password");
mysql_select_db("database", $link);
$result = mysql_query("SELECT product_name FROM products", $link);
$num_rows = mysql_num_rows($result);
// read in data
while ($row = mysql_fetch_array
Morten Winkler Jrgensen wrote:
You will have to declare
SCRIPT LANGUAGE="javascript 1.2"
myArray = new Array();
myArray[0] = "a string";
myArray[1] = 11;
myArray[2] = new Array();
/SCRIPT
since JavaScript 1.2 has arrays implemented.
Thanks
Hi,
I have not coded script in html before, so I was wondering if someone could
look this over briefly:
I'm a bit confused as to how variables are passed/stored. Do the variables
get saved on the client machine? Do they have to be specifically passed from
page to page and back? Are they
Hi!
Any idea how to send a www header through a proxy?
Is there a proxy www header?
thanx,
Daniel BI
--
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:
Hello.
I have no idea in Linux systems yet nor in Web Servers configurations and
stuff, and now I wonder:
www.php.net/asdfadasdasd
who takes control if i didn't specify a script name in the url?
does it work on windows PWS ?
and sometimes i see:
www.site.com/?asdasdf=adasd
can someone
I don't think you can name variables as varname[name] and access them like
that in javascript unless
varname[name] is initialize where varname is an array and name=index in that
array and it must be defined first.
I believe you will have to change the naming convention from var[keyname] to
Wade Halsey wrote:
Hi
Ive got a textarea control on a form where a user will enter info, i want to enter
this info into an interbase db,ive limited the space to 200 characters in the text
area but need to now eliminate any apostrophes and other bad characters, anyone have
a function?
Hello Wade,
What's so bad about apostrophes and what are the other "bad characters"
you're referring to? Have you seen addslashes(), stripslashes()
and magic_quotes_gpc? As well as strip_tags() and htmlentities().
Regarding replacing characters, have a look at str_replace() as well as
regex
Something like this could work also:
tr bgcolor="? echo
$row_color=="#cc"?$row_color="#c0c0c0":$row_color="#cc" ?"
- Original Message -
From: "Harshdeep S Jawanda" [EMAIL PROTECTED]
To: "Mike P" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, April 09, 2001 1:11 AM
Hello Folks ,
I'm rebuilding my PHP Site with a new design and i want to keep my
set_cookie commands to allow people own settings for my site , but actually
now it gives me this error message :
Warning: Cannot add header information - headers already sent by (output
started at
Just a quick question...
How much data can a session store?
The reason I´m asking is that I have developed a news system and want a
"preview"-thingy and for this I want to store the data in a session. The
main-content can be very large.
Thanks,
// Tobias
--
PHP General Mailing List
Looks like CGI certainly did get dissabled :-)
-I think the makefile has been swiped.
Build under FreeBSD 3.4:
---cut---
Making all in sapi
Making all in cgi
make: don't know how to make all. Stop
*** Error code 1
Stop.
*** Error code 1
---paste---
BJ
""Stig Bakken"" [EMAIL PROTECTED]
it says that on line 15 of settings.php there's an output.
you need to set cookies BEFORE any output.
Cheers,
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Marc Dondlinger [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 6:37 PM
To: [EMAIL PROTECTED]
eyo!
I was wondering if it is possible to have the include_path directive in php.ini (I am
using win98) pointing to path so that a file in an underlying dir, also can be
included? I have tried to set the include_path to c:\program\apache\htdocs so that I
can have all the files in the webroot
On Monday 09 April 2001 08:38, you wrote:
Hi
Ive got a textarea control on a form where a user will enter info, i
want to enter this info into an interbase db,ive limited the space to
200 characters in the text area but need to now eliminate any
apostrophes and other bad characters, anyone
Yeah right...
Sure, we can use ob_start(), but the poster of original message apparently
does not make any use of these functions ,
therefore his problem is easily solvable by just keeping track of output
start rather then creating a whole buffering system.
After all, why would you use some
Here,
just was working on it:
snip
...
$bgcolor = (($row_count%2)==0) ? ' bgcolor="#DBDBDB"' : '';
$row_count++;
echo "TR$bgcolor";
...
/snip
Cheers,
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Rikul [mailto:[EMAIL PROTECTED]]
Sent:
You should use this:
(from my Development Machine:)
include_path= ".;D:\includes;D:\htdocs\;D:\htdocs\phpmyadmin" ;
UNIX: "/path1:/path2" Windows: "\path1;\path2"
Note the dot at the beginning of the string - that's your solution
Cheers,
Maxim Maletsky
www.PHPBeginner.com
I have a page with javascript which is dynamic generated by php. That
page is quite large and run ok with IE. But it netscape, I don't know
why that it will reload every time when I select an option. If I save
the resulting php page in HTML file and run it is netscape, no problem
at all. Can
On Sun, 8 Apr 2001, Stig Bakken wrote:
ssb Sun Apr 8 15:30:18 2001 EDT
Modified files:
/php4 Makefile.in configure.in
/php4/mainbuild-defs.h.in
/php4/pearPEAR.php.in
/php4/sapiMakefile.in
/php4/sapi/cgiconfig.m4
Log:
sas Mon Apr 9 04:35:10 2001 EDT
Modified files:
/php4 configure.in
Log:
Fix current CVS breakage
Index: php4/configure.in
diff -u php4/configure.in:1.231 php4/configure.in:1.232
--- php4/configure.in:1.231 Sun Apr 8 15:30:16 2001
+++
Hello.
I have no idea in Linux systems yet nor in Web Servers configurations and
stuff, and now I wonder:
www.php.net/asdfadasdasd
who takes control if i didn't specify a script name in the url?
the web-server
if you access www.php.net/asdfadasdasd (and the directory DOES exist) the
I can't solve your problem but here's an alternative javascript that
works in both IE/NS
so u might want to give it a try:
www.eudos.com/temp/onchange.htm
hope it works.
- Original Message -
From: Carfield Yim [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 09, 2001 11:46
Hello,
This is the situation: I have a script that works off each entry in a
database... 3 entries are made every minute (aproximately). And the
script takes aprox. 1 Minute to finishup each entry. So I need to start
a couple of instances of this script... I want to start 21 instances
once every
On Mon, Apr 09, 2001 at 12:08:10AM +, Mike P wrote:
I can change the column sof a table with the following code but how do I
change the row colors instead.With the columns I have "i" to manipulate but
not with rows.
while ($row = mysql_fetch_row($result))
{{
echo "TR\n";
It depends how you are going to store session data what you have.
Assuming you have large enough H/W.
If you are using 'file', you probably could store up to file size max on your
OS.
If you are using 'mm', relatively small amount of data will be able to stored.
It's depends on how much shared
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 4:50 AM
To: elias
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] URL w/o script name
and sometimes i see:
www.site.com/?asdasdf=adasd
can someone please explain me this process.
You can check what options you have with executing php -h in a shell
I believe this is PHP4 only tho.
Anyway, i solved my little issue.
#! /usr/bin/php -f
?
echo ("The number of arguments including the executable : ". $argc . "\n");
echo ("");
for ($counter="0";
mboeren Mon Apr 9 04:53:39 2001 EDT
Modified files:
/php4/ext/dbx dbx.c
Log:
Added optional 'comparison_type' parameter to compare functions, to force
either text or number comparison. (Mc)
Index: php4/ext/dbx/dbx.c
diff -u php4/ext/dbx/dbx.c:1.7
Try this instead :
#! /local/bin/php -q
?PHP // -*- C++ -*-
function read() {
$fp=fopen( "/dev/stdin", "r");
$input=fgets($fp, 255);
fclose($fp);
return eregi_replace("\n","",$input);
}
function clear(){
system("/bin/clear",$retvar);
if ( $retvar != 0 ) {
print "error\n";
You may use these to functions to retrieve whatever you have in your parameters
It reads in a "search-word" which it tries to retireve out of the array.
Gives TRUE or FALSE back if parameters exists.
Well, you test them out. Use var_dump($array) to see the latter of the functions
output.
Good
If I were any more confused my head would split open. This just plain makes
no sense, and I'm wondering if it's just a bug in PHP.
Consider the following code:
$arvar = array($var1, $var2, $var3);
function vartest($arvar)
{
echo 'br', $arvar[0], $arvar[1], $arvar[2];
$arvar[1] = 'Inside2 ';
Ive got a textarea control on a form where a user will enter info, i
want to enter this info into an interbase db,ive limited the space to
200 characters in the text area [snip]
Also remember that you must never trust what you get from the browser. Make
the script check out that the input is
Hi!
Is there any difference between writing:
isset($my_var)
and...
if ($my_var)
??
Thanks!
/ Jesper Blomstroem
--
Jesper Blomstrm
[EMAIL PROTECTED]
Arbete: 08-566 280 08
Hem:08-669 23 10
Mobil: 070-30 24 911
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I am having trouble getting the SNMP library to work. It is compiled in and
basic calls work but I don't understand what the problem is with using it
through PHP.
This call from the Unix Shell works:
snmpget XX.XX.XX.XX community_name enterprises.838.3.1.1.1.1.0
enterprises.838.3.1.1.1.1.0 =
isset actually sees if the variable exists, and has been assigned a value
(where if is obviously checking for boolean truthfulness). Thus...
$a = 0;
if (isSet($a))
print "A is set"; //This line will execute
if (isSet($b))
print "B is set"; //This line never will, as B has not been set to
i, i'm sorry if this has been discussed in the list... but i have
searched the entire list's archive but i have not found no
solution/hint for the problem.
I have PHP compiled with imap support. I works just fine.
I have recompiled PHP to add ldap support.
The configure and make runs
It is really a long discussion (check the archives of the last month - two)
Basically, isset() will tell you if the variable is declared, in other words
it is set. It can still be empty but declared, and that will return you
true;
if($var)
will return false only if
1. variable is not
just to add : The error you mentioned was detected on Netscape 6 browsers.
I myself have had hard time with this long ago.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original Message-
From:
this code returns the ip too ! i dont know why !!
-Mensaje original-
De: trogers [SMTP:[EMAIL PROTECTED]]
Enviado el: lunes 9 de abril de 2001 10:41
Para: [EMAIL PROTECTED]
Asunto: Re: [PHP] URL FROM IP
Hi
Try
$url = getHostByAddr($REMOTE_ADDR);
Tom
At 10:17
Another thing to add:
by using apache's mod_rewrite you can have your variables (as witty
suggested) in the/very/elegant/and/search-engines-readable/way.php
I have it working on PHPBeginner.com and several other sites.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com
This cleared up the difficulties!
I will look deep into the archive, now and forever.
Thanks from Stockholm, Sweden.
/ Jeppe
"PHPBeginner.com" wrote:
It is really a long discussion (check the archives of the last month - two)
Basically, isset() will tell you if the variable is
Yes, you were right, this works just the way you wrote.
And yes, there is a JavaScript way to do it, but I guess PHP is better for
this kind of jobs. JavaScript is using your browser as it's 'server' while
PHP uses your remote server. Therefore, all PHP will do is generate HTML
code to send to
Hi !
don't you think that the problem comes from : window.history.go(0); located
in your populateTown function ?
I guess that Netscape reload you page when you tell "history.go(0)"
jean-arthur
I have a page with javascript which is dynamic generated by php. That
page is quite large and run
Hi
That means there is no reverse dns setup for that ip so it just returns the
ip number again.
Try with a few other ip's and it will work (try 129.250.16.102 for example)
Tom
At 10:43 AM 9/04/01 -0300, Renzi, Sebastian wrote:
this code returns the ip too ! i dont know why !!
-Mensaje
On Sun, 08 Apr 2001, Stig Bakken wrote:
ssb Sun Apr 8 15:30:18 2001 EDT
Modified files:
/php4 Makefile.in configure.in
/php4/mainbuild-defs.h.in
/php4/pearPEAR.php.in
/php4/sapiMakefile.in
/php4/sapi/cgi
Hi,
I goot this error when "make" apache after configurating it with php:
usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
`my_uncompress':
my_compress.o(.text+0x9a): undefined reference to `uncompress'
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o): In function
Hello all.
I'm relatively new to the world of PHP, but I've programmed in C, C++, Rexx, in the
past.
What I'm working on is this and I wanted to clarify some things about how PHP "runs"
I've got a function that contains a form and depending on the entry to the form, which
is
then checked
I've been trying to figure this out for a day or so now. Someone needs to
do a concise tutorial with arrays, references, etc. with PHP. I've got a
class that has a member variable that is an array. When I try to access it
in a function like this:
print "blah blah blah $this-arrayname['value']
I create an array (of over 100 elements) in Javascript, collected from
client-side interaction. Now I want to pass that information to PHP to
update a MySQL database. I'm guessing I would encode the information into a
data structure to pass to a page via POST. But I don't know how to do that
(or
Try,
print "blah blah blah {$this-arrayname['value']} blah";
-Stewart
-Original Message-
From: DELAP, SCOTT F (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: 09 April 2001 15:28
To: [EMAIL PROTECTED]
Subject: [PHP] Real Problem: Accessing Array In A Class
I've been trying to figure this
Don't put complex variables inside quoted strings like that. Simply break
out of your quoted string and do:
print "blah blah blah " . $this-arrayname['value'] . " blah";
-Rasmus
On Mon, 9 Apr 2001, DELAP, SCOTT F (SBCSI) wrote:
I've been trying to figure this out for a day or so now.
Here's what I'd do (pseudocode):
?php
if ($submit) {
check for duplicate;
if (everything OK) {
commit to db;
}
}
else {
display form with submit button named 'submit';
}
?
Mick
how do I do this
call form
wait there until it is
Use the string concat operator
print "blah blah blah ".$this-arrayname['value']." blah";
Morgan
At 10:27 AM 4/9/2001, you wrote:
I've been trying to figure this out for a day or so now. Someone needs to
do a concise tutorial with arrays, references, etc. with PHP. I've got a
class that has
strange...
echo 'blah blah blah ' . $this-arrayname['value'] . ' blah';
should work just as fine.
I think you are confused with strings.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-Original
Lets try that again:
?php
if ($submit) {
if (data already in db) {
reject data;
}
else {
commit data to db;
}
}
else {
display form with submit button named 'submit';
}
?
A bit of a mud map ... hope it helps
Hi,
I use a command "copy" to upload a file from my local win machine to
webserver. However, it is not successful. It prompts that "Warning: Unable
to open 'D:\\PHP\\upload1.php' for reading:". I would like to know what is
the problem
Thank You!
HK Woo
--
PHP General Mailing List
Hey there,
does anybody have any info regarding urlencode and rawurlencode - I
understand that raw is supposed to be used with directory structures and
urlencode with appended vars but when I ran a test I could use either. Does
anybody have any info or examples which demonstrate which should be
Are the permissions set OK?
Kirk
-Original Message-
From: HK Woo [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 9:01 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload file from my local C:
Hi,
I use a command "copy" to upload a file from my local win machine to
How can I store the time an entry was made into the db in a field.
TIA
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]
If you are using MySQL, add a "timestamp" field to the table. The first
timestamp in a table gets stamped everytime a record is modified.
Kirk
-Original Message-
From: george [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 09, 2001 9:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP]
Hi, Johnson
The file is located at my local WIN ME machine. The file is set to R/W
HK Woo
""Johnson, Kirk"" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Are the permissions set OK?
Kirk
-Original Message-
From: HK Woo [mailto:[EMAIL PROTECTED]]
Thanks Maxim for your help,
If you have a sec could you also please tell me how PHP does the variables?
When you say JS uses your browser as it's server and PHP uses the remote
server, are you referring to the way they call their functions?
Thanks
Kynan
-Original Message-
From:
Will that work if I have for instance 100 entries, each entry recording
the time it was made then I would be able to pull that info out of the db
and display the record and time made at a later date.
george
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
Is the file on your win machine on C: or D: ? There seems to be some
confusion about that. Also, how are you using 'copy' to upload the file?
Are you using a form with a 'file' input type and
ENCTYPE="multipart/form-data" in the FORM tag, etc?
Just some ideas.
Mick
On Mon, 9 Apr 2001, HK Woo
Yes ... 100 entries or 100 x 100 entries! :-)
Mick
On Mon, 9 Apr 2001, george wrote:
Will that work if I have for instance 100 entries, each entry recording
the time it was made then I would be able to pull that info out of the db
and display the record and time made at a later date.
In one page from a series of pages where I am building arrays for future
use:
$item4_array = urlencode (serialize ($item4_array));
echo "input type=hidden name=item4_array value=$item4_array";
---
On my last page I send an email so I need the info that was stored:
$item4_array =
Thanks, Michael
You've reinforced how I've come learn that php does things. When I first tried the
script
it simply printed the first form over and over. it was kind of funny in a way. I'll
restructure
my program now to account for how PHP does things. thanks again,
chris
On Mon, 9
It will work if you are creating a new record for each entry (an INSERT for
each entry). It will not work if you are UPDATE'ing an existing record for
each entry. In this case, only the time of the most recent UPDATE would be
recorded.
-Original Message-
From: george [mailto:[EMAIL
Hi Yasuo,
Subject: Re: [PHP] Nested for() loops? - Now Multi Dimension Arrays
Date: Sat, 7 Apr 2001 12:57:02 +0900
From: "Yasuo Ohgaki" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Simple to fix it. You just need to resolve ambiguity with {}.
$res = $i * $j;
I am having trouble installing PHP4 on my linux machine. I downloaded to source
and i did a ./configure then a make then a make install. That all went good.
Now i am trying to find the libphp4.so file. I did a couple search commands but
it could not find it. Can anyone help me with finding this
At 12:48 PM 4/9/2001, Frank K wrote:
RTFM!
read the fscking manual...it explains everything in the "installation" section
~kurth
I am having trouble installing PHP4 on my linux machine. I downloaded to
source
and i did a ./configure then a make then a make install. That all went
what`s the error message now? Can be something like "permission denied"...
You should create a diretory and do "chmod 666 dir_name", than you'll have
the right permission to write in this diretory.
regards,
Augusto
On Tue, 10 Apr 2001, HK Woo wrote:
I have tried to add ENCTYPE as you
How can I list the files in a diretory?
Something like, get the files name in an array...
http://www.php.net/manual/en/class.dir.php
Chris
Hello,
Could someone please tell me where I am going wrong here.
I have an HTML form and I want to past the input from a text box to the
next page url to connect
to my mysql database.
Here is where I am at now
form name="myEditForm" action="edit.phtml?number=? '$exedit' ?"
method="post"
On Monday 09 April 2001 17:00, you wrote:
Hi,
I use a command "copy" to upload a file from my local win machine to
webserver. However, it is not successful. It prompts that "Warning:
Unable to open 'D:\\PHP\\upload1.php' for reading:". I would like to
know what is the problem
show us some
Augusto
NO,
An error message is "Warning: Unable
to open 'D:\\PHP\\upload1.php' for reading:"
"Augusto Cesar Castoldi" [EMAIL PROTECTED] wrote in message
Pine.GSO.4.10.10104091306290.171-10@venus">news:Pine.GSO.4.10.10104091306290.171-10@venus...
what`s the error message now? Can be
Hi
Pass the variable as a parameter (without quotes):
form name="myEditForm" action="edit.phtml?number=?echo $exedit?"
method="post" onsubmit="return validate()"
and then in the next page refer to the variable $number, OR
in the next page just refer to the variable $exedit (which gets posted
Try this:
form name="myEditForm" action="edit.phtml?number=?php echo $exedit; ?"
method="post" onsubmit="return validate()"
This should display ?number correctly (I take it that's the problem).
You may also need to use "return validate();" or "javascript: return
validate();", not too sure
On Mon, 09 Apr 2001 12:08:48 -0400, Curtis ([EMAIL PROTECTED])
wrote:
Hello,
Could someone please tell me where I am going wrong here.
I have an HTML form and I want to past the input from a text box to
the
next page url to connect
to my mysql database.
Here is where I am at now
form
Thanks Chris,
but I understand urlenconde and urldecode - what I need to see in an example
where rawurlencode as opposed to urlencode is used and why.
Thanks,
Abe
- Original Message -
From: "Christopher Allen" [EMAIL PROTECTED]
To: "info" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent:
Hi,
I'm trying to display a record count of some sort on a page I'm working
on. For example, "Record 1 of 15". I can display the 1st number ok, but
I'm a bit confused on what the count function should look like for the
2nd number (15, in this case). Here is my current (not working) code.
I too, am trying to get this module, so that it will load with dl()
On unix, it is libpdf.so
So, if anyone can answer me this:
How do you compile a module under unix/linux for use with dl()?
Anyone, anyone?
Fry? Fry? Fry?
(sorry, little ferris buehler ref there.)
On 4/8/01 7:00 PM, "Jochen
1 - 100 of 226 matches
Mail list logo