| |
thread by: Nicole |
last post Oct 25 '05 by: Hilarion
Hi
I'm trying to use a function to set a session variable. I have three files:
The first file has:
<?php session_start(); // This connects to the existing session
?>
<html>
<head>
|
thread by: Ja NE |
last post Oct 25 '05 by: Jerry Stuckle
well, it is time for some fine tuning of my application, after adding
that banner script for which I needed percentage solution, I would like
to fix my forum scripts...
when someone write some text in form's textarea and then
enter
new line (btw, is that \r or \n or combination?) I'm not "getting" that
new line but space. what can I do to...
|
thread by: desalvo123 |
last post Oct 25 '05 by: Erwin Moller
Is there a way I can manually create and send POST data in my code to a
website without using html forms?
|
thread by: Robert Rescot |
last post Oct 25 '05 by: Steve
I'm trying to develop a personal start page on my machine that would
have my outlook calendar on the page. I've seen Konfabulator widgets
that access the Outlook calender and a php class that I could not get
to work for mail at
http://www.programmersheaven.com/articles/Bogomil/art.htm
Has anyone been able to do this with outlook...
|
thread by: G0ng |
last post Oct 25 '05 by: G0ng
Hello, I have the following problem.
I have a Mysql db field which holds an html code (e.g. <p
style="text-decoration: underline;">lala</p>).
To insert this code I use the ricEdit javascript controll with which you
create a textarea and format the text. When I submit the value it is
stored in the db.
I want to be able to edit this code...
|
thread by: Mark ??;-\) |
last post Oct 25 '05 by: Mark ??;-\)
I would like to display a listing of files on a web page as follows:
If there is only one file: display the section name and then display the
current file.
If there is more than one file (for the first page): display the section
name, the current file and a few archive files.
If there is more than a page full (for each additional page):...
|
thread by: google |
last post Oct 25 '05 by: Mike Willbanks
I am missing something elementary I think. I am trying to batch resize
the contents of a directory, using imagecreatefromjpg() etc.
I have tried many scripts and I can only seem to corrupt the jpg. My
latest script is this...
<?php
// The file
$filename = '6.jpg';
|
| |
thread by: typingcat |
last post Oct 24 '05 by: Kim André Akerĝ
My application checks for updates by accessing a php page on my
website. Like the following;
http://myserver.com/oldchecker/check.php?version=1.0
Now I have created a new checking page like the following;
http://myserver.com/newchecker/check.php?ver=1.0&name=user
Because there still are users who are using old versions, I need to
keep...
|
thread by: slavi.marinov |
last post Oct 24 '05 by: Sander Tekelenburg
Hello all,
I have a simple question on PHP and the way it handles strings.
Let's say I have a database and a php script that communicates with the
database. The database has some kind of character encoding - let's say
UTF-8, UTF-16, or something different.
When I select some string from the database, for example:
|
thread by: PaowZ |
last post Oct 24 '05 by: Rossz
Hi there!
A question about caching jpg files, I have pages where dozen of jpgs
are displayed at once. Those jpgs come from resizing jpgs, so this is a
costly way for server (computing jpgs and send them to client).
So is there any way to cache resized jpg to avoid them being resent
every times ?
Thanks a lot.
|
thread by: kingsleymyers |
last post Oct 24 '05 by: kingsleymyers
I have a client with a need for an "upload_max_filesize" directive
in excess of 10MB. Their current host will not
budge. They need something in the range of 15MB to 20MB. Will this
require a dedicated server? Can someone recommend an affordable
solution?
They anticipate this to be used mostly from October to January / 2
people per day /...
|
thread by: Jonathan Crawford |
last post Oct 24 '05 by: Ewoud Dronkert
Hi
I am building my first php/mysql application
having come from the dark side. I am finding it a
lot easier then I thought.
One thing I am stuck on is adding a a date fieled
through sql
I have a verfied short date (dd/mm/yy) but
|
thread by: Julien Demoor |
last post Oct 24 '05 by: Julien Demoor
Hello,
My website is blog/news aggregator. It reads rss and atom feeds to store
and stores data in a mysql database. The feeds may use different
character encodings, generally utf-8 and iso-8859-1. The parsing script
knows from the database when it visits a utf-8 feed and uses the php
function utf8_decode before send information to mysql....
|
thread by: phpuser32423 |
last post Oct 24 '05 by: Craig Storey
Hi all
I have been searching for hours on the php website for a function that
will allow me to display just the first 50 chars of a mysql text field
in a results table, but i'm having no luck. I need it to create a
results page for a site i'm creating in php. Can anyone help with this
problem?
Kind regards
|
thread by: tsmith |
last post Oct 24 '05 by: tsmith
Hi,
Is there a way to configure my Apache server to display thumbnails of
images when it lists a folder's entries?
I have thousands of images which I upload to a folder on the server,
but when I want to remotely find a particular image, I have to guess it
based on the filename.
Can this be done in apache, or is there a simple PHP...
|
| |
thread by: B Squared |
last post Oct 24 '05 by: Erwin Moller
I'm trying to get GD 2.0.12, or later, for PHP 4 or PHP 5. When I
download PHP 4.4.0 or 5.0.4 from php.net the bundled GD seems to
be stuck at 2.0.9. I'm a bit surprised by this, since you'd think
PHP would include a later version. So maybe I didn't compile my
PHP right? In any case, any pointers would be appreciated.
Thanks in advance.
...
|
thread by: NurAzije |
last post Oct 24 '05 by: NurAzije
Hi,
I have a huge mailling list and want to check which mails are real and
which does not exists to reduce the size, is there a function which
will check if mail@mailserver.somthing exists or not without sending it
a mail.
Thank you..
|
thread by: Schraalhans Keukenmeester |
last post Oct 24 '05 by: Tony Marston
X-Followup: comp.lang.php
I have a PHP script that adds messages to a simple MySQL Database.
(PHP 5.0.3, MySQL 4.1.1)
One of the fields it stores is msgid.
The new msgid is a count of all current msgs in the db plus one
$query = 'select count(*) from messagesdb;';
$result = mysql_query ($query, $conn);
|
thread by: peter |
last post Oct 24 '05 by: peter
I have taken over the website duties at work. I am still learning PHP
and MySQL. I want to have a form where the user enters some finacial
info and it is stored in a database. It, obviously, needs to be
secure. I know how to make the input form secure. But what about
retrieving the data? I was thinking I would use a password-protected...
|
thread by: yawnmoth |
last post Oct 23 '05 by: Gordon Burditt
Any ideas as to why urlencode(addslashes(chr(0))) returns '%5C0'? It
seems like it should return '%00' since that's what urlencode(chr(0))
returns. If not that, I could also see it returning '%5C%00' since
that's what urlencode('\\').urlencode(chr(0)) and
urlencode('\\'.chr(0)) return. '%5C0', however, confuses me. Even...
|
thread by: Botan Guner |
last post Oct 23 '05 by: Janwillem Borleffs
Hi everyone,
I'm running php on win2000 server and iis. I have a script that builds
the directory sturcture of a directory or a drive. My problem is that i
want to find that which directories are hidden. I have looked stat()
function but it seems that it does not return a value for being hidden
or not.
Thanks for any help,
|
thread by: typingcat |
last post Oct 23 '05 by: jkimball4
Say I have a table in a MySQL server
ID USERNAME COUNT
0 JOHN 2
1 JANE 3
2 HOMER 3
3 MOE 2
If I want to increase Homer's count by 1,
The plain way would be;
1)$TEMP=SELECT COUNT WHERE ID=2
|
thread by: Ian Davies |
last post Oct 23 '05 by: Daedalus.OS
Hello
I am getting the following error
Parse error: parse error, unexpected T_VARIABLE in
e:\domains\i\mysite.co.uk\user\htdocs\SaveOrder.php on line 16
I cant see what is wrong with line 16. can you help? Here is the code
(simplified). Line being the SQL statement
|
| |
thread by: Rafeeq |
last post Oct 23 '05 by: Jerry Stuckle
Has anyone seen any online PHP resource for reserving resources. My
problem is similar to room reservation. As an example, I have several
rooms, which are available during certain hours. Each room has per hour
cost associated with it. I want to have a search functionality that can
show me available rooms and their cost for a certain time...
|
thread by: mjbigelow |
last post Oct 23 '05 by: Terry
I've got a PHP page that, when loaded in IE on Windows XP, stretches
about an inch off of the page when the page is originally loaded. If
you click the "Home" button on the left, the page loads correctly. If
you click the refresh button, it goes back to being stretched too far.
It does that for every page. When you click on the button,...
|