473,788 Members | 2,759 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
7
2,023
thread by: h3lp | last post Nov 2 '07 by: nimeb
Hello, i have a PHP script that will pop up a save as dialog box. This script works well at Firefox and IE7, but when i test it with Safari for Windows. It will download the PHP script itself and not the file that i want to give to user. Can someone help me, pls? Thanks in advance.... header("Content-disposition: attachment;...
1
1,577
thread by: szalinski | last post Nov 2 '07 by: Atli
Please can somebody tell me why this isn't returning the index page? It is technically supposed to, and if somebody can get it to work I can then use remote download resume functionality in my site. According to <link removed>, it is a HTTP 1.1 request that supposedly should work...I can't find any syntax errors! What's wrong? <?php...
2
972
thread by: kurisu | last post Nov 1 '07 by: w0rKInPHP
Hi all. I've been going crazy trying to think of a solution for the following problem: I have a database that holds over a hundred million records. I've optimized the database and code so that user queries have a relatively quick turn around. Unfortunately, the occasional user will enter search criteria that could take 5-10 minutes (or...
105
6,181
thread by: sw | last post Nov 1 '07 by: Jackie Silva
Hi all, I have a news website tat is developed on joomla 1.5.Login facility is done thru a login component.On each page,ther s a 'Log In' link that redirects them to a login page.On successful login,user details are set in session as well as cookies and then redirected back to d referring page.The 'Log In' section changes to 'Welcome...
2
3,994
thread by: 848lu | last post Nov 1 '07 by: 848lu
hi, im trying to search data through an array and then display the macthes found please help #!/usr/bin/php <HTML> <BODY> <? #reads a text file outputs it to screen
8
1,796
thread by: +mrcakey | last post Nov 1 '07 by: NC
I understand that register_globals was turned off by default as, unless you initialised it, it could be altered by a malicious coder. What I don't understand is how the $_POST form is any more secure. Surely Mr Malicious Coder can still just send his own version of $_POST? Obviously I'm missing something, I just can't figure out what! ...
2
1,602
thread by: AnilM823 | last post Nov 1 '07 by: AnilM823
Hi all, I'm working on designing a forum. I'm using PHP, with a mysql database, displaying the user-input results in a formatted table. Pretty standard. My questions concerns word wrapping. Normally, when the data reached the end of the table, it'll wrap to the next line. However, when people post links, the link itself will not wrap...
1
1,294
thread by: joniboy123 | last post Nov 1 '07 by: Jerry Stuckle
I have been playing with the Amazon API and have become confused with the number of results returned. Even with the 'itemPage' parameter set to 1, I recieve over 30 results on some query terms. Is this because I am performing a blended search?
2
1,286
thread by: James54321 | last post Nov 1 '07 by: Michael Fesser
I am making a little PHP timetable for myself but the rooms change every week, so I'm storing the dates of each week number (they're numbered 1 - 52). If there is any way of getting the sytem to count the weeks for me so I don't have to enter the dates of each week that would be greatly appreciated. The main thing I need is to be able to...
8
1,259
thread by: Phil Latio | last post Nov 1 '07 by: Phil Latio
What is the technical name or the name most commonly used for the below? United Kingdom >Wiltshire >Trowbridge Basically you have a table like: category_id, parent_category_id, category_name Sure it has name from a fairy tale but for the life of me I can't remember. I keep thinking daisy chaining but I know it's not. Is it something...
3
1,209
thread by: amitabhcy | last post Nov 1 '07 by: amitabhcy
Hello to members, I am getting fatal error while running the following code. Any solutions to avoid the error. The error is PHP Fatal error: Call to a member function getD() on a non-object in ..... on line 24. The objective is to call the getValue() function of of D type object. Your guidance is required. I am using PHP5+ and Apache 2.2...
5
7,719
thread by: manjubhashini19583 | last post Nov 1 '07 by: code green
Sir, how to write select query and insert query at the same time. I have one database that db having six field. waiting for your reply. thanking you
3
1,288
thread by: kenno66 | last post Nov 1 '07 by: amitabhcy
Hey, i have been programming php for a month now, well learning. And a friend asked me if i have done classes, as in class function etc and i said no. So he said its easy and that. Spent awhile looking for help but no where actually gives you the info i need. Anywayi have a class file called class.inc.php. And because i am using mysql i want a...
6
2,105
thread by: aanund | last post Nov 1 '07 by: aanund
I don't know if I'm in the right place, or doing this properly, but I hope someone sees it anyway. I am a rookin i PHP, yet I have found this to be an efficient and useful scripting language for many tasks. What I know would like to enquire about is this: I have got hold of a php-script that helps me upload files to a certain folder on my...
1
2,106
thread by: vyasanjali | last post Nov 1 '07 by: brettl
Hi I am trying to my site user to a other site api using SOAP client . But Every time its give uncatchable error. I am using nusoap class .But shows error that given below: Fatal error: Cannot redeclare class soapclient in "Fatal error: Cannot redeclare class soapclient in"
8
3,677
thread by: slb813 | last post Nov 1 '07 by: w0rKInPHP
Hello, I am having a problem that I can't seem to work out. I am running Apache 2.2 on a Windows XP platform, using PHP5. I am attempting to insert a row into a MS Access data base with a PHP script. I have a good connection into the data base, because select's work well. The error that I am getting is: Warning: odbc_exec(): SQL error: ...
6
2,712
thread by: Milan Krejci | last post Nov 1 '07 by: Milan Krejci
while(list($key,$value) = each($_FILES)) { if(!empty($value)){ $filename = $value; $add = "upimg/$filename"; echo $_FILES; $error=copy($_FILES, $add); if (!$error) $progressUploadingPhotos=false; $error=chmod($add,0777); if (!$error) $progressUploadingPhotos=false;
2
2,974
thread by: hemel | last post Nov 1 '07 by: Markus
I submit a form into same php page. After submit a form data properly inser into database. But when i refresh data again insert into database. What is the solution of the problem. Any help would be greatly appreciated, Thanks in advance.
1
1,027
thread by: maheswaran | last post Nov 1 '07 by: matt0uk
Hi, I want to change the php file extension .php into some one like .abc Is there possible to change this?. Thanks in advance Mahes
8
1,564
thread by: pgt | last post Nov 1 '07 by: Jerry Stuckle
I have a working couple of pages (form submits 2 variables to the second page using GET). page1 has two dropdowns (generated from MySQL db). page2 retrieves info from the database accordingly, depending on the passed variables. Works fine. I need to ensure that the user has actually selected both variables on page1
1
1,394
basstradamus
thread by: basstradamus | last post Nov 1 '07 by: basstradamus
Hi All, Is it any possibility to get a list of attributes of function or method in php? For examlpe I have got a following function: function example ($att1, $att2) { ... } and I want to get a list of attributes which holds number of attributes and their names.
17
8,085
thread by: Paul van Brouwershaven | last post Nov 1 '07 by: Paul van Brouwershaven
I have some problems with the curl. On the console I get the right response message but in PHP I see no difference between a valid and an invalid SSL Certificate. Curl command in PHP: $url = ' https://verisign.com'; $ch = curl_init(); curl_setopt($ch, CURLOPT_TIMEOUT, 10);
18
2,366
thread by: BDE Consulting | last post Nov 1 '07 by: 4sak3n 0ne
I am going crazy. This has been a problem now for over a year and I have yet to figure out what is causing it. I have a single server that is running multiple domains. For this example I will list four domains all of which have the phpinfo.php file in their root directories. However, only one of them has working PHP. What am I doing...
3
1,090
thread by: wyman | last post Nov 1 '07 by: The Natural Philosopher
I am working to make a page that displays the status of servers from a game. I have the php files that print out which servers are online, and if I go to where the file is hosted it displays all of the servers that are available, but how do I integrate that information into an html file? I've tried various resources and decided to turn here....
6
1,384
Markus
thread by: Markus | last post Oct 31 '07 by: Markus
Now, i know it's possible to delete files using 'unlink'. But, i tried this against a jpg file, to no avail. I have done some research but have been unable to find anything to approach this with. Sorry in advance. And thanks... in advance :D

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.