It was able to call up external includes using the below code which resulted
that the server was used to send out spam.
How can I protect the code?
TIA
Neuer Wissenschaftlicher Verlag -
I found my problem.
$eventdetail_query = mysql_query("select DISTINCT titles, informations,
file_name from eventdetail, event where eventdetail.event = ".$id);
-Original Message-----
From: Karl-Heinz Schulz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 11, 2004 10:13 PM
Why does this query not work?
It should only show the eventdetails for the shown event.
-
".strip_tags(html_decode($eventdetail[0]))."");
print(" ".html_decode($eventdetail[1])."");
Thank you for your help!
-Original Message-
From: Jim Grill [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 10:33 PM
To: Karl-Heinz Schulz; [EMAIL PROTECTED]
Subject: Re: [PHP] Order by
- Original Message -
From: "Karl-Heinz Schulz" <[EMAIL PROTECTED]
Thank you - stupid me
-Original Message-
From: Wesley Furgiuele [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 10:27 PM
To: Karl-Heinz Schulz
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Order by
Looks like you just forgot some quotes:
$specs_query = mysql_query( "select
How can I use the "Order" statement for this query?
$specs_query = mysql_query("select title, information from spec where
product=".$id);
I tried to use
$specs_query = mysql_query("select title, information from spec where
product=".$id order by id asc);
But it will create the error.
Parse e
: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 9:52 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] How to nest information from different tables.
Karl-Heinz Schulz wrote:
> Thank you,
>
>
> I made one error - I forgot the second table (Thank you Jeremy)
> It d
] How to nest information from different tables.
You have forgotten one table in your second query, try this :
$eventdetails_query = mysql_query("select details, information,
file_name from event, eventdetails where event.id = eventdetails.event_id");
Karl-Heinz Schulz wrote:
> Thank yo
L PROTECTED]
Sent: Friday, July 30, 2004 8:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] How to nest information from different tables.
Karl-Heinz Schulz wrote:
> $eventdetails_query = mysql_query("select details, information, file_name
> from eventdetails where event.id = eventdetail
ails[0])."");
print("".html_decode($eventdetails[1])."");
print("".html_decode($eventdetails[2])."");
}
?>
But it generates now for the second query the "is not a valid MySql result"
error.
TIA
-Original Message-
From: zareef ahme
I have two tables with relevant information's;
Table1 -> event
Table 2 -> eventdetails
I'm trying to list all events in table one plus to show for each event
whatever documents are available (file_name, information)
My code to list all events from the "event" table is:
".html_decode($event[
Thank you for your help.
-Original Message-
From: zareef ahmed [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 11:25 PM
To: Karl-Heinz Schulz
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] Java Script or PHP
--- Karl-Heinz Schulz <[EMAIL PROTECTED]> wrote:
> Zareef,
>
11:03 PM
To: Karl-Heinz Schulz; [EMAIL PROTECTED]
Subject: Re: [PHP] Java Script or PHP
--- Karl-Heinz Schulz <[EMAIL PROTECTED]> wrote:
> I have a database generated page and I want to show
> a "Print Version" in a
> new window when somebody selects the print option.
I have a database generated page and I want to show a "Print Version" in a
new window when somebody selects the print option.
http://www.test.com/docs/view_record.php?id=1
http://www.test.com/docs/print_record.php?id=1
What is the "correct" way to open the page from the print link to a new
page?
I have a simple question (not for me).
Why does this query does not work?
$links_query = mysql_query("select id, inserted, title, information,
international from links WHERE international = y; order by inserted desc
LIMIT 0 , 30");
The information for the "international" fields are:
Fie
The following codes open the links perfect.
print($press[1]." ".strip_tags(html_decode($press[2]))."");
When I open it in Firefox it will try to open the following link instead.
When I will remove "..\" it will try to open the following link in IE. Is
there a way which works on both?
/publicati
I'm trying to use html_decode with the echo function but failed so far.
What would be the correct syntax?
TIA
Tracking #: 2F5B92054B5DBF4C990F63F9BA3F99A0558671EB
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
17 matches
Mail list logo