Hello
I want to create PDF file from PHP output. So instead of sending output to
the browser, I need to insert PHP output into PDF FILE. How that's can be
done? Looking for some short example or some documentation.
Thanks
_
Let t
My php page takes data from the database such as ID, Date, Value and prints
on the screen. About 20 entries are printed on the screen. The each entry
has option 'yes' or 'no'.
So I need to gather the information about each entry and update database. I
cannot access the variable from $_POST beca
Thanks a lot
- Original Message -
From: "John W. Holmes" <[EMAIL PROTECTED]>
To: "Mike Mapsnac" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, April 10, 2004 10:34 AM
Subject: Re: [PHP] How to do this?
> Mike Mapsnac wrote:
> >
I have script that basically process a file. If something found in the
file, the script send email.
Today I tried to add another option, that gives sound and send email.
The script works ok when I run from shell. But when I add the code to
cronjob, the email is send but NO SOUND. Any ideas w
Hello
I' m writing php script that will request page and save it locally. The page
URL will be parameter (example: http://www.pagetoget.com/thispage.html). How
php can request such page and save it locally on the file?
Thanks
_
St
I search on php.net and couldn't find the function. I need a function that
will remove characters in the string until it reached the pattern and
remove characters in the string after another pattern.
The program reads huge file, and remove unnessary data.
So I need to remove characters before a
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Remove cahracters in string
Date: Mon, 10 May 2004 22:37:36 +0200
"Mike Mapsnac" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I search on php.net and couldn't find the function. I need a function
that
> will remov
No. It just an example
From: "Torsten Roehr" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Remove cahracters in string
Date: Mon, 10 May 2004 22:49:27 +0200
"Mike Mapsnac" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
&
I want to refresh page every 10 seconds, without clicking on "Refresh"
button.
Any ideas how this can be done?
Thanks
_
MSN 9 Dial-up Internet Access fights spam and pop-ups now 3 months FREE!
http://join.msn.click-url.com/go/onm0
Is it possible to print all values of all variables in php file? Including
global, local...
Thanks
_
Get a FREE online virus check for your PC here, from McAfee.
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
PHP Gen
Is there a way to find out the execution time of php program?
Thanks
_
Check out the coupons and bargains on MSN Offers!
http://shopping.msn.com/softcontent/softcontent.aspx?scmId=1418
--
PHP General Mailing List (http://www.php.ne
.
smart guy ..
From: "John W. Holmes" <[EMAIL PROTECTED]>
Reply-To: "John W. Holmes" <[EMAIL PROTECTED]>
To: "Mike Mapsnac" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: Re: [PHP] Exectution Time? Date: Fri, 30 Jan 2004 16:42:56 -0500
I print variable to the screen and get the result "Resource id #1". Any
ideas waht Resource id #1 is?
Thanks
_
Plan your next US getaway to one of the super destinations here.
http://special.msn.com/local/hotdestinations.armx
--
PH
How can I empty a file's content through php defined functions?
Thanks
_
Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up
Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/
--
PHP General
I search on php.net. How to declare php function as type boolean?
I tried the following declaration;
function booolean check_ip_remote() &
boolean check_ip_remote()
But both declaration are wrong. I got the error messages
__
How to set up the path for PHP Library?
I want to create a directory that will contain all libraries files. And than
I want to include the directory in each file. How to specify the path in php
setting?
Thanks
_
Take off on a roman
The script should upload files (images).
Error message is give below, any ideas why I get this errror message?
Parse error: parse error in /var/www/html/uploadproc.php on line 3
//Upload.php (form)
//uploadproc.php
if(!isset($_FILES['myfile'])) {
die "Error! The expected file wasn't a part of
04 Mar 2004 13:40:46 +
Mike Mapsnac wrote:
The script should upload files (images).
Error message is give below, any ideas why I get this errror message?
Parse error: parse error in /var/www/html/uploadproc.php on line 3
die() needs brackets around its arguments, eg:
die("Error! The exp
It works now.
I run the script as user mike and mike:mike is owner of the directory, when
I upload something to directory the owner of the file is apache:apache.
Why the owner of the file is not mike ?
thanks
From: Neil Freeman <[EMAIL PROTECTED]>
To: Mike Mapsnac <[EMAIL PROTE
I'm looking for PHP function that takes $filename as parameter and returns
absolute path.
I looked on php.net but cannot find such function. Any ideas if such
function exist?
Thanks
_
Frustrated with dial-up? Lightning-fast Intern
This code below gives me this error message:
Warning: Cannot modify header information - headers already sent by (output
started at /var/www/html/account.php:6) in /var/www/html/account.php on line
17
The script check in the database if user exists and than redirect the page
to the home index.p
N['name'] = "$username";
Header("Location: " ."index.php");
}
echo "";
?>
Username:
Password:
"; ?>
//File: header_account.php
session_start(); ?>
HomeResize
From: "Chris W. Parker" <[EMAIL PROTECTE
Form takes parameter username, so I want to accept username taht includes
only numbers and letters.
How can I check if variable contains only letters and numbers?
_
FREE pop-up blocking with the new MSN Toolbar get it now!
http://
I have about 10 fields in the form. And I get the fields through POST:
//Get Variable from the form
$username = $_POST['username'];
$password = $_POST['password'];
$password2 = $_POST['password2'];
$email = $_POST['email'];
$email2 = $_POST['email2'];
$nickname = $_POST['name'];
$city = $POST['city
Thanks.
It looks much nicer :)
From: Marek Kilimajer <[EMAIL PROTECTED]>
To: Mike Mapsnac <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Get "nice" variables from POST
Date: Thu, 11 Mar 2004 15:59:07 +0100
Mike Mapsnac wrote:
I have about 10 fields in t
Hello
I found this function online and want to understand how it works.
I don't understand "/^" and "$/". I know that "^" beginning of the string
but what is "/^".
Thanks
function validEmail($email)
{
return
preg_match("/^([a-zA-Z0-9])+([.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(.[a-zA-Z0-9_-]+)+[a-
er_id']}";
From: "Alessandro Vitale" <[EMAIL PROTECTED]>
To: "Mike Mapsnac" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: R: [PHP] Get "nice" variables from POST
Date: Thu, 11 Mar 2004 17:30:57 +0100
hi,
why don't you simple use the $_P
Hello
When I need to create table I have to login into mysql and run the query. Is
there a way to create some sort of scipt that can create all my tables?.So
If I need create a table in new database I just run the script.
I know that I can do mysql_query("QUERY OF TABLE");
But is there another
I like this tutorial about session:
http://www.phpfreaks.com/tutorials/41/0.php
From: "Michael T. Peterson" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: [PHP] [Q] Session management when WEB site is based on template
Date: Sat, 13 Mar 2004 18:15:24 -0800
I'm having difficulty figuring out
Hello
I know that problem is related how I include library file (lib_main.php).
I just don't understand what I do wrong:
lib_main.php is located at /var/www/html/lib/lib_main.php
When I include in the index.phplocated at /var/www/html/ I do the
following
include ('lib/lib_main.php'); // this wor
thanks for explanation
Is it possible in php.ini declare $basedir(for libraries)?
From: Richard Davey <[EMAIL PROTECTED]>
Reply-To: Richard Davey <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [PHP] failed to open stream: No such file or directory in
Date: Mon, 15 Mar 2004 17:55:13 +0
Hello
I need to refresh page every 2 minutes. How that's can be done in PHP?
THanks
_
FREE pop-up blocking with the new MSN Toolbar get it now!
http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/
--
PHP General Mailing List (
Can you show the code?
Thanks
From: Jeff Oien <[EMAIL PROTECTED]>
To: Mike Mapsnac <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] refresh page
Date: Tue, 16 Mar 2004 20:11:49 -0600
Mike Mapsnac wrote:
I need to refresh page every 2 minutes. How that's can be
I have a table that has 5 cells and each cell has a link.
So when I click on a cell , the visited cell will get background color.
In other words, when I click on the cell the color of the cell changes.
Thanks
_
Get rid of annoying po
Using php function I was able to get such information about image such as:
size(width, height), type of image and size of the image.
Can I get more information about image?
Thanks
_
FREE pop-up blocking with the new MSN Toolbar get
Hello
In CSS file all links are black:
/* Part from CSS file */
a:link{color:#00; text-decoration: none;} /*unvisited link*/
a:visited{color:#00; text-decoration: none;} /*visited link*/
a:hover {color:#00; text-decoration: none;} /*mouse over link*/
a:active { color:#00}
On the p
Hello
I know how to use mail "function" in php to send an email with text. But I
want to add new feature to my website that allow to send email with
attachment ( image). Any ideas how to do this?
Thanks
_
Get reliable access on MS
2004 18:12:18
-0600
Send it in HTML form, and use an img meta tag... now if you want to do is
an
attachement that is a different story.
Vamp
"Mike Mapsnac" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Hello
>
> I know how to use mail "fu
I write some small program that uses xml. So I will use this function
http://us3.php.net/manual/en/function.xml-parse-into-struct.php.
Quote: "This function parses an XML file into 2 parallel array structures,
one (index) containing pointers to the location of the appropriate values in
the valu
39 matches
Mail list logo