Hello
I need to dev a small app and I can think of a couple different ways to
handle it but not sure the best way. I need to register those who come to
our site that want to download .pdf's. They will fill out some information
before I redirect to the pdf.
I'm thinking the best way
if ($_POST['op'] != 'ds') {
$display_block =
form action=\$_SERVER[PHP_SELF]\ method=\POST\
Your E-mail Address:
input type=text name=\email\ size=40 maxlength=150/
input type=radio name=\action\ value=\sub\ checked/subscribebr/
input type=radio name=\action\
On Tue, 22 Feb 2005 10:47:43 -0600, Matt M. [EMAIL PROTECTED] wrote:
if ($_POST['op'] != 'ds') {
$display_block =
form action=\$_SERVER[PHP_SELF]\ method=\POST\
Your E-mail Address:
input type=text name=\email\ size=40 maxlength=150/
input type=radio name=\action
and am trying to use it in this links3.php
?php
include('functions.php') or die (mysql_error());
?
but I keep getting the error message
*Warning*: main(1): failed to open stream: No such file or directory in
*C:\Accounts\dbadream\wwwRoot\links3.php* on line *4*
*Warning*: main():
$_GET['simplevariable'] but am not having much luck with anything like:
$_GET[arrayvariable$a] (1-dimensional array) or
$_GET[arrayvariable$a$b] (2-dimensional array)
(I've tried several other odd syntaxes such as
$_GET[arrayvariable[$a][$b]]. Also it's not an \ situation.)
have you
//?php
mysql_connect (localhost, foouser, foologin);
mysql_select_db (footest1);
$csvfile = file(http://foo.com/foolist.csv;);
foreach($csvfile as $line_no = $datastring) {
$data = explode (,, $datastring);
$foo1 = $data[0];
$foo2 = $data[1];
$foo3
$csvfile = file(http://foo.com/foolist.csv;);
and this
fopen(http://foo.com/foolist.csv;, r);
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible to have two sessions for the same user in php? If yes, how
can I implement this?
I am currently using one without problem. However, when I try to create a
second session, the first one is lost.
could you post some code. I am not sure I follow what you are doing.
--
PHP
i want to how i can save the data retrieved from mysql through php in pdf
format.
http://www.fpdf.org/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if ( is_array( $_SESSION['l_industry'] ) ) {
foreach ( $_SESSION['l_industry'] as $p ) {
$query = INSERT INTO Profiles_Industries (ProfileID,IndID) VALUES
($LID, $p);
} //foreach ( $_SESSION['l_industry'] as $p )
} //if ( is_array( $_SESSION['l_industry'] ) )
--
where is your insert statement? I am guessing it is after your loop
if ( is_array( $_SESSION['l_industry'] ) ) {
foreach ( $_SESSION['l_industry'] as $p ) {
$query = INSERT INTO Profiles_Industries (ProfileID,IndID) VALUES
($LID, $p);
/This is where
Warning: session_start(): Cannot send session cookie -
headers already sent by (output started at
/home/lurkkcom/public_html/Multi2Return.php:2) in
/home/lurkkcom/public_html/Multi2Return.php on line 3
read a little more about sessions.
session_start is trying to set a cookie but output has
where can I find a working example that shows me how to implement PHPSESSION
with MySQL as stor?
i know adodb has session functions, download it a nd take a look
maybe here http://www.devarticles.com/c/a/MySQL/Developing-Custom-PHP-Sessions/
also try google.
--
PHP Database Mailing List
echo(tda
href='user_book_results_detail.php?book=$row[book]$row[book]/a/
td);
http://us4.php.net/urlencode
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've looked around for a while, does anyone know of a PHP function
already built in to the install that gets the Mime type of a file on
the server?
you might try this
http://pear.php.net/package/MIME_Type/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Thu, 19 Aug 2004 18:12:16 -0500, Norma Ramirez
[EMAIL PROTECTED] wrote:
Hi all, I have a problem with a small software in Postresql, through the
time the database become slower and slower so, quick solution: pg_dump,
dropdb, createdb and pg_dump again but this software is becoming important
I'm having a dilemma (Now that I have power back after the hurricane hit us
directly in Orlando). Anyway, I need to export a database table to Excel, I
can do it as a .txt file without a problem, but I can't seem to get it to
put each column into a separate cell when I try to export as an
I have another option that might work for you also. Go to MySQL's website
and grab their ODBC driver and use that to pull data directly into Excel.
That's what I do and the end result tends to be a lot cleaner than going
through cvs or other MySQL exports.
I was not sure that this was a
I have another option that might work for you also. Go to MySQL's website
and grab their ODBC driver and use that to pull data directly into Excel.
That's what I do and the end result tends to be a lot cleaner than going
through cvs or other MySQL exports.
I was not sure that this was
On Mon, 2 Aug 2004 14:31:49 -0400, Aaron Todd [EMAIL PROTECTED] wrote:
So far, I have been doing ok with PHP. I feel that I have picked it up
rather easily. But now I need some help. I am trying to use the sendmail
functions to send data entered in a form to my email address. Currently its
$first_name = $_POST['first_name'];
$last_name = $_POST['last_name'];
$name = $first_name . ' ' . $last_name
$rma = ?strcnt($last_name), 1 . Datetime(?) // takes the 1st character from
$last_name and adds datetime in format of 715041200
$rma = substr ($last_name, 0 , 1).Your.Datetime;
--
On Thu, 1 Jul 2004 14:05:49 -0500, Shiloh Madsen
[EMAIL PROTECTED] wrote:
Can I use explode in a conditional manner? I.E., can i have it explode on a space,
but only if the space is not encased in double quotes?
I would use http://www.php.net/preg_split
--
PHP Database Mailing List
TDDIV ALIGN=CENTER input type=checkbox name=?
printf(chk_arr[%d],$i); ? value=?=$row[0]? /DIV/TD
setup your checkbox something like this:
input type=checkbox name=delete[] value=?=$row[0]? /
php will treat this as an array
--
PHP Database Mailing List (http://www.php.net/)
To
23 matches
Mail list logo