OK I understand the difference between a get & a post but if I just have a
URL/link which is calling a function like so:
abc.com/display_information?customer_number=$value
It passes to the display_information the customer number visably, is there a
way to do this where it's not visable?
Thank
George B wrote:
is it possible to put in a jpg file into a database? I am trying to make
like a catalong and have all the files (including pics) and everyone can
see.
is this possible?
Sure -- if you're using a MySQL database, just use a BLOB field and put
the data in as you would a string o
is it possible to put in a jpg file into a database? I am trying to make
like a catalong and have all the files (including pics) and everyone can
see.
is this possible?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You should definitely see a listing for MySQL in phpinfo()...
What order did you install MySQL/PHP/Apache?
Linda H wrote:
I added the following to the top of my script:
Got all sorts of environment and path info. Not anything about MySQL,
but I didn't see anything that looked obviously wron
On 7/13/05, Grosz, Steve (IPG IT) <[EMAIL PROTECTED]> wrote:
> Does anyone have a step by step, screenshots would be great, of how to
> install PHP 4.x on a Win2003 SP1 server?
>
> I've tried going through the install instructions on PHP.net's site for
> windows, but its still not working, so I th
I added the following to the top of my script:
Got all sorts of environment and path info. Not anything about MySQL, but I
didn't see anything that looked obviously wrong, though I don't understand
a lot of it.
I ried reinstalling MySQL, Apache, and PHP. No change.
Linda
--
PHP General
Try this just for kicks:
Nope - nothing :-(
See if this will output errors. It's rather hard to debug without error
messages ;)
No kidding!
If I remember correctly, isn't php.ini supposed to be in c:/PHP?
It came in c:/php5 as php.ini-recommended. My instructions were to move it
to c
Try this just for kicks:
See if this will output errors. It's rather hard to debug without error
messages ;)
If I remember correctly, isn't php.ini supposed to be in c:/PHP?
Linda H wrote:
Thanks for the advice, Matt, but it doesn't seem to solve my problem.
php.ini is in the C:Program File
Matt Darby wrote:
Using this at the top of your script will allow PHP and MySQL to
interact.
$_POST['dbconn']=mysql_select_db("database_name",
mysql_connect("server_name","user_name","password"));
It does sound like you have notices and warnings turned off in php.ini:
Find php.ini (not sure w
Thanks for the advice, Matt, but it doesn't seem to solve my problem.
php.ini is in the C:Program Files/WINDOWS directory and error_reporting was
set to E_ALL.
I found php5ts.dll in the WINDOWS/system32 directory. I copied it to
WINDOWS/system, just in case. My install instructions said to pu
Using this at the top of your script will allow PHP and MySQL to interact.
$_POST['dbconn']=mysql_select_db("database_name",
mysql_connect("server_name","user_name","password"));
It does sound like you have notices and warnings turned off in php.ini:
Find php.ini (not sure where it installs to
Hi,
I'm running MySQL 4.0.21, Apache 2.0.52 and PHP 5.0.2 on a Windows XP
system. I can run scripts with PHP and HTML statements and see correct
output in my browser. But when I try to connect to MySQL I get nothing,
including no error messages.
One book I have says to run the following scri
> Something like this (you might like to check the syntax, I'm working from
> memory here) might work:
>
> header('Content-Disposition: attachment; filename=somefile.html');
Thanks, I'll have to try that.
As for security, looks like I will need to watch out for the extensions.
Turns out that th
I did something like that for a newsletter sending script. Basiclly, I
had two scripts:
a) AddEdit.php that would list the newsletter's items and allow it to send
b) Send.php that was a script I ran on the background
When pressed "Send" on AddEdit, it would do something like
$tempName = tempnam(
I've succeded on doing this task :)
I had to make a few assumptions (like HTML is formatted correctly),
but, other than that, it worked just fine.
I'll post the code on monday.
Thanks for all your help guys. You've been GEAT (you know... like
Tony says ;) )
On 7/17/05, Al <[EMAIL PROTECTED]
You can--you need to check the signature of the visiting client and
determine whether it is a spider (for example, Google indexers are called
"googlebot"s). This is in $_SERVER['HTTP_USER_AGENT']. Here's a thread on
the subject:
http://news.php.net/php.general/217460
You can also use the browscap
hello group,
is it possible to make write a program in php ,so that only search bots can
see the output of that program.i mean to say that a program echoes a line at
the footer which only search bots can see,it will be invisible to general
visitors.
Al wrote:
André Medeiros wrote:
Greetings.
I am trying to trim some text containing HTML tags. What I want to do is
to trim the text without trimming the tags or html entities like
and such, wich completelly break the design.
Has anyone succeded on doing such a thing? phpclasses.org won't h
timothy johnson wrote:
I am building a database that houses photo, I thought everything was
going fine til I went to upload a file that was bigger then 2MB. I
check my HTML int he form I have it set to 10MB, in php.ini I have it
set to 32MB, and then in mysql I am using a longblob so shouldnt tha
Thanks is for the help.
That is a very good command.
Here is what I have now.
[EMAIL PROTECTED] property]$ od -c adminlogin.php | head
000 < ? p h p s e s s i o n _ s
020 t a r t ( ) ; r e q u i r e (
040 " f u
I am building a database that houses photo, I thought everything was
going fine til I went to upload a file that was bigger then 2MB. I
check my HTML int he form I have it set to 10MB, in php.ini I have it
set to 32MB, and then in mysql I am using a longblob so shouldnt that
handle like 4GB. Anyone
André Medeiros wrote:
On Fri, 2005-07-15 at 16:03 +0100, Richard Davey wrote:
Hello André,
Friday, July 15, 2005, 4:24:23 PM, you wrote:
AM> I am trying to trim some text containing HTML tags. What I want to
AM> do is to trim the text without trimming the tags or html entities
AM> like and
Matt Darby wrote:
I have an array setup as such: *$arr['generated text']='generated number';*
What would be the best way to echo the key in a loop?
Seems pretty easy but I've never attempted...
Thanks all!
Matt Darby
Unless I didnt understood you.. you can easily use foreach() for that.
If y
23 matches
Mail list logo