In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (J.F.Kishor) wrote:
> I'am breaking my head by trying to put a scroll in a table,
> my problem is, using php 'am trying to display a report and the report
> should have three tables, data to display are taken from three different
> tables
Hi all,
I'am breaking my head by trying to put a scroll in a table,
my problem is, using php 'am trying to display a report and the report
should have three tables, data to display are taken from three different
tables and number of rows returned are three different values, the n
A .phps would be helpful
-Original Message-
From: Nick Richardson [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 10:05 PM
To: PHP General
Subject: [PHP] What's wrong w/ this line?
PHP seems to be completly ignoring this line...
Funny part is that i use this same line in ano
On Tuesday 26 February 2002 14:04, Nick Richardson wrote:
> PHP seems to be completly ignoring this line...
>
> Funny part is that i use this same line in another place in my code and it
> works fine there... i have no clue - Need coffee.
>
> } elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))
I'm guessing it's out of context. It must be after an if block, and before
and else block:
if ($value) {
print "some stuff is true";
}
elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))) {
print "$uname is valid";
}
else {
print "$uname is not valid";
}
-
A switch will match the value to one of the cases and then continue
executing each line until it encounters the end of the switch block or
encounters a 'break'; It doesn't do any other validation after the initial
sucessfull case validation. I've never used a continue inside a switch
block but I
Nick,
I believe you need a space between 'else' and 'if'. Should be two separate
words. If that doesn't work, please send more of the code.
Regards,
Jason Cox
- Original Message -
From: "Nick Richardson" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, February
PHP seems to be completly ignoring this line...
Funny part is that i use this same line in another place in my code and it
works fine there... i have no clue - Need coffee.
} elseif(!(preg_match("/^[A-Za-z0-9-]+$/",$uname))) {
//Nick Richardson
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-
Hi all,
I am trying to get sessions to work to use to pass some data around, but the
values do not seem to be coming through - I've probably got something basic
wrong
PHP version is 4.0.4pl1
sources are
validate.php
Today's Date
Connection established on $dbcnx");
if (!$dbcnx) {
Hi there,
Is there any function that can i used in wrapping a continuous line of words
that will be displayed in the HTML table to avoid destroying its table
format. I've tried wordwrapping function but it only wraps word with spaces
between them. I have a REPORT NO. that is continously increme
It breaks the individual characters down into their ascii equivalent,
and makes it one big 'numerical' string... then breaks the string back
into separate values and translates each value back into a character,
then recreates the string from the characters...
I got sick of slashing and un slashin
Right on!!! - This works great!!
Can you explain what it does ;) - i'm completly lost in it ;)
//Nick
-Original Message-
From: Demitrious S. Kelly [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 8:02 PM
To: 'Nick Richardson'; 'PHP General'
Subject: RE: [PHP] Variables contain
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> [EMAIL PROTECTED] (Daniel alsén) wrote:
>
> > Hi,
> >
> > how do i display return values from functions?
> > Ie i want to see whether mail() returns TRUE or FALSE.
>
> echo mail(...);
> shows the return value, then you can do:
>
> i
Try these...
function encode($string) {
$string=stripslashes($string);
$temp='';
$newstring='';
for ( $counter=0; $counter != ; $counter++ ) {
$temp=substr($string, $counter, 1);
if ( $temp == '' ) {
break
there's htmlentities or something like that - try that w/ your hidden field
-Original Message-
From: Nick Richardson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 2:56 PM
To: PHP General
Subject: [PHP] Variables containing HTML?
Stupid question for everyone... i'm just hav
Stupid question for everyone... i'm just having one of those braindead
moments.
I have a page which allows users to add custom headers and footers in HTML.
(i.e. Fill in a text area with a bunch of html, and that's stored in a mysql
database and retrived when that user logs in again).
The proble
Hello folks! I've been lurking the last 200 messages or so (i.e. 10-15
minutes ;-) I've already learned a lot, including that this list will be
well worth the bandwidth. I hope my post will be worth the reading.
I think I have my first contribution to make, and at the same time would
like to a
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Leonid Zilber) wrote:
> On our site, we have page with a form a user puts his/her information such
> as company name, givenname, etc. Currently, if a name entered is anything
> but English characters, PhP fails.
>
> For example, if I enter Norw
The first thing I'd do is run your transformation through one of (or all of)
the rest of the XSL engines out there. There's a lot more variability out
there in XSL engines. Unfortunately, Sablotron isn't the most conformant of
the field. I haven't used Sablotron in a while for XSLT processing so a
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Kostas Karadamoglou) wrote:
> When I change an argument from off to on and then restart the Apache server
> the php.info() function displays thats no changes took place.
> Exambles like register_global and display_errors.
> I dont know what is
Thank you George you are right, Im looking for a redirector once details
have been checked in the form and written in the database, but how can i do
it what whould be the second option? i 've searching for javascript
redirector but i cant find one. Could you please help me im stuck here.
Regard
www.phpbb.org has one. Basically creates a bunch of database tables and
modify a few files.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
"Sascha Ragtschaa" <[EM
Hello,
I'm wondering if anyone here has had experience interfacing to FM on an NT box. Any
gotcha's to look out for? They don't want to be stuck with something as closed as ASP
with several non-MS platforms to support. It's the Unlimited edition, I *assume* it
has ODBC support (didn't fin
On Sat, 2002-02-23 at 20:13, KAT 44 wrote:
> Hello,
> I'm not sure if this is a newsgroup, list or direct e-mail
> address. In any case, I ask of anybody who can answer my
> question to *send me an e-mail* at [EMAIL PROTECTED],
> and not answer on the list/newsgroup/etc. (Thank you.)
I'm reply
Hi my system has the following characteristics
Windows Me
Apache for window 1.3...
and PHP 4.1.1
When I change an argument from off to on and then restart the Apache server
the php.info() function displays thats no changes took place.
Exambles like register_global and display_errors.
I dont kno
Anything in effect saying "any transfer without extra cost" (or "unlimited
diskspace") is not for users expecting quality. Bandwidth and diskspace
costs money.
What they mean is "It's unlimited unless off course you use too much", in
other words unserious advertising and so it's a business yo
Hello,
I'm not sure if this is a newsgroup, list or direct e-mail
address. In any case, I ask of anybody who can answer my
question to *send me an e-mail* at [EMAIL PROTECTED],
and not answer on the list/newsgroup/etc. (Thank you.)
My question is the following:
When having a switch statement as fo
Try this instead:
SELECT *, DATE_FORMAT(appointment.startdatetime, '%m-%d-%y') AS yrappt
FROM appointment
LEFT JOIN guest USING (appointment_id)
That should work, but I don¹t know what your table is like so I can only
guess all the required elements are there.
Rick
"Every person you meet - and
the query is:
select appointment.*, date_format(appointment.startdatetime,'%m-%d-%Y') as yrappt from
appointment left join guest on appointment.appointment_id = guest.appointment_id
i think it's syntactically correct, it returns the correct rows when run with the
mysql.exe program but gets a
can you supply some examples please
-Original Message-
From: Alexander P. Javier [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 26, 2002 10:34 AM
To: [EMAIL PROTECTED]
Subject: [PHP] MySQL joins
why do i get errors on MySQL queries that have joins?
alyx
---
why do i get errors on MySQL queries that have joins?
alyx
-
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
Hi there, i have the following php code that works fine. But when i
click on the submit button and then it takes me to the next page, it
displays the following error mesage at the top
Warning: MySQL: A link to the server could not be established in
c:\program files\nusphere\apache\nsdocs\mug_worl
Hi,
Thanks for your help, but that assumes that file is (at least temporarily)
stored on disc - I'd like to take the file data straight out of the database
and be available for "download" by the user. Is this possible at all, or will
I have to create a temporary file to hold the data, and *then*
That is probably faster than going through the for loop...
Helps if I read the documentation on Arrays.
Thanks for info Lars,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Lars Torben Wilson [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 3:05
On Mon, 2002-02-25 at 13:56, Phillip S. Baker wrote:
> What is the quick way to generate numbered arrays?
> I cannot seem to find it in my documentation.
>
> Looking to generate and populate an array with the numbers 0-23.
>
> Thanks
>
> Phillip
http://www.php.net/range
Cheers,
Torben
Put it in a for loop and add data to the array.
Example:
for( $i = 0; $i < 24; $i++)
{
$arr[$i] = "Data here.";
}
This is one of the fastests; however, there are other ways as well.
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message
I haven't been able to find any leads on this in the archives, nor in the
documentation, so here goes.
When feeding an associative array to str_replace as the subject, does it
still return an associative array?
My instance:
extract(str_replace(",","",$result_row));
After pulling an associativ
What is the quick way to generate numbered arrays?
I cannot seem to find it in my documentation.
Looking to generate and populate an array with the numbers 0-23.
Thanks
Phillip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In the download_file.php put a header() function which redirects the
browser to the file, like header("Location: test.dat"). After that it
should show the dialog screen.
Balazs
On Mon, 25 Feb 2002, Lee P Reilly wrote:
> Hi,
>
> I wonder if someone can point me in the direction of an example and
This is mysql doing the locking, you will need to look into your mysql
configuration.
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 2:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Freeing up
Sometimes when using PHP/mySQL I have encountered a locked table. I have no
idea why it occurs, I am not explicitly locking the tables but sometimes in
phpmyadmin it says "in use". Is there a way to "unlock" this table using
PHP?
Jeff
--
PHP General Mailing List (http://www.php.net/)
To uns
On Mon, 25 Feb 2002, Andy wrote:
> Hi there,
>
> I am building a web application which is storing pictures.
>
> Is there a limit of files in one directory on LINUX systems? Perhaps it
> might end in a problem after having 3 files in the same dir? Performance
> issues ore something else.
Th
Simon Willison wrote:
> Gary wrote:
>
>> Hi All,
>> I am not too bad at building arrays in php but I need to convert a
>> javascript form into php. How wuld I conver the small snippit here?
>>
>> var d = new Array(), l = new Array();
>> l[0] = new Array(1, -360, 1, "CHICAGO");
>> l[1] = new Arr
On Mon, 2002-02-25 at 13:03, Mike Krisher wrote:
> Is there a way with PHP to grab a file from an external server
> (http://www.domain.com/image.jpg) and save/upload it onto my local server?
>
> Thanks in advance,
> __
> Mike Krisher
http://www.php.net/curl
Cheers,
[EMAIL PROTECTED] (Mike Krisher) wrote:
> Is there a way with PHP to grab a file from an external server
> (http://www.domain.com/image.jpg) and save/upload it onto my local server?
use fopen()
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
Hi there,
I am building a web application which is storing pictures.
Is there a limit of files in one directory on LINUX systems? Perhaps it
might end in a problem after having 3 files in the same dir? Performance
issues ore something else.
Has anybody got experiance on that?
Thanx for any
Gary wrote:
> Hi All,
> I am not too bad at building arrays in php but I need to convert a
> javascript form into php. How wuld I conver the small snippit here?
>
> var d = new Array(), l = new Array();
> l[0] = new Array(1, -360, 1, "CHICAGO");
> l[1] = new Array(1, -420, 1, "EDMONTON");
> l[2
$d = array();
$l = array();
$l[0] = array(1, -360, 1, "CHICAGO");
$l[1] = array(1, -420, 1, "EDMONTON");
$l[2] = array(1, -540, 1, "FAIRBANKS");
- Original Message -
From: "Gary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 4:15 PM
Subject: [PHP] Converting
[EMAIL PROTECTED] (Robert Mena) wrote:
> Hi,
>
> I was wondering if anyone has developed web services
> using SOAP with php. I'd like to use it in a future
> project but was wondering which "tools" (classes,
> exemples) do we have and how stable are they.
I think something is cooking in t
I've got an exceedingly wierd issue. I'm running a default installation
of Linux Slackware 8.0. I've got the apache and mod_php modules
installed. If I access my php document as follows, everything is parsed
correctly:
http://www.example.net/mypage.php
However, if I access the page wit
[EMAIL PROTECTED] wrote:
>Gary wrote:
>
>>
>>John Ericson wrote:
>>
>>>Im programming a page where I have a java-tree-menu that gets generated
>>>from a db. The code works perfectly but sometimes when a browser reads the
>>>page I just get half of the page. I have noticed this behaivour on many
> SAP DB is just another name for AdabasD from a programmers point of view-
Ah, cool.
> http://www.php.net/manual/en/ref.odbc.php
Well, yes.
> " In addition to normal ODBC support, the Unified ODBC functions in PHP allow
> you to access several databases that have borrowed the semantics of th
Hi,
I wonder if someone can point me in the direction of an example and / or
some documentation for the following task:
I have a DB table containing the name and contents of plain text files
that users have uploaded. I have a facility which allows users to view
these, but I would also like the u
If you will be using the data elsewhere then use it when it is displayed
on the screen, or your other program will have to parse it.
It is a good idea to always run htmlspecialchars when outputting text to
the browser that came from a form.
-- Stewart
On Mon, 25 Feb 2002, Erik Price wrote:
>
Your submit button does not have name="submit" set. So $submit is never
being set.
Also your html is full of errors, I would clean that up and put it thru a
validator, try html tidy (www.w3c.org).
And, make sure that formvalidation() is passing true, is that fails the
form will never be submi
I was wondering if anyone could give me some advice in deciding the most
appropriate time to use htmlspecialchars():
When user input is accepted and error-checked and ready to be inserted
into the database? Or when user input is pulled from the database and
ready to be displayed to the screen
On Tuesday 26 February 2002 02:31, Chiew, Richard wrote:
> I have the following php code to asks for a new student to fill out a
> registration form. Using php, take what the user enters and put it into
> the "students" table. But when i select * from students in mysql, it
> didn't show, why?
Joe,
I don't want to change the query itself like you show. I want to use this
query
$query = ""
mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'");
and change only the variable $query = ""
I use $query throughout script for other things.
Thanks
Craig ><>
[EMAIL PROT
hi,
when im using i get
Sablotron error on line 1: unknown encoding 'ISO-8859-1' in on line ...
but i think iso-8859-1, utf-8, etc. support must be build in. in addition,
when i try to include an external xsl with or a
xml file with "document()", no matter what encoding the target-file
Well, you have to destroy the session... see session_destroy()
I never tried this, but you can call a PHP script on the onUnLoad event
of the body page... so when the window is closed, it calls a given
script and this script destroy the session.
William.
El lun, 25-02-2002 a las 12:29, Beta e
Hi,
I was wondering if anyone has developed web services
using SOAP with php. I'd like to use it in a future
project but was wondering which "tools" (classes,
exemples) do we have and how stable are they.
regards,
Rt.
__
Do You Yahoo!?
Yahoo! Sp
Hi there :)
1. mysql_query("SELECT * FROM table WHERE date ='$mydate'"); # where date
is same
2. mysql_query("SELECT * FROM table WHERE date > '$mydate'"); # where date
is newer
3. mysql_query("SELECT * FROM table WHERE date < '$mydate'"); # where date
is older
4.mysql_query("SELECT * FROM t
Hi,
Is it possible to activate magic_quotes_gpc on a server running PHP 3.0.16
without the php.ini settings being physically altered?
I ask became my hosting company is hesitant to activate it for some unknown
reason - however without it I cannot enter information into a database for
a conten
$query = ""
mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'");
// returns all items in database
$query = "2001-01-01"
mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'");
// returns all rows that have 2001-01-01 as the date
What is proper way to define a varia
On Mon, 25 Feb 2002 10:04:07 -0800
Steven Walker <[EMAIL PROTECTED]> wrote:
> Dear Batara,
>
> There are global variables that serve this purpose. You must have
> register_globals turned on:
>
> http://www.php.net/manual/en/language.variables.predefined.php
> $_POST
> An associative array of v
hmm, sounds like a good idea, i'll give it a try.
it seems too, that if i dont break up my text, i.e. print all of it in one
long line, it runs a lot faster
i'm running this under Win2k, i got a PIII i dunno how many mhz(it's a
college PC, and everything is locked down on me) but i'd guess at
I have the following php code to asks for a new student to fill out a
registration form. Using php, take what the user enters and put it into
the "students" table. But when i select * from students in mysql, it
didn't show, why?
REGISTRATION FORM
REQUIRED QUESTIONS:
Holy cow that's a big graphic.
20 seconds does sound a tad long, but might not be depending on the
server and memory - what are the specs?
What might possibly speed it up a bit is to create multiple small
versions first (20 one line graphics, for example) and build them all
together at the en
Thanks Martin,
That was indeed the problem! I simply added a '\n' to the end of each
line. And since html doesn't recognize it, it does no harm to the
formatting.
Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]
On Sunday, February 24, 2002, at 06:26 PM, Martin Towell
Dear Batara,
There are global variables that serve this purpose. You must have
register_globals turned on:
http://www.php.net/manual/en/language.variables.predefined.php
$_POST
An associative array of variables passed to the current script via the
HTTP POST method. Automatically global in any
Hi everyone,
I was hoping to work on a hairbrained idea that would allow me to use php to
control an X10 or other serial device (security system, irrigation
controller, etc,). I have read several hints at using the fopen function to
do serial communications but these posts were a year old. Is
Try:
SITE CHMOD 666 filename
Also be sure that the file name in PHP matches the exact file name on
disk.
Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]
On Monday, February 25, 2002, at 12:36 AM, Sven Jacobs wrote:
> Hey
>
> How can I create files with php, I've tried
Hi all,
I have a page that post a lot of variables to the next page. It looks
like:
one
two
three
On next.php I can access all the values through: $f_text1, $f_text2, and
an array $f_multiple1. My question is, how can I pack all of these
variables from previous page _without_knowing_ t
Just a guess but would using session_register(myvar); instead of
registering directly to the global list make any difference?
-Original Message-
From: Joel Alexandre [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 9:39 AM
To: Lista de PHP
Subject: [PHP] Using sessions
i'm h
Hello!
How can i get the url of the main page with a script, that is running in a frame of
that page?
Thanks,
Klaus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
BlankHI, i have a problem,
When i close the browser the session is NOT killed, when i enter the page
that requires login i can enter the page that was previosly entered via
login (but i closed it). So it remembers session or cookies i don't know.
How to prevent this, How to kill the session when
Just curious to know if someone already has a approach on that...
Are there any experiences on a installer for php projects?
Sascha Ragtschaa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
On our site, we have page with a form a user puts his/her information such
as company name, givenname, etc. Currently, if a name entered is anything
but English characters, PhP fails.
For example, if I enter Norwegian characters lsløæ PhP returns the following
errors:
"Last name fie
hi..
setting a fifth parameter with (-f ) works..
eg.
mail($send_email,$subject,$body,$headers,"[EMAIL PROTECTED]");
thanks!
- Original Message -
From: Jon Haworth <[EMAIL PROTECTED]>
Newsgroups: php.general
To: 'DigitalKoala' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, Feb
> if i set the return-path of a email to be
> "[EMAIL PROTECTED]", will bounced be
> returned here?
You may want to investigate the Errors-To header as well (although you never
know your luck - have you tried it?)
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
try this:
Log out
or
Log out
William
El lun, 25-02-2002 a las 12:00, Jan Grafström escribió:
> Hi!
>
> I have build a webshop inside a framset using sessions, and move around in
> my mainframe.
> I wonder how to get out of the mainframe when I logg out and destroy the
> session.
> It doese
I have been playing around with creating images in php using GD, and I
have some questions for the list.
How much more processing power does it take to create an image versus
just sending the image?
Aside from photo album type apps, how are people using GD?
Is GD well suited for navigational im
Hi!
I have build a webshop inside a framset using sessions, and move around in
my mainframe.
I wonder how to get out of the mainframe when I logg out and destroy the
session.
It doesen´t work with:
Header("Location: /naba/logout.php?".SID.");
Can I use target or something with Location?
Thanks
make a form, one "delete"-button and put a checkbox before every file. the
checkbox's name is 'delete_file['.$filename.']' ... wehen pressed delete
open a file which foreach's every entry in delete_file and unlink it. but be
careful - this could be a huge security-hole ...
+ stefan
"Nautilis" <
i'm having some trouble using sessions.
first of all i have to use php 4.0.6.
When i use $HTTP_SESSION_VARS, the session variable isn't
being saved.
for example:
if(!isset($HTTP_SESSION_VARS['id'])){
$HTTP_SESSION_VARS['id'] = 0;
}
else{
$HTTP_SESSION_VARS['id']++;
}
echo $H
Hello,
I'm hoping to get some help with a sessions problem i've
ran into. track_vars is enabled and register_globals is off.
i'm using PHP 4.0.6 and custom session handlers with ADODB
connecting to mysql.
at the top:
session_start();
if (!isset($HTTP_SESSION_VARS["old_folder"])) {
e
Yeah,
>From php, I've called paybox (http://www.paybox.de), which is a mobile phone
based payment service. You exchange transactions with them via xml.
They have their own "cartridge" for php, but it's just a perl rewrite and not
very wonderful, so I rewrote most of it.
The basic approach is s
DOH, I always figure it out after I post to the mailing list, the user
didn't have create table privileges, that's why it didn't persist in my
first attempt to do this with separate queries.
On Mon, 2002-02-25 at 10:34, Jeff Bearer wrote:
> Hello,
>
> I'm trying to use a temporary table in mySQ
You have to pass the params received in index.php to the rest of the
pages in the frames...
eg: http://mysite.com/index.php?s=1
so, the index.php script will looks something like this:
name=menu>";
name=main>";
name=foot>";
William.
El lun, 25-02-2002 a las 03:03, Jason Cal
OK, Im an idiot, glad I caught myself before someone else did. I didnt see
the PHP print statments. :)
Follow mikes advice on the register globals, and restarting the server. Or
try using $HTTP_POST_VARS['user'] or $_POST['user'].
-- Stewart
On Mon, 25 Feb 2002, Stewart G. wrote:
> Its not
Hi everybody,
I show a list of files that I upload to the user's folder using the next
code:
$path= "../clients/$user";
$dir = opendir ($root);
while ($archivo = readdir ($dir))
{
$size = filesize("$path/$filename");
$size = ($size/1024);
$s
Terry: I forwarded this to php-general list. Perhaps they can answer your
question
-Original Message-
From: Terry Romine [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 10:01 AM
To:
Subject: php email question
I am trying to set up a MIME email that would include an HTML and
hi,
when i use register_shutdown_function in an included or required script,
will the function be called after the processing of the included / required
script, or after all scripts? i think they are called last, but i'm not sure
...
does anyone know?
+ stefan
--
PHP General Mailing List (
You do not need to use javascript.
Simple create a form that submits to itself. And check the values, then
reprint the form or redirect.
Example:
\n";
}
}
if (!empty($err_msg)) print $err_msg;
}
?>
Hope that helps,
-- Stewart
On Mon, 18 Feb 2002, George Whiffen wrote:
> Jason
hi folks,
if i set the return-path of a email to be "[EMAIL PROTECTED]", will bounced be
returned here?
thanks!
dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> while ($row = mysql_fetch_array($results){
ITYM
while ($row = mysql_fetch_array ($results)) {
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]]
> Sent: 25 February 2002 14:35
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP] Problem about Reading input from a Form
>
>
> I set the register_globals On in the php.ini file but when i
> do php.info
Good day,
I would have to dig around to find the appropriate note in the
documentation, however I seem to recall reading that PHP's MySQL wrappers
intentially prohibit a user from using semicolons- basically to prevent
one's database from being hacked due to a poorly constructed query using
user
Its not a register_globals issue. You must wrap $user and $address in php
print statements rather than just in the html.
Your name is .
Your address is .
That will work with either GET or POST.
-- Stewart
On Mon, 25 Feb 2002, Kostas Karadamoglou wrote:
> I set the register_globals On in the
El dom, 24-02-2002 a las 17:39, Matthew Darcy escribió:
> Hi,
>
> I want to create a dropdown list with options from a table.
>
> ie
>
>
>
>
> $sql_select = "select * from dropdown_options";
> $results = mysql_query($sql_select);
>
> while ($row = mysql_fetch_array($results);
> {
> e
1 - 100 of 140 matches
Mail list logo