| |
thread by: Ralph Freshour |
last post Jul 16 '05 by: Ralph Freshour
I'm trying to code the ability for my users to upload up to photo's to
mysql database - can someone point me in the right direction as to how
this might be done in php? Perhaps a tutorial or some code samples?
My two php books don't cover uploading photo's to a web site.
Thanks...
|
thread by: Michel Feldheim |
last post Jul 16 '05 by: Nikolai Chuvakhin
Hi everybody,
I have some big csv-like files with 15.000 and more artikles stored in it.
They should be put into a mysql database.
I thought about PHP processing
but only the read and print of these lines using the read_csv() function as
in the attached script has a more-minutes execution time.
What would be the better solution.. a...
|
thread by: noone |
last post Jul 16 '05 by: fartsniff
hello all.
this is some CSS code that I have and it works great with links. however,
is it possible to achieve the same effect for images, buttons, regular text,
etc. ?
maybe make a new class called "tooltip" that i can apply to items throughout
the
site whenever/wherever i need a popup.
similar to the TITLE attribute, but much better...
|
thread by: gsb |
last post Jul 16 '05 by: matty
I trying to use sessions to save a user name/id after login.
If the user leaves the site and comes back, how do I force a new session and
login?
|
thread by: Robert |
last post Jul 16 '05 by: Matthias Esken
I have a problem. I have a php/mysql site that generates pages
dynamically (duh) like
www.mysite.com/page.php?id=whatever&name=whatever....and so on.
I would like to know if there is a way to visit that page by using an
easier to remember URL. For example:
www.mysite.com/page.php?id=whatever&name=whatever
becomes
www.mysite.com/page1
|
thread by: Michel |
last post Jul 16 '05 by: MeerKat
How to select all lines containg a string (located in $pastmove) in the
moves column
I tried several ways, for example:
$requete="SELECT moves, opening_id FROM suitemove where moves like
'%".$pastmove."%'";
but did not succeed;
|
thread by: Ward Germonpé |
last post Jul 16 '05 by: MeerKat
Hi,
I have a table loaded in an array like so :
$table $table $table
$table $table $table
$table $table $table
......
now I want to sort this table using the ID column.
|
| |
thread by: Mike Henley |
last post Jul 16 '05 by: matty
considering the recent changes to the mysql licensing terms, which
meant the php5 team had to adopt sqlite instead into the php5 and drop
mysql stuff from the standard language distro (as i understand
things)... will there be a mass migration now to something like
postgresql?
|
thread by: tobias |
last post Jul 16 '05 by: sam
I am new in programming with PHP.
I wrote the following code:
file name: output.php
<?php echo $texto; ?>
And I call it on my browser like:
http://localhost/cgt/output.php?texto=testing
|
thread by: tobias |
last post Jul 16 '05 by: sam
I am new in programming with PHP.
I wrote the following code:
file name: output.php
<?php echo $texto; ?>
And I call it on my browser like:
http://localhost/cgt/output.php?texto=testing
|
thread by: Gary Petersen |
last post Jul 16 '05 by: Gary Petersen
For the benefit of others, I want to show how to do
an HTTP POST request using fsockopen(). I banged my
head against a wall for two days trying to figure
this out. I even went to http://php.net/ to find
out how to do this, but it didn't help because
my mind automagically converted the "Content-Length"
header into "Length."
I even went to...
|
thread by: JJ Harrison |
last post Jul 16 '05 by: JJ Harrison
mail($recipients_separated, $this->subject, $this->message, $headers);
Gives me this error:
Warning: mail() : SMTP server response: 554 : Recipient
address rejected: Relay access denied in d:\webpages\classes\mail.class.php
on line 53
When i echo the above variables the line before the function is called the
values are:
|
thread by: Cecile Muller |
last post Jul 16 '05 by: Pat Scott
I've been trying to just open a png and display it, that way:
<?
header ("Content-type: image/png");
$im = imagecreatefrompng('empty.png');
imagepng($im);
?>
But the transparency is not kept. I did try in netscape too,
but it's visible even in explorer, when comparing how the
|
thread by: Adams-Blake Co. |
last post Jul 16 '05 by: Adams-Blake Co.
I have an application with two frames... the traditional left hand menu strip
and the large right-hand main window. I want to "break out" and display an
error page so that they can't see the left hand menu frame. I want to show
plain old full-page display.
I've looked all over Google Groups fo this answer. There are lots of folks
who have...
|
thread by: |
last post Jul 16 '05 by: Manuel Lemos
I am trying to use the mail function to send email. My ISP requires
authentication. What do I need to add to the mail function to make it work?
mail($to, $subject, $msg, $mailheaders);
Thank you...
Bruce A. Julseth
|
| |
thread by: Robert |
last post Jul 16 '05 by: Robert
Im looking to use php to search an external HTML page for a certain
string that will occur the same way across many pages. Is there a
built-in function that I can use to search an external HTML page for a
string and store it in a variable? If not, how bout some code :-)?
Thanks
Rob
|
thread by: haref |
last post Jul 16 '05 by: Wolfgang 'Dreamguard' Nagele
hi ng,
what can i do in the following mail function, which hast 400
subscribers
who are read from a database and to which the mails are send in a
loop, when there are some adresses who are not reachable.
My provider receives all the failure mails.
is it possible to send the mail daemons ( failures ) to a special
adress,
so that the...
|
thread by: Randell D. |
last post Jul 16 '05 by: Randell D.
Folks,
When I read data from my form, I sanitize it before recording it in MySQL.
At the moment, the values in $_POST are cleaned and returned in a new array
called $formData.
I found my accident that I could change the value of $_POST thus I was
thinking it would be better usage of memory (and therefore overall
performance) if instead...
|
thread by: Jan Buchwald |
last post Jul 16 '05 by: Jan Buchwald
Hallo Ng,
folgendes Problem:
Ich habe eine MySQL-Datenbank und verwalte sie normalerweise mit phpMyadmin.
Leider kommt es zu Timeouts bei groesseren Datenmengen, unabhängig ob ich
den Output mir anzeigen lasse oder in eine Datei abspeichern lasse. Grund
ist die zu kleine Timeoutzeit von PHP.
Ich kann weder den Timeout verändern noch...
|
thread by: BKDotCom |
last post Jul 16 '05 by: BKDotCom
I have a problem that has long plagued me:
What is the best way to check if I'm out of space?
I have a file editor application (could apply to anything though).
If the server (Apache on SunOS) is out of diskspace
$fp = fopen($file,'w');
fwrite($fp,$string,strlen($string));
fclose($fp);
creates a nice 0-byte file.. no error or anything.
...
|
thread by: scott john |
last post Jul 16 '05 by: scott john
Hello
Im trying to send a mail from a php-program. Im using a test program and the
code for this is as follows:
<?php
$from = me@myaddress.com";
$subject = "Test";
$to = 'me2@myaddress.com;
$mailbody = 'mailbody';
|
thread by: Shagshag |
last post Jul 16 '05 by: Luke Ross
Hello,
(i'm particulary interested in security issue - php is running on
apache + linux)
i need to pass the result (here $exp) of a form submission to a third
part application using :
exec("echo $exp | third_part", $arr, $ret);
|
thread by: Adam |
last post Jul 16 '05 by: Bejoy Alex Jaison
Hello, I just installed and configured, and anytime I try to view a PHP file
in my browser, it keeps asking for network login information..
any suggestions?
|
| |
thread by: haref |
last post Jul 16 '05 by: haref
Hi ng,
can anybody helps me with this
function ? it does not work ...
i have the connectionID and what does not work is the :
$delSQL = "DELETE FROM data WHERE abmonat < '$month' AND abtag < '$day'";
what is wrong with the $delSQL - Function ?
Here is the function :
|
thread by: phantom |
last post Jul 16 '05 by: phantom
Hi all,
Heres a strange problem i am running into running Php4.2.2. I am
uploading a file using a post and when i receive the file on my share
the file adds some more records to it ( These are duplicate records
in the file). Dont know whats happening all input is appreciated.
Heres the code:
main.php
<?
|