hi everyone..
i need delete two related table from mysql database,
but i am found and error..
this following my sql language :
DELETE FROM X INNER JOIN Y ON X.ID = Y.ID WHERE Y.No = 144;
i found an error in INNER JOIN syntax..
but i have successfully displaying 2 Related table in SELECT synta
--- Cditty <[EMAIL PROTECTED]> wrote:
> A co-worker is teaching me to move to the next level
> in php. I have started using associative arrays for my
> scripts, but I am having a problem using them to do an
> insert into MySQL. Can someone give me an example of
> how to do an insert to the database
Vernon wrote:
How do I create a graphic pie chart on the fly with PHP. I have already
figured out how to get the variables from the database and so forth am just
looking to create the graphics.
Thanks
If you have the GD libraries installed, you could use the
jpgraph libraries - google for jp
Cditty wrote:
A co-worker is teaching me to move to the next level in php. I have
started using associative arrays for my scripts, but I am having a problem
using them to do an insert into MySQL. Can someone give me an example of
how to do an insert to the database using these arrays? My array is
I'm trying to download various amount of information from handles opened by fsockopen.
fgets works but takes forever on very large files because it breaks on every line.
fread seems like it would work better but when I use a buffer of 1024 or 4096, it's
actually far SLOWER on small files.
Wha
Karl,
> what is a winmail.dat file?
Is it too much to ask that you do some of this sort of thing for
yourself?
Here, I'll help you...
1. Connect to the Internet (if necessary)
2. Load a web browser
3. Navigate to http://www.google.com/
4. Type "what is a winmail.dat file" into the search b
Because a default install of MySQL includes an anonymous user, one with
no username or password. There is also a root user with no password.
Read the MySQL manual on Installation and the GRANT command on how to
fix this.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professional
--- Anthony Ritter wrote:
> I installed mysql 3.23.55 and wanted to check the user
> table in the mysql db.
>
> The query was:
> SELECT User FROM user WHERE host='localhost';
This is a PHP list. There are mailing lists for MySQL that
you should check out if you are having trouble
understanding da
Working on:
Win 98 / mysql 3.23.55 / php 4
I installed mysql 3.23.55 and wanted to check the user table in the mysql
db.
The query was:
SELECT User FROM user WHERE host='localhost';
The output was:
xx
user |
xx
||
||
root
Another option is to place the files outside of your web root. The
include files can be anywhere on your machine, you just have to give a
good path when you include() them. If they are outside of your web root,
then they can never be called up in a browser.
Last option is to name the files with a
> I just finished loading the OS to my PC once again, installed and
> configured IIS and then installed PHP 4 but now, every page I try to
open
> tells me:
>
> Failed opening required '/icaam7/lib/stdlib.php'
> (include_path='.;c:\php4\pear')
Since there's a slash at the beginning, it's looking f
echo date ("l dS of F Y h:i:s A");
However, I need to add 12 hrs to this date befor displaying on the
webpage. Can someone please help me to modify the above code?
$t = time() + (12 * 60 * 60);
echo date ("l dS of F Y h:i:s A", $t);
Larry
--
PHP General Mailing List (http://www.php.net/)
To un
You will have to look up how to use the GD libraries
Look up Image Functions in the manual... Or you could also google for online
tutorials/classes
Andrew
- Original Message -
From: "Vernon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 1:19 AM
Subject: [P
Hello friends.
I have the following code :
The code works fine and the listbox is populated. But when I select a category and
press the "Search" button, the variable $CategoryName is not passed to the page
findbycategory.php. Can you please tell me where I am wrong?
Quote
\n";
}
$
Hi,
Monday, February 3, 2003, 8:24:00 AM, you wrote:
BVB> When creating an image using the image functions how do you control the
BVB> type face size?
If you are using imagestring() the size is determined by the font number (1 - 5)
for internal fonts. If you use true type fonts then the size is s
Hi,
Monday, February 3, 2003, 11:10:36 AM, you wrote:
DLM> Hello friends.
DLM> The follwing code displays the date on my webpage :
DLM> echo date ("l dS of F Y h:i:s A");
DLM> However, I need to add 12 hrs to this date befor displaying on the webpage. Can
someone please help me to modify the a
How do I create a graphic pie chart on the fly with PHP. I have already
figured out how to get the variables from the database and so forth am just
looking to create the graphics.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello friends.
The follwing code displays the date on my webpage :
echo date ("l dS of F Y h:i:s A");
However, I need to add 12 hrs to this date befor displaying on the webpage. Can
someone please help me to modify the above code?
Thanks
Denis
What about the coding standard found on PEAR.php.net
LW
-Original Message-
From: Maxim [EMAIL PROTECTED] [mailto:Maxim
[EMAIL PROTECTED]]On Behalf Of Maxim Maletsky
Sent: Monday, 3 February 2003 11:19 AM
To: anders thoresson
Cc:
Subject: Re: [PHP] how to write clean code.
Coding
Coding style is a very personal issue, one codes the way he/she likes.
But, for keeping the maintenance easier, K&R style (named after
Kernighan and Ritchie - the Linux fathers) would probably be the best. I
(personally) prefer it quite a lot, without much modifications.
Here are a few references
On Sun, Feb 02, 2003 at 04:55:08PM -0500, Matt wrote:
>
> > i have a listbox:
> >
> > > //connect to db and get query
> > mysql_connect(".");
> > mysql_select_db("...");
> > $query=mysql_query("select username from users);
> > /*finish the listbox*/
> > while($account=mysql_fetch_array($quer
Make a php file with nothing but this in it
phpinfo();
?>
...and hit that in your browser. It will tell you the location of the
ini that it is using.
César Aracena wrote:
Hi all,
I'm sorry for this re-post, but I do need help with this URGENT...
I just finished loading the OS to my PC
Hi all,
I'm sorry for this re-post, but I do need help with this URGENT...
I just finished loading the OS to my PC once again, installed and
configured IIS and then installed PHP 4 but now, every page I try to open
tells me:
Failed opening required '/icaam7/lib/stdlib.php'
(include_path='.;c:\ph
How do I get the directory size? Suppose there is a function for this.
antti
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi..
listbox prob fixed...
i had echo "";
in the first file it should have been:
echo "";
and in second file i had:
echo 'account[username]';
should have been :
echo "$account[username]..";
- Original Message -
From: "Matt" <[EMAIL PROTECTED]>
To: "Sunfire" <[EMAIL PROTECTED]
See:
http://www.php.net/readdir
http://www.php.net/filemtime
The examples within will help you write this.
K, think it is possible to solve my problem. Here comes a almost similar question.
After looking up the stat(9 function I cant see how I can acces the 'created date' of
a file. Can I?
how do you tell it to refuse file.inc with a .taxis file? the server i will
be running this on is a public server and they dont allow .taxis files i
dont think...i will have to check and see
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "'Sunfire'"
- Original Message -
From: "Philip Olson" <[EMAIL PROTECTED]>
To: "Øystein Håland" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, February 02, 2003 11:41 PM
Subject: Re: [PHP] How can I display lastmodified for all my php-files?
See:
http://www.php.net/readdir
http://www.p
Can you hit it by typing the actual filename?
http://www.mydomain.com/index.php
If yes, check you httpd.conf file, and make sure that you have added
"index.php" as a valid index file.
Justin French wrote:
Strange -- can u change it to foo.php and execute it, or do you get a 404
error (not found
on 02/02/03 7:56 AM, Karl James ([EMAIL PROTECTED]) wrote:
> what is a winmail.dat file?
PLEASE don't post in rich text / HTML -- you've been asked more than once
PLEASE ask php-specific questions
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
on 03/02/03 5:28 AM, John W. Holmes ([EMAIL PROTECTED]) wrote:
> Pretty much. Only addition is to make sure filename.inc can't be viewed
> through the browser.
... by having apache refuse to server all .inc files through http, via the
use of a .htaccess file (assuming apache server)
Cheers,
Jus
On Sun, 2 Feb 2003, Øystein Håland wrote:
>
> "Jason Sheets" <[EMAIL PROTECTED]> skrev i meddelandet
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Take a look at the getlastmod() function, an example of the usage would
> be:
>
> $last_mod = date ("F d Y H:i:s.", getlastmod());
>
> Then you c
Strange -- can u change it to foo.php and execute it, or do you get a 404
error (not found)?
Justin
on 03/02/03 12:45 PM, Renato Lopes ([EMAIL PROTECTED]) wrote:
> Hi!
>
> I have called a index.php file in a directory.
>
> Every time I point my browser to that directory the contents of the
>
"Jason Sheets" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Take a look at the getlastmod() function, an example of the usage would
be:
$last_mod = date ("F d Y H:i:s.", getlastmod());
Then you can print or operate on last_mod any way you want, if you don'
When creating an image using the image functions how do you control the
type face size?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2 Feb 2003, Sunfire wrote:
> i have a listbox:
>
> //connect to db and get query
> mysql_connect(".");
> mysql_select_db("...");
> $query=mysql_query("select username from users);
> /*finish the listbox*/
> while($account=mysql_fetch_array($query)){
> echo "$account[username]";
> }
>
>From: "Sunfire" <[EMAIL PROTECTED]>
>Sent: Sunday, February 02, 2003 4:53 PM
>Subject: [PHP] listbox problems
> i have a listbox:
>
> //connect to db and get query
> mysql_connect(".");
> mysql_select_db("...");
> $query=mysql_query("select username from users);
> /*finish the listbox*/
>
i have a listbox:
$account[username]";
}
?>
got it to fill listbox with usernames..
now my question is how do you use the $users variable in the php script that
deals with the listbox?
iat this point all i wanted to do was print the user name that was selected
in the listbox but after i get how
Karl:
Your question appears to be completely off-topic but perhaps this might
help you.
http://www.gotquestions.com/xs/seeDocument.asp?topicID=14&documentID=696
On Saturday, February 1, 2003, at 03:56 PM, Karl James wrote:
IncrediMail -
"Anders Thoresson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Where can I find good guidelines on how to write PHP-code that's easy to
> read for a human?
it is also good idea to separate html from the code, for instance by using
some template engine.
rush
All arrays in PHP are associative; we sometimes use integers to refer to
them, but the order of the array internally is not necessarily the same as
the integers; indeed, any array can have "holes" in them. So the question is
moot.
"There are no different indexed and associative array types in PHP,
what is a winmail.dat file?
thanks Karl
IncrediMail - Email has finally evolved - Click Here
$strandx is defined with code at the top of the page, as follows
$strandx = array('English' => array('Reading', 'Writing','Oral and Visual
Communication'),
'Mathematics' => array('Number Sense and Numeration', 'Measurement',
'Geometry and Spatial Sense','Patterning and Algebra','Data Management an
Hi all,
I just finished loading the OS to my PC once again, installed and
configured IIS and then installed PHP 4 but now, every page I try to open
tells me:
Failed opening required '/icaam7/lib/stdlib.php'
(include_path='.;c:\php4\pear')
even when my php.ini (under Windows folder) tells me that
Try to have a look at this:
http://www.aramsoft.com/barcode/barcode-0.0.8a.tar.gz
--- http://cristophus.cjb.net ---
Why static, when you can go dynamic?
On Sun, 2 Feb 2003, Chris Knipe wrote:
> Lo all,
>
> Does anyone have some fonts or neat PHP code / classes to generate Code
> 128-t
--- Renato Lopes <[EMAIL PROTECTED]> wrote:
> Every time I point my browser to that directory the
> contents of the directory gets displayed instead of
> the index.php file.
It would help if we knew what Web server, but I will assume
Apache and hope for the best.
Locate your httpd.conf file, and
--- Lon Lentz <[EMAIL PROTECTED]> wrote:
> Is there a PHP version of the ColdFusion tag ?
It has been a while since I wrote CF, but I believe
just does the same thing as something like this:
The PHP equivalent of this example is:
if (!isset($foo))
{
$foo = 'default';
}
Chris
--
PHP
You can have a look at this:
http://www.aramsoft.com/barcode/barcode-0.0.8a.tar.gz
--- http://cristophus.cjb.net ---
Why static, when you can go dynamic?
On Sun, 2 Feb 2003, Chris Knipe wrote:
> Lo all,
>
> Does anyone have some fonts or neat PHP code / classes to generate Code
> 128-
Newbie question and OT. Sorry.
I am able to conncet to a mysql server with the following call to
mysql_connect().
$connect=@mysql_connect("","","");
There are no parameters in the function call.
Why can I connect if there are no parameters?
However, if I give mysqladmin the password of:
goodpa
Where do you define the $strandx array? What is it's value?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -Original Message-
> From: Peter Gumbrell [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 02, 2003
Hello,
On 02/02/2003 02:32 PM, Johan köhne wrote:
Is it possible and if so, how to send emails through SMTP servers that require authentication (logging in)?
Not via mail(). You may want to try this class for composing and sending
messages that comes with a wrapper function named smtp_mail() t
One resource I've found valuable is the PHP Coding Standard at
http://utvikler.start.no/code/php_coding_standard.html
To quote the introduction:
The PHP Coding Standard is with permission based on Todd Hoff's C++
Coding Standard. Rewritten for PHP by Fredrik Kristiansen / DB Medialab,
Oslo 2000-2
Where can I find good guidelines on how to write PHP-code that's easy to
read for a human?
--
anders thoresson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Take a look at the getlastmod() function, an example of the usage would
be:
$last_mod = date ("F d Y H:i:s.", getlastmod());
Then you can print or operate on last_mod any way you want, if you don't
want to operate on the date you can just print the return of date.
This information is available i
You might take a look Pear's Image_Barcode, it uses GD so it should be
able to make them in PNG.
With PEAR::Image_Barcode class you can create a barcode represent given
string. This class uses GD function because of this the generated
graphic can be any of GD supported supported image types.
htt
hi
i create a php page dynamically in my php script. this page include one of
my other php file. when i run the newly created script i get this error
Warning: SAFE MODE Restriction in effect. The script whose uid is 48 is not
allowed to access file.php owned by uid 831
Is there a way to handle th
Has anyone used php to send ringtones to cell phones? I've been to
sites that are doing this in ASP, so I'm pretty sure it can be done in
php. I've tried just sending headers like this...
header ( "Content-Type: audio/midi" );
header ( "Content-Name: By-Tor's Song" );
header ( "Content-Version
In one file I want to display filenames and when these files was last
modified. I want this to happen even for files in other directories.
First of all, can it be done with php (I have seen that it is possible using
SSI), and in that case how?
--
PHP General Mailing List (http://www.php.net/)
T
Hi All,
I need to extract text ata from PDF files. Does anyone
know if there is a PHP PDF parser?
Also, does anyone know if there is a sql wrapper for
the ffdb-php project
(http://sourceforge.net/projects/ffdb-php/)?
John created this wonderful FFDB in PHP, and I was
wondering if there are plan
Thanks for the suggestion, John. When I implement your code, however, I get
an error saying
Warning: Invalid argument supplied for foreach() in
home/student/peter/public_html/week4.php on line 153
where line 153 is
foreach($strandx[$subject] as $strandy )
This is the code as I have it now:
swit
On Sun, 2 Feb 2003, Davy Obdam wrote:
> Hi ppl,
>
> I have a problem that probably very simple, but i cannot figure it out
> right now
> I need to get the field names of my database. I have a query like select
> * from books and now i wanna have both the result and the field name. I
> have
On Sun, 2 Feb 2003, Lon Lentz wrote:
>
> Is there a PHP version of the ColdFusion tag ?
Go here:
http://marc.theaimsgroup.com/?l=php-general&s=cfparam
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a PHP version of the ColdFusion tag ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday 02 February 2003 21:45, Tom Rogers wrote:
> you need the php_flag bit
To be explicit it should be
php_flag engine Off
NB there is no '=' sign.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intr
> Major security question:
>
> I manage a shared Linux web server running PHP 4.2.3. Apache must have
> read permissions on a php file necessary for a web application. For
> example a conf.php file containing a MySQL password that is stored
> outside the web directory:
>
> -rw-r-1 q
> hi was just wondering if there was a way to have a php file with all
> constant variables like db mysqluser and password and a few other
things
> defined in a file of its own and then be able to use the variables in
it
> for
> the project it was built for?
>
> the last i knew it could be done an
> The following code loops through a multidimensional array, printing
the
> subject heading and then the strand:
>
> foreach( $strandx as $subjectx=>$strandy )
> {
> print " ".$subjectx.".\n";
>
>
> print " \n";
> asort( $strandy ); // sorts the strands
> foreach( $strandy as $str )
>
> { print
Hi ppl,
I have a problem that probably very simple, but i cannot figure it out
right now
I need to get the field names of my database. I have a query like select
* from books and now i wanna have both the result and the field name. I
have been trying with mysql_field_name, but not succesful
On Sunday 02 February 2003 23:10, John W. Holmes wrote:
> Then don't use LOAD DATA INFILE if it's not working for you. Write a PHP
> script to read each line of the file and insert it. Yes, it'll be a
> little slower, but then you could also add an auto_increment or
> timestamp field that'll keep
At 17:25 02.02.2003, Chris LeBlanc said:
[snip]
>Ok, so where is the err in my logic since I know there is one, because after
>var3 is set I keep getting "MD5 has changed", or I just don't understand the
>proper use of MD5, most likely both :)
---
On Sunday 02 February 2003 22:57, anders thoresson wrote:
> I'm having trouble designing a good html-form/MySQL combination for an
> access rights system.
[snip]
You may want to have a look at this:
http://phpgacl.sourceforge.net
It seems to provide a very comprehensive system for setting a
On Sunday 02 February 2003 23:53, Sunfire wrote:
> hi was just wondering if there was a way to have a php file with all
> constant variables like db mysqluser and password and a few other things
> defined in a file of its own and then be able to use the variables in it
> for the project it was buil
For a bit more in depth answer, I would recommend using the Mail class
in Pear:
http://pear.php.net/manual/en/core.mail.mail.php
Should make it very easy.
Wes
On Sunday, February 2, 2003, at 01:10 PM, Jason Wong wrote:
On Monday 03 February 2003 00:32, Johan Köhne wrote:
Is it possible and
On Monday 03 February 2003 00:32, Johan Köhne wrote:
> Is it possible and if so, how to send emails through SMTP servers that
> require authentication (logging in)?
Yes. Search the archives.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web D
Hi,
Add "index.php" to DirectoryIndex section in your httpd.conf file, if
you're using Apache...
HTH,
Florin.
On Sun, 2 Feb 2003 17:45:33 -0800
Renato Lopes <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I have called a index.php file in a directory.
>
> Every time I point my browser to that directory
Hi!
I have called a index.php file in a directory.
Every time I point my browser to that directory the contents of the
directory gets displayed instead of the index.php file.
Can anyone help?
Thanks in advance
Renato
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Lo all,
Does anyone have some fonts or neat PHP code / classes to generate Code
128-type Barcodes? I'm preferably looking to get the barcode generated in a
PNG / GIF type format...
--
me
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No functions that I can think of but you can write one like this:
$arrayType = 'numeric';
foreach($myArray as $key => $value) {
if(!is_numeric($key)) {
$arrayType = 'associative';
}
}
Also remember that an array can be both!
Larry
> Is there a way to determine if an array
The following code loops through a multidimensional array, printing the
subject heading and then the strand:
foreach( $strandx as $subjectx=>$strandy )
{
print " ".$subjectx.".\n";
print " \n";
asort( $strandy ); // sorts the strands
foreach( $strandy as $str )
{ print "";
checkbox("fstrand[]",
Nicole <[EMAIL PROTECTED]> wrote:
> Thank you. Yes, I did chmod my scripts. chmod 754 and tried 755 too. Don't
> see why it should be x on the world, though. I would think if the script is
> being called by its owner, then x on the owner and group should be enough,
> no?
The script has to be exec
Is it possible and if so, how to send emails through SMTP servers that require
authentication (logging in)?
Thanks in advance
Hey Guys,
I am looking for a quick way to do form validation using $_SESSION variables
and MD5, but my brain is mush and my logic is all botched.
Heres the scoop...
I am using 3 $_SESSION variables to test for MD5.
1. $_SESSION["MD5_OLD"]
2. $_SESSION["MD5_NEW"]
3. $_SESSION["MD5_VALID"]
$_SESS
hi was just wondering if there was a way to have a php file with all
constant variables like db mysqluser and password and a few other things
defined in a file of its own and then be able to use the variables in it for
the project it was built for?
the last i knew it could be done and all i needed
Hi,
As a novelty item on a website I have made a few lines of code for showing
how in hours minuts and secoinds since the server was booted up (using
C:\php\php.exe -q E:\...\set_boot_time.php value under the Run section in
the Windows Registry.). The system by running a script at bootup that sets
Major security question:
I manage a shared Linux web server running PHP 4.2.3. Apache must have
read permissions on a php file necessary for a web application. For
example a conf.php file containing a MySQL password that is stored
outside the web directory:
-rw-r-1 qapache 3
> > Then use an ORDER BY in your query. If you're relying on the
database to
> > spit out rows in the order they went in, then you're wrong.
>
> Hey man thanks for pointing that out... I know it's wrong, I
didn't
> design it but it's what I have to work with and I'm not being paid to
> fix it
> if
> . matches any character except newline (by default)
> then
> what can i use to match any character INCLUDING newline?
Use an 's' modifier.
Quote: If this modifier is set, a dot metacharacter in the pattern
matches all characters, including newlines. Without it, newlines are
excluded. This
sorry already fixed my problems but the original question was what html/php
code did i need to do the stuff..all i needed was an example 3 or so line
code...i dont need anybody to write my code for me...examples are fine
enough to get me through my problems if i have any...
btw what is your rates
?", $array[id], $array[username],
$array[password], $array[status], $array[notes]);
}
and make sure that your array indexes are right they are case sensitive in
mysql...so array[id] is different than array[Id] or array[ID]...
- Original Message -
From: "Karl James" <[EMAIL PROTECTED]>
To:
Hi,
I'm having trouble designing a good html-form/MySQL combination for an
access rights system.
I'm having three tables in MySQL: members (with member information for my
site), albums (with information for separate albums with digital photos on
my site) and accessrights (which should function
- Original Message -
From: "CDitty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 01, 2003 11:26 AM
Subject: [PHP] MySQL/PHP Associative Array Insert
> A co-worker is teaching me to move to the next level in php. I have
> started using associative arrays for my scri
Hi,
Monday, February 3, 2003, 12:09:59 AM, you wrote:
BVB> On Sat, 2003-02-01 at 20:07, John W. Holmes wrote:
>>
>> Then use an ORDER BY in your query. If you're relying on the database to
>> spit out rows in the order they went in, then you're wrong.
BVB> Hey man thanks for pointing that out...
On Sat, 2003-02-01 at 20:07, John W. Holmes wrote:
>
> Then use an ORDER BY in your query. If you're relying on the database to
> spit out rows in the order they went in, then you're wrong.
Hey man thanks for pointing that out... I know it's wrong, I didn't
design it but it's what I have to
> From: "Stephen" <[EMAIL PROTECTED]>
>
> I have a PHP script that works on older versions of PHP but on 4.3, it
> outputs nothing. Here's my code:
>
> echo ''."\n"
> ."\n".'if (document.location == top.location)'."\n"
> .' top.location="home.php?goto='
> .base64_encode($_SERVER["REQUEST_URI"])
Hi,
Sunday, February 2, 2003, 11:07:20 PM, you wrote:
EEV> At 12:25 02.02.2003, Tom Rogers said:
EEV> [snip]
>>you could try
>>
>>php_flag engine = Off
EEV> [snip]
EEV> I've tried (this works):
EEV> In the configurat
I have register globals off, and am using both $HTTP_GET_VARS['goto'] and
$_GET['goto']. The problem is not with receiving it, the problem is sending
it. Forexample, a sample URL would look something like this after
redirecting:
http://whatever.com/index.php?goto=
- Original Message -
Fr
php-general Digest 2 Feb 2003 13:09:31 - Issue 1859
Topics (messages 133941 through 133989):
Re: Screen Size detect??
133941 by: Martin
Re: using tags with php
133942 by: Philip Olson
133956 by: Sunfire
133967 by: David Freeman
133971 by: David Freem
At 12:25 02.02.2003, Tom Rogers said:
[snip]
>you could try
>
>php_flag engine = Off
[snip]
I've tried (this works):
In the configuration for the virtual host:
AllowOverride All
In .htaccess:
AddType text/pla
howabout making the checkboxes an array i.e.
then when processing ...
foreach($_REQUEST["checkbox"] as $checkbox)
{...
}
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: anders thoresson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, Feb
Hi,
I building a form which will be used to set access rights to different
parts of my web album. When editing the settings for each album, like the
albums name and wether or not everyone should be allowed to upload pictures
to it, I also present a list of checkboxes to the administrators. One
1 - 100 of 111 matches
Mail list logo