I remember that there's 2 php.ini in Fedora, one is for SAPI like apache or
other CGIServer, and another is for CLI.
Can you confirm that you edited a right config file?
On Mon, Jun 6, 2011 at 4:55 AM, Camilo Sperberg unrea...@gmail.com wrote:
On 05-06-2011, at 10:31, Adam Tong
Hi,
I can't set correctly the error display and reporting properties. I
don't know what i'm doing wrong.
Here is the section that i modified in php.ini:
-
display_errors = On
; Default Value: On
; Development Value: On
; Production Value: Off
display_startup_errors = On
; Default
And here is the output of phpinfo():
-
In the same phpinfo() output, what is the path/location of the php.ini
file you are using?
Loaded Configuration File D:\PHP\INI\php-cgi-fcgi.ini
for example.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling :
On 05-06-2011, at 10:31, Adam Tong adam.to...@gmail.com wrote:
Hi,
I can't set correctly the error display and reporting properties. I
don't know what i'm doing wrong.
Here is the section that i modified in php.ini:
-
display_errors = On
; Default Value: On
; Development
You shouldn't have a default value in an auto increment field. You can set
AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field
and its automagically incremented, you should not set a default value on it...
--
Sent from my Android phone with K-9 Mail. Please excuse my
On 3/2/2011 4:25 AM, Alex wrote:
You shouldn't have a default value in an auto increment field. You can
set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a
unique field and its automagically incremented, you should not set a
default value on it...
This is fine and dandy
On 3/2/2011 9:48 AM, Ashley Sheridan wrote:
Jim Lucas li...@cmsws.com wrote:
On 3/2/2011 4:25 AM, Alex wrote:
You shouldn't have a default value in an auto increment field. You
can
set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a
unique field and its automagically
-- Forwarded message --
From: Ashim Kapoor ashimkap...@gmail.com
Date: Thu, Mar 3, 2011 at 7:22 AM
Subject: Re: [PHP] Help needed with mysql import
To: Jim Lucas li...@cmsws.com
CREATE TABLE IF NOT EXISTS `ajax_products` (
`id` int(11) NOT NULL auto_increment,
`name` varchar
Dear all,
I am trying to make a website with php and I found the following code in a
book and I am trying to import it. The following are the beginning of the
file i am trying to import with the command
mysql -u root -pmypassword certainty dump
I get the following error : ERROR 1067 (42000) at
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/02/2011 07:56 AM, Ashim Kapoor wrote:
Dear all,
I am trying to make a website with php and I found the following code in a
book and I am trying to import it. The following are the beginning of the
file i am trying to import with the
Hi everyone,
I'm not sure of the correct formula for this, if I have a file - just
for example, that is 10245458756 bytes long and the download speed is
60KB a second, what formula would I use to calculate how many
seconds/minutes/hours it would take to download the file?
Maths really isn't my
If the download speed is constant (linear) then you can just use.
(10245458756 / 6t)/1000 = kb/second
or
(10245458756 / 6t)/6 = kb/minute
The general form would be.
(size_of_file / download_speed * time) / convert_to_units
Where t (or time) is the amount of seconds that the download
Hi,
I am new to PHP and require your help regarding a PHP Script. Below is what I
am tryin to achieve
1. I have created a FILE UPLOAD page that lets users Upload a FIle to the
site. This and other details regarding the file stored in a MySQL Database.
2. I need to create a FILE DOWNLOAD
On Sat, 2008-12-27 at 07:47 -0800, Ayemowa Toyin wrote:
Hi,
I am new to PHP and require your help regarding a PHP Script. Below is what
I am tryin to achieve
1. I have created a FILE UPLOAD page that lets users Upload a FIle to the
site. This and other details regarding the file
2008/12/27 Ashley Sheridan a...@ashleysheridan.co.uk:
RTFM
http://www.php.net
Or STFW
http://justfuckinggoogleit.com/search?q=php%20mysql%20file%20download%20script
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
On Sat, Dec 27, 2008 at 10:47, Ayemowa Toyin ayemowa_to...@yahoo.co.uk wrote:
Hi,
I am new to PHP and require your help regarding a PHP Script. Below is what
I am tryin to achieve
You require an RTFM and STFW session.
* http://php.net/
* http://google.com/
1. I have
2008/12/27 Daniel Brown danbr...@php.net:
If you've already created the UPLOAD page, then the more difficult
of the two tasks is done. Chances are, you (or whomever wrote the
code for you) should know how to do #2 if you (or another) already did
#1, but if not:
lol, Ashley!
Ayemowa,
http://www.google.com/search?q=becoming+a+programmerie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a
You need to take your 2 steps below and break them down into smaller
steps...and smaller steps...and still smaller steps.
What PHP files will your
Hi all,
I have previously posted this on the windows specific list, however I
believe this list reaches a wider audience so i'll try again.
I am trying to recompile php 5.2.5 on win32, specifically trying to
rebuild the freetds extension with the latest RC code from FreeTDS.org.
I am
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows
2003.
Everything seems to work fine except for Curl.
--
PHP Version 5.2.3
cURL support enabled
cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3
--
It keeps returning this error message.
Reason 'CURL
Brown [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 24, 2007 9:01 AM
To: Bosky, Dave
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help needed with Curl
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote:
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows
2003.
Everything
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote:
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows
2003.
Everything seems to work fine except for Curl.
--
PHP Version 5.2.3
cURL support enabled
cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3
--
It keeps
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote:
Yes. The script is the same on both machines.
I can pull up a web browser and connect to the ssl url that I'm trying
to connect using php/curl.
The only DLLs I need to add are libeay.dll, ssleay32.dll, right?
I'm running Windows 2003 Server with
Hi Daniel,
Tuesday, July 24, 2007, 2:34:06 PM, you wrote:
In order to enable cURL on a Windows box, you have to copy
libeay32.dll and ssleay32.dll from the DLL folder of the PHP/ binary
package to the SYSTEM folder. (to be safe, you may want to do both
C:\WINDOWS\SYSTEM\ and
On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote:
*Never* put PHP DLLs into the Windows System folder.
It's neither required, nor sensible.
Keep them where they belong - in your PHP folder.
Heh which is why I prefer to stick with what I know which
is not so much with Windows
Hi Daniel,
Tuesday, July 24, 2007, 3:57:11 PM, you wrote:
On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote:
*Never* put PHP DLLs into the Windows System folder.
It's neither required, nor sensible.
Keep them where they belong - in your PHP folder.
Heh which is why I prefer to
On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote:
Hi Daniel,
Tuesday, July 24, 2007, 3:57:11 PM, you wrote:
On 7/24/07, Richard Davey [EMAIL PROTECTED] wrote:
*Never* put PHP DLLs into the Windows System folder.
It's neither required, nor sensible.
Keep them where they belong - in your
: Tuesday, July 24, 2007 10:56 AM
To: Daniel Brown
Cc: Bosky, Dave; php-general@lists.php.net
Subject: Re[2]: [PHP] Help needed with Curl
Hi Daniel,
Tuesday, July 24, 2007, 2:34:06 PM, you wrote:
In order to enable cURL on a Windows box, you have to copy
libeay32.dll and ssleay32.dll from the DLL
Hi Dave,
Tuesday, July 24, 2007, 4:45:13 PM, you wrote:
No I don't have a local certificate created.
I'm only need to do a post using xml-rpc and I have SSLVerifyPeer turned
off. This turns off client certificate authentication
$xmlrpc_client-setSSLVerifyPeer(0);
What does your PHP error
On 4/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi There,
Could you please help me to write an installation script to install a
php based application in Windows.
1. I have WAMP5.0 running my my IBM T43 laptop.
2. I have created a php application.
3. I would like to know how to create
On Mon, April 23, 2007 7:36 am, [EMAIL PROTECTED] wrote:
Could you please help me to write an installation script to install a
php based application in Windows.
1. I have WAMP5.0 running my my IBM T43 laptop.
2. I have created a php application.
3. I would like to know how to create an
Hi There,
Could you please help me to write an installation script to install a
php based application in Windows.
1. I have WAMP5.0 running my my IBM T43 laptop.
2. I have created a php application.
3. I would like to know how to create an installation Wizard for my
application. What it
On Mon, April 23, 2007 5:36 am, [EMAIL PROTECTED] wrote:
Hi There,
Could you please help me to write an installation script to install a
php based application in Windows.
NSIS, nullsoft installer is a nice installer to use for Windows applications.
http://nsis.sourceforge.net/Main_Page
--
http://scottishsocialnetworks.org/editor.php
http://scottishsocialnetworks.org/editor.phps
the pager in this page works except try and choose aberdeen from the area
dropdown. You should get 18 answers which is fine except when page 2 is
pressed at the bottom the query seems to be scrubbed and
On 5/25/06, Ross [EMAIL PROTECTED] wrote:
http://scottishsocialnetworks.org/editor.php
http://scottishsocialnetworks.org/editor.phps
the pager in this page works except try and choose aberdeen from the area
dropdown. You should get 18 answers which is fine except when page 2 is
pressed at the
Hello,
Trying to read a binary file in MySQL database, i have the following error :
Warning: fopen(./) [function.fopen]: failed to open stream: Permission denied
in d:\...\download.php on line 57
This is line 57 $file_handle = fopen(./ . $file_name, r);
and my function
function
Hello,
Trying to read a binary file in MySQL database, i have the
following error :
Warning: fopen(./) [function.fopen]: failed to open stream:
Permission denied in d:\...\download.php on line 57
This is line 57 $file_handle = fopen(./ . $file_name, r);
and my function
Ndagi Mutiri wrote:
Hello,
I can't be of any help here but couldn't help noticing
that th OP (Ndagi) is dealing with dutch language DB entities and
comments/output in french and code (vars etc) in english
bet that can be a PITA :-)
Trying to read a binary file in MySQL database, i
I have an annoying problem, I'm trying to write a simple PHP page that
says if a record is found in an Oracle database display 'Data Found'
else display 'No Data Found' but it does not seem to be working.
?php
require(../passit.php);
$stmt = OCIParse(select UPI, ORG from WEB_DS where REC_VALUE
David
but it does not seem to be working.
Might be helpful for folks if you describe the nature of the fault
i.e. what you get back when you run this - at this stage there are a
multitude of possibilities...
raz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi Raz
Good Point. It displays 'No data found' when it should display 'Data
found'
Thanks
David
-Original Message-
From: Raz [mailto:[EMAIL PROTECTED]
Sent: 26 August 2005 12:06
To: David Skyers
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help Needed
David
but it does not seem
Leading back in the code, that would suggest that $nrows is not
greater than zero - could be a problem with $nrows then, and anything
associated with that, i.e. $stmt, whether there is content in the db
where REC_VALUE = 'uczmdsk1' etc. etc.
Work back down the chain and see if you can find
does the actual SQL statement bring back any info if you do it through
the oracle interface, perhaps the problem isnt php but the SQL statement.
HTH
Angelo
Raz wrote:
Leading back in the code, that would suggest that $nrows is not
greater than zero - could be a problem with $nrows then, and
]
Sent: 26 August 2005 13:14
To: Raz
Cc: David Skyers; php-general@lists.php.net
Subject: Re: [PHP] Help Needed
does the actual SQL statement bring back any info if you do it through
the oracle interface, perhaps the problem isnt php but the SQL
statement. HTH
Angelo
Raz wrote:
Leading back
David,
If I change the code to ($nrows = 1) then it displays 'Data found',
however if I have a REC_VALUE = 'does not exist' it still displays 'Data
found'
That would suggest that something is being returned - do you have
command line access or some other way to look at what is being
Hi
I am retrieving data from postgresql and displaying it in form of table in
different rows.
my problem is when check box is clicked i need to change the color of the
row .agai when the check box is unclicked it should hold the old color.
Can any one please help me
Thanks regards
Suma
On 7/26/05, suma parakala [EMAIL PROTECTED] wrote:
Hi
I am retrieving data from postgresql and displaying it in form of table in
different rows.
my problem is when check box is clicked i need to change the color of the
row .agai when the check box is unclicked it should hold the old color.
suma parakala wrote:
Hi
I am retrieving data from postgresql and displaying it in form of table
in different rows.
my problem is when check box is clicked i need to change the color of
the row .agai when the check box is unclicked it should hold the old color.
Can any one please help me
Hi Marek Kilimajer,
Thank You Marek it worked for me also.
-Harish Rao K
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 9:19 PM
To: Harish Rao K
Cc: php-general@lists.php.net
Subject: Re: [PHP] help needed on imagettftext()
Harish
Hello,
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Below is the configure command that I have used.
Harish Rao K wrote:
Hello,
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Below is the configure command
Harish Rao K wrote:
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Check the log files from in the
Well my page doesnt have any of the spoken about elements on it yet, because I am not
clear as to go about it.
The fields I speak of are things that need to be added extra to my page.
Here is my pages code so far...
?php
require('includes/application_top.php');
Hmmm...I'm not sure I'm following you. You just want to know how to
deal with multiple drop down lists? Or do you want to be able to check
and make sure all the mandatory selections have been chosen?
-dg
http://www.rexruff.com
On Nov 2, 2004, at 4:58 AM, Garth Hapgood - Strickland wrote:
As you can see from my code, I do want to check if all mandatory fields are
selected or filled in. As well as the issue of the communicationtyes.
SO far I do not have fields or anything for the user to use, to select the
different CommunicationTypes he wants. I am not sure how to go about this
I have written a registration page in php and have a number of edit boxes
and drop-down lists. The lists are pulling data out of their respective
tables, whereas the edit boxes are just for saving data.
Now my main table where all my data is being saved is called Business. Onto
this I have a
Seeing the page might help.
On Nov 1, 2004, at 2:52 AM, Garth Hapgood - Strickland wrote:
I have written a registration page in php and have a number of edit
boxes
and drop-down lists. The lists are pulling data out of their respective
tables, whereas the edit boxes are just for saving data.
Now
Hi
I developed a html form in which I have text box and combo box. Now my
problem is I have to pass the values of this page to another page. How can i
pass the values/variables to next page using href
Kindly help me
Thanks
Suma
On Fri, 29 Oct 2004 15:22:29 +0530, suma parakala
[EMAIL PROTECTED] wrote:
I developed a html form in which I have text box and combo box. Now my
problem is I have to pass the values of this page to another page. How can i
pass the values/variables to next page using href
Kindly help me
Hi
I developed a html form in which I have text box and combo
box. Now my
problem is I have to pass the values of this page to another
page. How can i
pass the values/variables to next page using href
Kindly help me
Thanks
Suma
As you've posted to a PHP list I will assume your
Hi
I am developing an application using php and postgresql . My problem is I
need to retrieve name and addresses from table(postgres sql table) and
print letter (body of letter will be same). Kindly help /Suggest how i can
do this
Thanks
Suma
-
From: suma parakala [mailto:[EMAIL PROTECTED]
Sent: Monday, October 04, 2004 11:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Help needed Postgresql and PHP
Hi
I am developing an application using php and postgresql . My problem is I
need to retrieve name and addresses from table(postgres sql
Hi,
I am completely new to PHP and would need some help.
I have just opened a site for my manufaturing business and would like to
create a section where each of my clients get their own account in which
they can login and check the status of their order.
For this I would need a script for
Ah yes! Thanks, I see the problem; I have to switch the 8-byte chunks in
byte-order! (Why is Directconnect doing this...)
Thanks for your help. Greetings, Carl.
Thijs Lensselink [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
check:
check: http://www.cs.technion.ac.il/~biham/Reports/Tiger/testresults.html
The results you posted seem to be right.
Carl S. in 't Veld wrote on vrijdag 4 juni 2004 0:52:
I am trying to generate tiger tree hashes the same way as
directconnect does, but I am failing.
I checked the output from
I am trying to generate tiger tree hashes the same way as directconnect
does, but I am failing.
I checked the output from php with the reference vectors from
http://www.cs.technion.ac.il/~biham...ssie-format.dat
and they appear to be different!
echo bin2hex(mhash(MHASH_TIGER, 'abc')).br/\n;
i have installed apache 2 and mysql 3 on my pc (running xp home) i have
installed php 4.3.4 but have hit a snag. the php doesnt seem to gel with
apache at all. any help please? how do i configure apache and php to mix?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello all,
I have been struggling for some time now to develop or find some product
that will allow me to scan documents (I have that part down no problem,
using OMNIPAGE 14.0) and put then into a searchable database with a copy of
it in some form that is readable like a formatted txt file.
I am
Hi everybody -
What is wrong with this php zip class (file : phpzip.inc.php)?
I've got this code on one page:
require(phpzip.inc.php);
$z = new PHPZip();
$z - Zip(directory_name/, out.zip);
where all files and sub-directories + files should be zipped into the zip
file called out.zip
trouble
the output of this short mcal-php script is 0. and the no /var/calendar/[EMAIL
PROTECTED] mcal file was created.
appreciate some advise.
?php
$year = 2003; $month = 8; $day = 21;
$description = the description; $category = 2; $title = the title;
$stream=mcal_open({/mstore}[EMAIL
Hi All,
I am new to PHP world.
Could any body tell me how to call any function(written in PHP)
from Java script.
Actually my PHP function return a string value which i need to
access in my java script code.
Thanks in Advance..
Nirmala
___
Hi All,
I am new to PHP world.
Could any body tell me how to call any function(written in PHP)
from Java script.
Actually my PHP function return a string value which i need to
access in my java script code.
Thanks in Advance..
Nirmala
___
, June 30, 2003 10:45 AM
Subject: [PHP] Help needed
Hi All,
I am new to PHP world.
Could any body tell me how to call any function(written in PHP)
from Java script.
Actually my PHP function return a string value which i need to
access in my java script code.
Thanks in Advance
Hi list,
This time i am pasting my code could any body tell where wrong I
am ?
?
function LangItem($field,$lang)
{
$db = mysql_connect(localhost, root);
/*Check For Connection to local host*/
if(!$db) echo(Connect to localhost mysql database failed);
Hi List,
Is it possible to read XML data and return as string to browser (as string)?
I do have css file but I need to get data from database and create a XML string (with
the css file). This xml string has to be returned in browser(I.E.) rather than as XML
file.
regards..
Shishir Kumar
Hi all
Can someone help?
I am new to PHP and need some help, i have tried to build a members only
section to my website but i am finding it very hard.
I get this error when i go to the login page:
Parse error: parse error in /home/.sites/112/site***/web/Members/Login.php
on line 201
But the
Please post more of your code. It is difficult for us to help you without
seeing your code.
Clint
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help needed
Hi all
Can someone help?
I am new to PHP
- they're an amazingly
useful tool, but it's only a machine and is forced by a set of rules.
-Mike
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 9:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help needed
Hi all
Can someone help?
I am new to PHP
]
Subject: [PHP] Help needed
Hi all
Can someone help?
I am new to PHP and need some help, i have tried to build a members only
section to my website but i am finding it very hard.
I get this error when i go to the login page:
Parse error: parse error in /home/.sites/112/site***/web/Members
At 16:17 1-4-03, you wrote:
Hi all
Can someone help?
I am new to PHP and need some help, i have tried to build a members only
section to my website but i am finding it very hard.
I get this error when i go to the login page:
Parse error: parse error in
I would suppose that you have an unbalanced {} somewhere.
Restructure your code (yes, even more!) so it is easier to see such a mistake.
Some coders prefer this:
if () {
code
}
but i prefer
if ()
{
code
}
so i see immediately what {braces} belong together.
At 16:27 01.04.2003, Andy spoke out and said:
[snip]
Hi Clint
OK hope this is not too much and there are likely to be more errors in it.
Thank you
Andy
[snip]
At the line
if ($num == 1) // login name was found
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help needed
Hi all
Can someone help?
I am new to PHP and need some help, i have tried to build a members only
section to my website but i am finding it very hard.
I get this error when i go
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
which one should i delete?
}
if (!ereg(^[0-9)(xX -]{7,20}$,$phone))
{
unset($do);
$message_new = $phone is not a valid phone number.
At 17:17 1-4-03, you wrote:
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
there are two, and there is nothing inbetween, so technicaly it does not
matter to the PHP interpreter.
--
PHP General Mailing List
more of your code. It is difficult for us to help you without
seeing your code.
Clint
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help needed
Hi all
Can someone help?
I am new to PHP and need some help
At 17:17 01.04.2003, Andy spoke out and said:
[snip]
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
which one should i delete?
}
if (!ereg(^[0-9)(xX
Hey All
My Php App is trying to fopen() and fread() a File that is located in
the Web Server. This works if the file is a simple html file. However
the complicated part is that the file is not displayed correctly i.e.
it has missing gifs if, it was created using Fireworks and then
PROTECTED]
Subject: [PHP] Help Needed
Hey All
My Php App is trying to fopen() and fread() a File that is located in
the Web Server. This works if the file is a simple html file. However
the complicated part is that the file is not displayed correctly i.e.
it has missing gifs if, it was created
: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Help Needed
Hey All
My Php App is trying to fopen() and fread() a File that is located in
the Web Server. This works if the file is a simple html file. However
the complicated
]
Sent: Monday, March 10, 2003 2:13 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Help Needed
Thanks for the prompt reply Michael
I am trying to protect files on the site, my script checks for a valid
session ID and fopens() a File. This file is located in a different Dir
from
Can anyone give me some pointers on why im note seeing
Any output to the browser.
Thanks Karl
my link
http://66.12.3.67/webdb/webdb13/assignment_1.php
my code
http://nopaste.php-q.net/7560
ultimatefootballleague.com/index.php
[EMAIL PROTECTED]
--
PHP General Mailing List
You might try changing ? to ?php and ? to php?
something about short tags
hugh
- Original Message -
From: Karl James [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 10:14 PM
Subject: [PHP] help needed with code!!
Can anyone give me some pointers on why im note
Hello All
I am writing again with reference to my dir Protection PHP script.
The scenario is explained below.
Whenever a user clicks a particular URL, it triggers a php file which
first checks if the user's session exists or not. If the user's session
exists, it should fopen() the particular
Hi!
...and then Fat Lizard said...
%
% Hi,
% I'm trying to use move_uploaded_file, but so far with no success, no matter
% what I try.
Do you have register_globals turned on?
Did you really use input name='userfile' in your form code?
Are you sure that $userfile has a value? What is it?
Hi
I am very new to dynamic web site (I am using GoLive6 on Mac together
with php mySQL) and I am very confused about variables. I would
appreciate your feedback on my first dynamic site
http://www.vergelegen.co.za (Media section - login test - password
test).
1/ There are quite a few
Hi,
I'm trying to use move_uploaded_file, but so far with no success, no matter
what I try.
The file info. is loaded from a form via POST.
Here's the snippet that get's called:
:
case(add_image):
$res = mysql_query(select allowed_imgs,max_image_size,files_umask from
.$table_prefix.flags);
I am building a page that submits an article with 9 jpgs images of 45 to
60ko in size.
I got it working with no problems for two to three files, until when I
tested with all nine images I saw the real problem, that wouldn't uploaded
it.
When I consulted with my service provider they said they
Hello All:
My question is related to authentication. I have made a login system
using PHP Sessions and MySQL. Once the user gets authenticated on the
website I want to be able to allow him to see some html pages on the
website. Only users who have logged in are able to see such a files. I
[snip]
How should I display the page ... the page has a lot of html code and
trying to write echoblah blah blah . ;
will not be a an option. Please suggest a way out .
Use includes:
http://www.php.net/include
And write HTML as HTML:
h3Greetings/h3
pHello b?php echo $username
1 - 100 of 178 matches
Mail list logo