I am creating a site right now and I think many of the pages will
use php in the future...But not right now.
Should I put the .php extentsion at the end of these pages now
even though they currently do not have php on them.
So there anything that can go wrong if I do this?
Steve
--
PHP
Hi Everyone,
I just wanted to let you know (and thank some of you for all your help!), that I've
finally launched my revamped website.
There are two main sections in the site:
Section 1 is for High School and College Students and has almost 3000 Essays available.
Section 2 is for anyone
Is there a way to connect to your database using php without hard coding
a password into the php file? We run PostgreSQL 71 on a Linux 72
server with the latest version of apache I don't want to change the
authentication within Postgres to not require a password But I also,
for security
What is the best way to store text with up to 1000
characters in a mySQL database?
Sorry for the slightly of topic posting but I am
not going to join another mailing list unless I have to.
I am going to create a weekly qoute generator
thingy for my site.
JJ Harrison[EMAIL
My OS is XP Pro.
I installed my web folders in c:\web instead of c:\apache\htdocs
My php folder is: c:/php
In the httpd.conf:
DocumentRoot /web/myweb
ScriptAlias /php/ c:/php/
AddType application/x-httpd-php .php
Action application/x-httpd-php /php/php.exe
In my Php.ini:
include_path =
I want to build my own poll(The ones availble from
sites such as hotscripts.com are not quite what I need)
Could any one tell me of a *good*
tutorial?
Particularly the number of questions would be
different between each poll not a fixed number.
JJ Harrison[EMAIL PROTECTED]www.tececo.com
Is it possible to read cookies from javascript
written by PHP and vice-versa?
Just out of curiousity
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-
Original Message -From: "Nick Wilson" [EMAIL PROTECTED]To: [EMAIL PROTECTED]Sent: Sunday, June 09, 2002 12:15
AMSubject: Re: [PHP] Suggestions for getting started with poll
app.* and then [EMAIL PROTECTED]
declared I want to build my own poll(The ones availble from sites
such
Pardon the probably stupid question but,
Is there a PHP function for listing number of columns in a mySQL table?
Thanks in advance
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
How can I convert the week number(i.e. 1 - 52) to a
UNIX Timestamp?
Thanks
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When I am in page A (or one of it's children) I
wish to show it's one level of children like so:
Page A
Child 1
Child 2
etc...
Page B
When I am in page B (or one of it's children) I
wish to show it's one level of children like so:
Page A
Page B
Child 1
Child 2
etc...
Do you
Both the below are in the same dir.
The meta.array_create.php file works fine
elsewhere
when I try and view stat.phpI get this
error:
Parse error: parse error, expecting `T_STRING' or
`T_VARIABLE' or `T_NUM_STRING' in C:\TecEco(Converting To PHP)\includes\stat.php
on line 7
What does
I got that auto add slashes thing on. is it enough?
If not how should I go about adding them?
like this?
$_SERVER['REMOTE_HOST'] = addslashes($_SERVER['REMOTE_HOST']);
What sort of effects could an attack have?
I am intergrating stats into a site. What other vars could I gather info
from?
I'm very new to php and PostgreSQL. I keep getting the following error
when I try to create a table:
Warning: Wrong parameter count for pg_exec() in
/var/www/html/elkan/createtable.php on line 23
The table, ghdsl could not be created
Here is the code I'm using:
?php
// set variables
does anybody know how to pass the correct username and password as a
header
to a directory with an .htaccess file.
i tried
header(Authorization: Basic username:password);
like that and also where the username:password was base 64 encoded and
it
isn't working.
thanks.
--
PHP General Mailing
I'm using PHP v.4.0.6. and PostgreSQL 7.2. Does any one know the
equivilant of auto_increment for postgresSQL? For example when creating
a table:
$query = CREATE table $tablename (id INT UNSIGNED NOT NULL
AUTO_INCREMENT PRIMARY KEY, firstname TEXT, lastname TEXT, emailaddress
TEXT, );
this
I can't seem to define a varible from the url
entered into a browser.
I wish to use the following code or something like
it.
script language="php"
$file = "";//the aboveis defined from the url
include "$file";
/script
It could be
what I was typing in the url bar.
I don't mean to be a pain but could someone send me
a working example?
I am what you would probably call a
'newbie'
For those who don't know here is my previous
message
can't seem to define a varible from the url
entered into a browser.
I wish to use the following code or something like
Sorry I did read all your replies etc. They were
helpful.
I have now solved the 'problem' and thank you
all.
I have less than week of experiance in PHP and am
still learning.
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I want to create an e-mail form that writes a (person's name).vcf(vCard)
file and attaches it to the message. This would allow me to eaisly add
people to my address book.
The source of a sample .vcf(vCard) file is shown below:
BEGIN:VCARD
VERSION:2.1
N:Harrison;JJ
FN:Harrison, JJ
ORG:TecEco Pty.
I don't have much experiance with MIME. where could I find a tutorial or
ready made class?
- Original Message -
From: Miguel Cruz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, May 12, 2002 4:41 PM
Subject: Re: [PHP] .vcf files and PHP Email Form(Newbie)
I am very new to PHP(Still awaiting a book, Only
done a few tutorials and read bits of the PHP manual).
But if you used:
mysql_pconnect($host, $user,
$password)
It would keep a consistant connection to the
database so it may speed things up a bit.
JJ Harrison[EMAIL PROTECTED]www.tececo.com
You are missing a before $booktitle.
old:booktitle=$booktitle AND quantity=quantity;
new:booktitle=$booktitle AND quantity=quantity;
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 14, 2002
I am a newbie so be kindI have looked into
the manual about directory functions etc.I want to return all the files
from a directory into a array.
Could some one give me a few pointers or
something?
I keep getting confused but I have used google and
the manual.
I canfind functions but I
Is there a variable in PHP which will show the
directory of the document root? I have done a few searches and before I go
looking harder I thought I'd ask. My problem is that I am using both windows,
IIS and linux, Apache. I tried a few things like $document_root which didn't
seem to work
This doesn't have a huge amount to do with PHP
but,
I have the following code for my SQL
query:
$query = "SELECT code FROM links WHERE sort_text = $letter*";
I get an error.
What I want to do is be able to specify
a letter and have the rest be undefined eg
if $letter was t
I would get
How can I return the last five lines of a mySQL
database table?
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have the following code for a mySQL query in
php:
$text = "sort_text";
$query = "SELECT code FROM links ORDER BY $text WHERE ".$text." like
'".$l."%'";
$result = mysql_query($query) or die("Query failed");
When I do the query I get Query
failed.
When I remove the sort parameter they
are
This isn't a one hundred percent PHP Q but here I
go.
If I have the following query:
$query = "SELECT code FROM links WHERE ".$text." like '".$l."%' ORDER BY
sort_text";
and define the letter a letter i.e x.
it works fine.
I am not sure what to do if I want to say get
something that
How can I reverse the date coming out of
mySQL?
ie 2002-05-21
becomes 21-05-2002
Can do it in the mySQL query or do I need to use
PHP?
Thanks in advance,
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
What php functions should I use to convert a UNIX
timestamp to a human - legible format and back again?
I have looked in the manual and used google etc but
I am only getting more confused :}
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To
I know it is probably something obvious but the
following gives me a parse error and as a newbie I am having trouble locating
it.
$query = "select * from news WHERE id =
"$_get['id']"";
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To
I think this is any easy question, but I couldn't find an answer in the
php Black Book for PostgreSQL. Does anyone know the equivilant of
auto_increment for PostgreSQL? This is the php code that I have:
$query = CREATE table $tablename (id INT NOT NULL PRIMARY KEY, ip TEXT,
customer TEXT,
I get a parse error on this line
$query = "SELECT * FROM news ORDER BY id DESC LIMIT
1";
I believe that it is an error in the SQL
statement
Thanks in advance
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Here is the function:
function print_new_story(){
$query = SELECT * FROM news ORDER BY id DESC LIMIT 1;
$result = mysql_query($query);
$num_results = mysql_num_rows($result);
for ($i=0; $i $num_results; $i++)
{
$row = mysql_fetch_array($result);
echo 'h2a href=#: ';
echo
Line 81 is $query.
I showed it in my first email.
I suspect this line is the one causing the trouble(It is about four lines
above the start of the function and is the only previous PHP statement)
mysql_query(delete from conf_event where time ( time() );
- Original Message -
From:
Where is the best place to find out the values in
seconds(i.e. UNIX time stamps) for standard periods of time such as one day and
one week and one month(The month thing would need to be correct for each
month)
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List
Notepad at the moment as I can't change the settings of my computer due to
lack of privilages
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 29, 2002 11:26 PM
Subject: Re: [PHP] Parse Error(newbie)
On Wednesday 29 May 2002 21:22,
I began to write a function that correctly diveded
up the months into their correct UNIX timestamps and wrote content from a
database accordingly.
I have had an idea that maybe eaiser to implement
but slower. Could one or two people tell me what the think and if it is a good
idea. I am
Is there a magical function that I can use to
convert 4 into April and 5 into May etc?
can I use mktime()
Oneyes no answer will do fine
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have this code:
$end_date = time();
$year = 2002;
$month = 4;
$monthi = $month + 1;
$time = SecondsInMonth($month, $year);
$time_i = SecondsInMonth($monthi, $year);
$query = "SELECT * FROM news WHERE date $time_i AND date $time
ORDER BY id";
$result = mysql_query($query);
$num_results =
How can I echo(or include) two
variables?
ie include $DOCUMENT_ROOT then
$row['location']
Thanks in Advance
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is the best way to print large blocks of text
within a PHP function?
JJ Harrison[EMAIL PROTECTED]www.tececo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I know there has to be an easy way to do this, but I just can't find the
answer. I need to strip out the first part of a text string. I've
figured out out to strip out the last part of a string using the
following:
$address = (4455 N. 45th St.);
$test = strstr($address, );
echo $test;
The
Hello,
I've been trying write a .php page that displays 10 results per page
with links to the next 10 avail. I've found a couple examples on how to
do this with MySQL, and I tried to convert it to work with Postgres with
no luck. Has anyone ever done this using PHP4.0.6 and Postgres 7.1?
I found an answer for anyone who may be interested on phpbuilder.com
http://phpbuilder.com/annotate/message.php3?id=1010986
-Elkan
webmaster wrote:
Hello,
I've been trying write a .php page that displays 10 results per page
with links to the next 10 avail. I've found a couple examples
i write these files in a for-next loop, so at the start of each loop, i've
to put an unmask command?
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
Newsgroups: php.general
To: [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 4:11 PM
Subject: Re: [PHP] Writing Files
On Friday
How do you call for the execution of a CGI on a remote machine
without redirecting the output of that CGI to the browser?
I basically need to send form info to a CGI of a marketing
group, while keeping the browser on my site.
Thanks,
_Ken
[EMAIL PROTECTED]
--
PHP General Mailing List
I've been using PHP/mySQL on my web host's site for a year or so, and I now
need to create my own installation ...
Given my relatively limited linux background, which distribution woud I find
easiest to install? I'll be needing PHP, mySQL, and PDFlib ...
I've done my homework, I've studied
Hi
My apologies for writing to you unannounced. I came across your name whilst
researching some data for the above event and I thought it might be of interest to
you. For more info see below or visit www.lseurope.com
This is Europe's largest and most prestigious IT solutions event. It
Greetungs.
Is it possible to use data collected in a form ON THE SAME PAGE without
using the form's submit button? In other words, if a text field is filled
in, can I capture (via PHP or other means) the info typed there and display
it elsewhere on the same page?
I realize the answer may very
Hi people:
I trying to execute Phorummail script (put email into a web message board) from my
shell, but I get this error message.
[root@corotu docs]# ./phorummail
php: error in loading shared libraries: libmysqlclient.so.6: cannot open shared
object file: No such file or directory
What can I
Hi people:
I trying to run a script from my shell but I get this error:
[root@corotu docs]# ./phorummail
php: error in loading shared libraries: libmysqlclient.so.6: cannot open
shared
object file: No such file or directory
Well, some people said to me that usually this library is located in
I did :( went character by character and could find not extra spaces.
At 06:16 PM 5/11/01 -0400, Michael Kimsal wrote:
Check for extraneous spaces in your script.
Tim Schulte wrote:
Hi there -
I am having some weird problems here. I am try to write a script that
will check to see
Hello,
I have an application that occasionally drops a session array element value.
Data from the form...
$_POST['firstName'];
$_POST['lastName'];
$_POST['phone'];
$_POST['email'];
$_POST['cell'];
When the form is submitted, the POST variables are checked to make sure
they each contain a value.
Shane Presley wrote:
Where can I find some info on integrating Oracle and PHP?
I had some PHP front ends to a MySQL database, worked great. Our DBAs
want to change the back end from MySQL to Oracle 10g. How hard would
it be to convert my PHP scripts, and where would I go to read up on
Oracle
$uppercasestring=strtoupper($originalstring);
- Original Message -
From: George B [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Monday, July 18, 2005 6:59 PM
Subject: [PHP] change letter to all caps
Lets say I have a form. And when user types in the form and clicks go,
it
I am trying to upload a file to a remote server using curl and post method
here is what I have:
$file = $dir..$dbfile[0];
$this-invoiceno = $dbfile[1];
$uploadpath = http://www.website.com;
$postvar = array ();
$postvar['cboFileType'] = 837;
$postvar['txtDesc'] = Invoice
Hello,
I'm not sure if this is the right list to ask this on or not
Here's the situation... my php scripts were generating emails as
expected. I was shocked when they told me that exim was not responding
to requests on port 25 and had to be restarted. So, PHP communicates
with exim
Hello,
The site I'm working on works like this...
Requires a login that uses sessions to remember username and email
address. Upon being verified, the user is presented with a page that
displays several questions regarding their background. Upon submitting
the background page, a script
://www.php.net/manual/en/ref.session.php
http://www.php.net/manual/en/function.session-start.php
Brady
-Original Message-
From: Webmaster [mailto:[EMAIL PROTECTED]
Sent: Monday, April 24, 2006 1:49 PM
To: php-general@lists.php.net
Subject: [PHP] Session Array Disappears
Hello
Hello,
Thank you for the reply.
Interesting function. I have not heard of that one previously. I've
read the manual pages for it.If I understand
ignore_user_abort(TRUE)...you are thinking that maybe the user is being
disconnected (using stop button or having ISP issues) prior to the
Hello,
Thank you for the reply.
Richard Lynch wrote:
On Mon, April 24, 2006 2:48 pm, Webmaster wrote:
In reading the www.php.net/manual/en/ref.session.php page, I'd like to
point out we do not use cookies. The session id is propagated in the
URL (although it's not visible in the URL bar
Richard Lynch wrote:
I'm thinking the guy who suggested ignore_user_abort(TRUE) is just
doing Voodoo Programming :-)
I love the term Voodoo Programming! I'm guilty of doing it myself. :-)
My 2 cents.I could see times when ignore_user_abort(TRUE) could be
very handy. I'm wondering
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
i hope I got you right.
You can send data to the next php file by HTTP-GET.
Simply add a ? behind the link and then variablename=value.
Example ./jumpto.php?to=searchProduct
In the jumpto.php you would ask the Global Array for Get Variables for the
entry and then decide what to do.
Hello,
i have a string looking like this.
## /T (KEY1)/V (VALUE1)|| ## /T (KEY2)/V (VALUE2)|| ## /V (VALUE3)/T
(KEY3)||
I know want to separete it in to keys and values and insert them into an
array.
Note that /T always shows that teh upcoming value in() is a Key and that /V
always
Thank you very much.
If anybody has some good links to ereg tutorials, I would love to get that
teached.
Thanks
Mirco Blitz
-Ursprüngliche Nachricht-
Von: Eli [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 8. April 2005 06:40
An: php-general@lists.php.net; Webmaster
Betreff: [PHP] Re
Hi,
I have a multidimensional array looking linke this
Rowid title kat
123 nr1 3
442 nr2 2
547665 nr3 5
4532nr4 3
3244nr5 1
124 nr6 2
776
Hi,
abolutly right.
I never had problems with migrating from Apache to IIS or vice versa.
Best Regards
Mirco Blitz
-Ursprüngliche Nachricht-
Von: Pablo D Marotta [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 18. April 2005 23:09
An: php-general@lists.php.net
Betreff: [PHP] Apache - IIS
Hi,
I have the following problem:
On page A of my homepage I create an object 1 which itself creates an
object 2.
Now how can I access the properties of object 2 from A ?
It doesn't seem to work.
I am fairly new to Object Oriented Programming.
Thank you very much.
--
PHP General Mailing List
Hi,
is it possible to pass an Object to another php page?
I want to pass a whole bunch of varibales to another page.
For example the session ID, the language that the user choose,etc.
All those variables are in one or more objects.
Do I have to copy all those object attributes to variables and
Good day,
I would like to know a constructor function is also inherited to a child
class.
I mean the child class also needs to have a constructor function but it must
have the same name as the class name.
How does that work?
Thank you very much.
BW
--
PHP General Mailing List
Hi,
i am using the smarty template engine.
Here is the problem that I would like to ask about:
function initTop($page, $array)
{
for ($i=0; $isizeof($array)
{
$page-assignVars(, $array[$i])
}
}
The function is supposed to know which object's attributes she is supposed
to change. Do
Hi,
I am just starting to understand how the session handling routines work in
php.
I can pass objects to other scripts. So I can put the language into the
object that the visitor chose at the very first page.
But what if a visitor bookmarked my homepage and comes back after a few
weeks.
How can
Hi,
why doesn't this work?
## IP FUNCTIONS ##
function assignClientIP()
{
if (getenv('HTTP_X_FORWARDED_FOR') == '')
{
$this-aCustomer-setClientIP((!empty($HTTP_SERVER_VARS['REMOTE_ADDR']) ) ?
$HTTP_SERVER_VARS['REMOTE_ADDR'] : ( (
!empty($HTTP_ENV_VARS['REMOTE_ADDR']) ) ?
HI,
let us say there is Class A.
In the constructor of this class I create an Object B of Class B.
Now what is the difference between these two ?
this-B = new B;
and
B = new B;
Thank you very much!
Wenmaster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
let us say there is Class A.
In the constructor of this class I create an Object B of Class B.
Now what is the difference between these two ?
this-B = new B;
and
B = new B;
Thank you very much!
Wenmaster
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I checked the PEAR HOMEPAGE but still I don't quite understand what the
project is about.
I am familiar with writing classes and functions.
Now, I can not figure out what the deal is. Does Pear consist of a class
library that comes with the installation?
There is a directory pear which is full of
that it will be running on is v4.0.3pl.
Upgrading is not an option. Does anyone have a file upload script that will
work on this older version of php that they would be willing to share?
Thanks.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo
mailto:[EMAIL PROTECTED]
']);
//or die($php_errormsg);
//or die(Couldn't copy the file!);
echo error=.$php_errormsg;
} else {
die(No input file specified);
}
Thanks.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo
mailto:[EMAIL PROTECTED]
php.ini settings are:
file_uploads 1
doc_root no value
post_max_size 8m
upload_max_file size 2m
upload_tmp_dir no value
Anthing else to check? Is there a way to get a more descriptive error msg?
Thanks.
Mark Roberts, Roberts Computing Systems
Webmaster Services $29.50/mo
mailto:[EMAIL PROTECTED]
PROTECTED]
Sent: Friday, July 04, 2003 10:57 AM
To: Webmaster
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] More on file upload
What is the message now? Is the file being uploaded and
move_uploaded_file() does not move the file? Then check the directory
permissions.
Webmaster wrote:
First of all
for your response.
Mark Roberts, Roberts Computing Systems
eCommerce, yeah, we do that!
Graphics, Scripting, Databases, shopping carts
mailto:[EMAIL PROTECTED]
-Original Message-
From: Andrew McCombe [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2003 11:16 AM
To: Webmaster; Marek
I can't figure out why the following code is not returning a column
total:
$sql1 = SELECT SUM(hostingcost) FROM $tablename WHERE webserver =
'$webserver';
$hosting = pg_exec($connect, $sql1);
echo $hosting;
This returns: Resource ID #3
The only thing I can think of is that the hostingcost
I'm trying to enable output buffering to speed up the load time of some
of our php web pages. I've consulted the manual and enabled the
following:
output_buffering = On
output_handler = ob_gzhandler
At the beginning of my .php script, I include the following:
ob_start(ob_gzhandler);
This
Hi!
I started to use the php own session functions today.
Now I am getting such lines in the address bar:
/pages/news.php?option=1015PHPSESSID=PHPSESSID=d117dba208d4b205cd4e521f606b
b44e#result
Why do I get PHPSESSID=PHPSESSID= ?
Thank you.
Webmaster
--
PHP General Mailing List (http
Hi,
I already posted this question in the Smarty group, without success.
I have a problem with Smarty. I wrote the following function that gets data
from a mysql database:
function showHeadlines()
{
global $db;
$entry_events = array();
if ($this-showold == true)
{
We have a data base in access 2000.
Could you advise which version of php will connect to the access.
Please advise also how can i open the connection .
Thank you in advance for your assistance.
Best regards
Marlyn Estefanos
Businesslink.
--
PHP General Mailing List
Well, I know how to run MySQL queries and connect to the db and things
like that. But I would like to be able to connect to a remote site (ex:
http://my-site.com/functions.php). Here I would like to run functions
from the remote functions.php file and have it connect to it's own
server's db.
Yes, the remote server does have PHP. This sounds like a good idea. Is
it relatively easy to do? I have never worked with HTTP protocol
functions for this. Do you know of a tutorial I could look through to
learn a little of this?
Thanks,
Matt
-Original Message-
From: Marek
to communicate back and forth between the servers. I just have
no prior experience doing it so I need a little guidance.
Thanks,
Matt
-Original Message-
From: Vail, Warren [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 7:09 PM
To: 'Webmaster'; 'Jeff McKeon'
Cc: [EMAIL PROTECTED]
Subject
Hello all i need a little help with serialize and unserialize
here is my code
?php
session_start();
if(!isset($_COOKIE['data'])) { //Check to see if cookie is
there.
include(cookie_num.dat);
$y = $password;
//Assign a special number
hello all i need help to enter one variable in a cookie and then retreive it back
later, i know this probably sounds dumb to most but this is really the first time ive
tried working with cookies so please bear with me, thanks for any help.
Here is what i have i call 2 cookies in the top of my script, now i need to
call another when another script is called but it keeps givin me the error
headers already sent,
now ive seen this done in other scripts but wont work for me so please help
me is it in my php.ini or is it just not possible
i made a bobo and now mysql server is returning a to many connections error i dont
have access to reboot so is there a comand i can use to close all connections.
hi all i had an to many connections error with mysql
i dont have anyway to reboot the server so is there someway i can give php a command
and shut down all open connections on mysql thank you
Hello all i have probably a pretty dumb one here. i need help with getting the proper
count on my referrals the way i set it up was i was just going to count down the line
by using the member table, i enter the referral in the member table when the new user
is added, this may have been a bad
/test.php);
echo This is a test page.;
?
and put this into the design directory:
?php
php_info();
?
and it works fine.
What could be the problem. Really I am getting grey hair.
Is there ANYTHING in the php.ini file httpd.conf that could cause this?
I looked them over about 50 times.
Thx webmaster
Im sure this question seems primitive to most of you, im new to using foreach with
forms my question is how is the best way to keep from getting the submit button from
comming through with the variables below is my code.
form method=post action=?fm=newAdvertisera=insert
centerpreb
Advertiser
1 - 100 of 187 matches
Mail list logo