473,789 Members | 1,895 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.
3
2,293
thread by: gasfusion | last post Dec 30 '07 by: pbmods
Hey guys. I'm building an object collection which will be a part of a Data Access Layer i am currently working on. However, i am having some issues iterating through a collection. This is what i've done so far 1 - Create 'user' class which maps to the MySQL table. The class has basic setters and getters to set/get each field value. 2 -...
6
8,705
thread by: sakthipro | last post Dec 30 '07 by: pbmods
Hi, I am using the Linux Server and server variable $_SERVER to get the root folder to open a text file located in the folder for ex. fopen($_SERVER."/folder/file.txt","r"); ...... I want to use the same scripts to work with Windows Server, Is there any way to get the root folder of the domain installation in Windows? ...
0
1,008
thread by: howa | last post Dec 30 '07 by: howa
Just wonder If APC became the defacto opcode cache for PHP now? Howard.
11
1,426
thread by: Itzatez | last post Dec 30 '07 by: taroo2ah
Hello there, first of all i would like to congratulate you guys for the great job you've been doing.. this site has helped me a lot and lots of times... :) I'm very newbie to PHP, only started to use this language few days ago, and i have a small answer that i cant seem to find a answer to fullfill my needs... I have a variable that is a...
1
1,686
thread by: brothers | last post Dec 30 '07 by: Markus
I am intermediate user of PHP. I want to create mine search page which allows user to view one or more than one image. I can make the search page to view one image but i cannot views all the image in my MYSQL table. So, guys help me.
7
2,169
thread by: samvb | last post Dec 30 '07 by: sumeetk
Hi guys, I am really,really confused about mail servers and their use. I want to send email from my php and someone told to install a mail server. I installed argosoft mail server and it says it has sent the email address and i can see a report in argosoft that it has recieved a message from my server(localhost). But what i want is to send the...
6
1,559
thread by: mukeshrasm | last post Dec 30 '07 by: sumeetk
Hi I got problem while concatenating the strings here is the code <a href=\"javascript:openit('View_Full_Image.php?id=".$_rows."&name=".$_name."')\"><img src=\"".$_rows."\" height=\"20\" width=\"20\"> $_name stores the full name(title) of the image. it shows the full name on the link but when I echo this to next page it shows only the...
1
1,477
thread by: diggy5 | last post Dec 29 '07 by: Markus
Hey guys, I have a problem with a php page Im trying to encode. The error im reciving is: The code is as follows: <?php $JPCACHE_VERSION="v2"; /*
5
2,581
thread by: Karl | last post Dec 29 '07 by: Jerry Stuckle
Hello again. I have a form for posting news articles. Form one is the "register" form. Then I go to the preview form were I can select edit or accept If I select edit, I got the "edit form" and if I select accept, I receive a message that say: The news article "headline" are posted into the database.
2
1,719
thread by: ashore | last post Dec 29 '07 by: Manuel Lemos
Folks, lots of stuff around re "multipart/x-mixed-replace" , which isn't supported on MS browsers. But i understand that they DO support an alternative server-push approach. I've Googled without success so far, so I wonder whether anyone here has some pointers to subject matter? Thanks all, -AS
1
2,017
thread by: assgar | last post Dec 29 '07 by: assgar
Hi I need help. I know what I want to accomplish, but I do not know how to do it. WHAT I NEED HELP ACCOMPLISHING: How to do I insert data into a table for a date range of two or more months, where every second or third week should be able to have different events/appointments.
0
275
thread by: JM | last post Dec 29 '07 by: JM
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...
4
1,813
thread by: kigoobe | last post Dec 29 '07 by: Markus
Well guys I need a way to get an unique id using php. For the moment, I have learned that the best way to get an unique ID is to put together time() and server address. Then, for additional security we can use additional strings, sha1, md5, etc. Problem, the result that I got is quite long. Is it possible to get something that is short, but...
4
3,878
thread by: backups2007 | last post Dec 29 '07 by: Markus
I tried using the isset() function in the system that I am developing. But for some reason, it just doesn't work. I've checked my code over and over but it idn't seem to have any error. i used something like this: if(isset($_POST)) { include("insert_form.php"); }
3
1,722
thread by: Karl | last post Dec 29 '07 by: Anthony Levensalor
Hello. I have a php/mysql page were I receive to many hit. I want to show 10 hit after a search and links at bottom were you can click and get the 10 next hit. Thanks for all advice and links to page with php/mysql examples. Karl
2
1,504
thread by: paeh | last post Dec 29 '07 by: paeh
Can any expert help me. I need to finish up my final project system next year. Can anyone give me some idea how to code my system. My system details is below : 1.Develop modules for a e-Intelligent Surveillance Systems and further enhance the public health monitoring and alert system 2.Develop a web based reporting program for communicable...
20
1,927
thread by: paul814 | last post Dec 29 '07 by: Betikci Boris
I've been working on this for some time now and have gotten nowhere...hoping someone here can help. I want to take and email all records in a database for the current date when this php page is run. Now I have a number of tables in this database...looking like this: editorial editorialdate, editorialname, editorialcomments press
1
1,154
thread by: hello2008 | last post Dec 29 '07 by: hello2008
Hi, I am new to PHP. I need to authenticate a user before clicking the link which opens an already existing PDF file.. so that no one can just click on a link provided to him/her and open the concerned PDF without providing the correct username and password first. Can anyone help me with this authentication?
5
240
thread by: Aaron Gray | last post Dec 28 '07 by: My Pet Programmer
Hello, this is my first posting to comp.lang.php, happy crimbo and all that :) I am having problems with sessions, first entry fine but next entry I am getting blanks, then next entry I am getting datafields back again, and this alternates. My example is here :- http://www.aarongray.org/Test/PHP/test.php
2
3,743
thread by: Roberto | last post Dec 28 '07 by: lawpoop
My company needs a BI (Business Intelligence) Dashboard that's PHP- based and runs on Linux. Can you recommend one? They were looking at the dashboard from pentaho.com, but then realized it was Java based and we don't have an investment in Java programmers like we do with PHP. We need something role-based if possible so that certain users...
14
3,672
thread by: tuananh87vn | last post Dec 28 '07 by: amagondes
hi, I see that it's easy to create a navigation like index.php?id=1, index.php?id=2... then you can hide the current part you are in. But I need a further step (as I've seen many), hope it's easy enough, that how can hide the file name index.php so that the above links become simple "?id=1, ?id=2... if so, that'd be great :)
3
1,203
thread by: Hussein Alhassan | last post Dec 28 '07 by: Markus
I have created a database. I wanted to fetch data from the database but I get this error message Parse error: syntax error, unexpected T_VARIABLE in c:\wamp\www\practicefiles\query.php on line 20 Please help me out. Thank you
1
1,703
thread by: smcguigan | last post Dec 28 '07 by: nathj
I'm getting this error on line 1, it's the only line of PHP in the document. I just want to include a menu file :( Please help! Thanks! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>SCO Logistics :: Home : The Leading Supply Chain Optimization...
2
1,076
thread by: shreedhan | last post Dec 28 '07 by: shreedhan
Hi I have a page in which users send messages to each other (something like orkut) and I have to store the messages. What will be a good way to store these messages. I thought of 3 options First, I can just store the messages in mysql database creating a column for messages like message varchar (200)
7
1,709
thread by: rynato | last post Dec 28 '07 by: Michael Fesser
I have a lengthy 'markup.php' file which consists of functions which take as input the various attribute values of HTML tags and spit out the HTML tag. My problem is that the function for <inputis interpreting '0' as null and because I've written the functions so that they don't write out the attributes which have null value, it doesn't...

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.