Check allow_url_fopen :
[PHP]
<?
echo "allow_url_fope n=".ini_get('al low_url_fopen') ;
?>
[/PHP]
User Profile
Collapse
-
Sorry, replace
<form name=example method=post action=delete.p hp>
on
<form name=example method=post>Leave a comment:
-
[PHP]
<?php
$con = mysql_connect(" my logon details");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db ("my DB", $con);
if($_POST['delete']) {
$query = "DELETE FROM contacts WHERE heading='" . $_POST['delete'] . "'"; mysql_query($qu ery);
mysql_close($co n);
header("Locatio n:...Leave a comment:
-
Hi it's my very simple example (4 files named as typed in comments):
First create a database (images) and table in it:
--
-- Database: `images`
--
-- Table structure for table `image`
--
CREATE TABLE `image` (
`id` int(11) NOT NULL auto_increment,
`type` varchar(16) NOT NULL default '',
`stream` blob NOT NULL,
KEY `id` (`id`)
) TYPE=MyISAM;...Leave a comment:
-
JavaScript helps you.
As very basic example:
<html>
<script>
function showIt(id) {document.getEl ementById(id).s tyle.visibility ="visible"}
function hideIt(id) {document.getEl ementById(id).s tyle.visibility ="hidden"}
</script>
<body>
<div id="div1" style="visibili ty:hidden; position:absolu te; left:0; top:0;">
...Leave a comment:
-
form that dynamically pulls prices.....out into the form (which hasn't gone anywhere)
I suggest you read what is Ajax technology.
It's possible and simple....Leave a comment:
-
Hm-m, script is clear.
In your database must be record where field
image_id=$image _id$gameandtoyn ame$pricetype
or
you have mistake in here:
src='imagedolls .php?act=view&i id=$image_id$ga meandtoyname$pr icetype'
try correct to:
src='imagedolls .php?act=view&i id=$image_id'Leave a comment:
-
http://sourceforge.net/projects/phpexcelreader
or Save As .XML and parse itLeave a comment:
-
Need a code from script: imagedolls.php.
Problems in it or wrong parameters for it.Leave a comment:
-
It's simple.
Put on root directory of your site your file, for example 123.doc.
Create link like:
<a href="123.doc"> It's my file</a>Leave a comment:
-
RTFM http://www.php.net/manual/en/features.file-upload.php
and more, create MySQL field like type BLOB and INSERT into your data.Leave a comment:
-
PHP is server-side script language and executes ONLY on server.
On user-side your media must be played with help various user media players or ActivX object plugged in user browser (such as Flash Player, QuickTime Player etc.).
>presently what happens when i click it to play
>it starts downloading
Sure.Leave a comment:
-
worked code:
$message = "Test if message includes ".$row['first_name'];
Have a nice day!Leave a comment:
No activity results to display
Show More
Leave a comment: