| |
thread by: Derek Fountain |
last post Jan 1 '08 by: Derek Fountain
I've got a function that builds a webpage containing a flash animation.
As the page goes to the browser, the browser sees the link to the
embedded FLV file and opens a new connection to retrieve it. A moment
later the page download is completed, and a few seconds after that,
depending on the user's connection speed, the FLV download completes...
|
thread by: R.A.M. |
last post Jan 1 '08 by: Jerry Stuckle
Hello,
I am learning PHP5. I have little experience.
I have created a website in which I want to put a link to download a text
file. When I used simple
<a href="Dir/File.txt">Download file</a>
I had such problem that instead of dowloading the file contents was
displayed in browser. In some book on PHP5 I found a "solution": create a
link...
|
thread by: Serious_Practitioner |
last post Jan 1 '08 by: Serious_Practitioner
Good day, and Happy New Year!
I'm trying to teach myself some PHP and MySQL and the project that I've
decided to build will be dependent on queries involving comparisons of
dates. I'd like some advice, please, on whether I should -
1. Store the date (2008-01-01) in the MySQL table as a date and compare to
that, or...
2. Create a/...
|
thread by: zlash |
last post Jan 1 '08 by: pbmods
Hello, I've been looking and trying a lot of things but I cant find a solution to this problem. Here it is the scenario, Im building a big tar file (about 70~100 Mb) on the fly, mainly fetching information from a MySQL DB and from other raw files of my own. The output file is very redundant so I want to encode it as gz to make it lighter.
The...
|
thread by: Ming |
last post Jan 1 '08 by: NC
I am looking for a PHP based CMS (or blog system) that supports:
1) static output (like Movable Type)
2) remote publishing through FTP, SFTP or SSH (like Blogger)
3) Different templates for different parts of the system (ie: category
template, main index template, search template, like Movable Type
does; Blogger seems to just have one...
|
thread by: groups2 |
last post Dec 31 '07 by: Tim Roberts
This is true: "2-3"==1
But "1-2"==1 is not true
Why ?
|
thread by: jodleren |
last post Dec 31 '07 by: Tim Roberts
Hi!
I was reading php.net for a way to find a number of characters in a
strings. Say I want to look for a b and c ind $string.
As far as I could see, there is no function for that.
So, I can either?
1) run through the string and test using in_array('a', 'b', 'c')
2) run through array and test using strpos( $items....
Where I find #2 the...
|
| |
thread by: Aaron Gray |
last post Dec 31 '07 by: Aaron Gray
How do I access URL parameters, and ideally as an associative array ?
Many thanks in adance,
Aaron
|
thread by: pambrose |
last post Dec 31 '07 by: pbmods
Hi
Hope you can help.
I run PHP on a remote Linux server.
I want to include EXEC to run a batch file on my local Windows machine to copy some files, invoked from the remote server - can this be done?
Thanks
|
thread by: Peter Parker |
last post Dec 31 '07 by: Peter Parker
I am using php5 to parse node content from a xml file. Could someone show me
if it's possible to to print the content without the !] tags in the
following codes ? Thank you in advance
....
$colors = $doc->getElementsByTagName("color");
foreach($colors as $node) {
// to print only 'red' without the !] tags as in
<color>!]</color>
|
thread by: Jyo |
last post Dec 31 '07 by: Rik Wasmus
Hi All!
I have problem regarding multiple file attachment. Can any one help
regarding script like gmail provides for attach a file with remove
link ? Also please note that this code should compatible with MAC -
safari browser.
Thanks & Regards,
Jyotsna.
|
thread by: OmniX |
last post Dec 31 '07 by: OmniX
I have a textarea that is used to view a specific database cell, which works fine. The problem is when I edited the text in that textarea and then use php + mysql to update that specific database cell it does not work. When I just change the name to a random string "abc" the database is updated but it takes 2 clicks to work or 2 refreshers. So I...
|
thread by: shreedhan |
last post Dec 31 '07 by: shreedhan
Hey all,
I have a strange type of problem.
I have a simple code of html (say in test.html)
<img src="/home/Shreedhan/edited_shreedhan2.jpg" />
If I put this code in a separate file and open it directly, it works fine.
But if I open same file in apache ( i mean like "localhost/test.html")
|
thread by: motif |
last post Dec 31 '07 by: Markus
hi
i am new to php and mysql i am devloping a site wich required diffrent user level in admin area, basically i want to assign diffrent role for diffrent user like some user can update the records, some user can delete the record and superadmin will have all the access and could create the user too.
i search the google and found some basic...
|
thread by: lukk3tt0 |
last post Dec 31 '07 by: Michael Fesser
Hi guys,
I found this script:
http://hvassing.com/2007/simple-php-login-script-using-session-and-mysql/#comment-31549
but if I try to recall, in a page I created, the variable "username"
that a user fill in the login page, it does not work.
How could I retrieve the "username", in other pages, using sessions?
I think that the answer is...
|
| |
thread by: banning |
last post Dec 31 '07 by: banning
while($row = mysql_fetch_array($getID)){
$id=$row;
$dir='../picture_library/floorplans/'.$id;
mkdir($dir,0777);
chmod($dir,0777);
}
ok this is really starting to kill me... i've bee on this for an hour now surfing the net trying to find a solution. I am using a test server that i run on my computer to build sites and then upload...
|
thread by: auction |
last post Dec 31 '07 by: auction
AJ Auction Pro is the most advanced Auction script. It has got all the
features of the most advanced auction script. The script is fully
automatic from listing to deletion of listing on the prescribed date.
It is integrated with payment system like paypal or e-gold which ever
preferred.
Sources: http://www.ajsquare.com
|
thread by: twomt |
last post Dec 31 '07 by: twomt
Hello,
I am logging errors into a phperrors.log file and not anymore display
them through the browser.
Only problem I have now is that it does not show errors generated by php
scripts called from the browser, but only by those that are executed
from the command line or through cron.
Does anyone have an idea if I am doing something...
|
thread by: xDrDoSx |
last post Dec 31 '07 by: xDrDoSx
does any one have good tutorials or articles on PHP and database
scaling?
|
thread by: twomt |
last post Dec 30 '07 by: Jerry Stuckle
Hello,
are there any tutorials/guides out there that explain how to handle this
subject?
I was thinking of having a member enter his username and email, after
which I then email him a new password.
Question from my side is if there is a php method to auto generate a
strong password.
|
thread by: mp- |
last post Dec 30 '07 by: C. (http://symcbean.blogspot.com/)
I want to be able to allow people to check their email from my PHP
online application.
Given only the users 1) email address, 2) username (if applicable) and
3) password - how can I auto detect a remote IMAP/POP3 server so that
I can connect and fetch mail for the user. (Ultimately, I don't want
users to have to know what the IMAP/POP3...
|
thread by: Pugi! |
last post Dec 30 '07 by: C. (http://symcbean.blogspot.com/)
Because my functions tend to become rather lengthy I split up the
functions for each subject or action in a function (a) that checks
user input (filter and validation) and if this checks out ok it passes
the variables to another function (b) that retrieves or stores the
data from/in the database, function (a) then communicates the result...
|
thread by: MZ |
last post Dec 30 '07 by: C. (http://symcbean.blogspot.com/)
Hello!
I have created a script for uploading photographs with size less than 50 KB.
Everything works fine, but the images are viewable after a not so long time, but
not at once. I would like to have the photographs available just after
successful upload. Can you tell me, maybe there is some way to do that? Is it a
my hosting server fault?
...
|
| |
thread by: George Lft |
last post Dec 30 '07 by: George Lft
In my new registration page, i'm trying to create a double entry password / username to validate their entry . haven't decided which one, probably i'll go just with the password . What is the PHP codes is like ?. - to validate the two password fields that it's same ? before it sent....Thanks.
|
thread by: shreedhan |
last post Dec 30 '07 by: shreedhan
Hi,
I have a page for uploading pictures
I have limited the file uploaded to be jpg ( and other picture types) and size upto 2 MB.
Everything goes well, except when I give files larger than 8 MB (which is the post_max_size) it doesn't show any error, even if the file is of different type other than picture.
It doesn't display any...
|