Home > PHP Development

PHP Development

PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
Ask Question About PHP Development
Problems with showing data from a guestbook
Ok, usually my select queries work fine but this one always gives me a parse error on line 53. Any suggestions? PHP Code:  $link = mysql_connect($host, $user, $pass) or die (mys...
answer(160)  view(1,089)  status(wait for best answer)
PHP w/ MySQL Query date manipulation
Hi, I have a series of items in a database that have a date column assigned to them using the NOW() function. The table looks like this: item_id item_name date_added I need to find the following: i) the month that the oldes...
answer(160)  view(992)  status(have the best answer)
PHP n XML
hi fellows I want to submit a form and then store its values in XML file, such that I can search on another page with specific fields, BTW i have four fields in form, 1 - name 2 - class 3 - course 4 - roll no. so target is to use P...
answer(159)  view(714)  status(wait for best answer)
PHP n Apache installation on Solaris
Can anyone guide me how to install and configure PHP with Apache on Sun's Solaris 2.7 The details of my Solaris are as follows... Sun Ultra 5/10 System v Release 4.0 Solaris 2.7 SunOS Release 5.7 Generic_106541_06 Thank you in advance --...
answer(161)  view(445)  status(have the best answer)
NooB Q: Displaying URL from table
I am adding a manufacturer logo image and url (to open in a new window) to a page but not knowing much about php have run out of patience in trying to figure out how to call the manufacturer_url from the database into an href link. I'm sure...
answer(159)  view(767)  status(wait for best answer)
How to start PHP and MySQL on Mandriva?
Hi, I have just finished installing the latest Mandriva limited edition Linux dvd (which came with a linux magazine named Linux Format) on my pc.During the installation I chose all the options including servers,office all the packeges.Si...
answer(166)  view(204)  status(wait for best answer)
can people read php code from web?
I'm wondering how secure is it for people to read the php code from website? What about the encoder like Zend Encoder (too pricy)? why do they provide encoder if the php code is invisible to people w/o encoder? let's say my code here,...
answer(172)  view(253)  status(wait for best answer)
addentry( equivilient to register.php)
hi currently I am developing an expert system using aiml I am using the php and mysql togther with the aiml codes and the aiml codes i am running on is program E. i am also creating a login and register module in my system. In order fo...
answer(161)  view(292)  status(wait for best answer)
After exporting chinese data to excel sheet, its appearing in unicode. how to get the original data.
After exporting chinese data to excel sheet, its appearing in unicode. how to get the original data.
answer(0)  view(2)  status(wait for best answer)
How can I convert IST(Indian Standard Time) time to EST(Eastern Standard Time) time
I want to convert the datetime captured in IST time zone in India to EST time zone in US Please help me , Its reallyy urgent Regards, Kush
answer(4)  view(2,722)  status(have the best answer)
VBulletin customization question
I am trying to customize my board, but I can't get one thing working. Basically, I want to place a link on top of the main page, saying "Find All My Posts." Basically what that does is, once a user clicks it, he can see all hi...
answer(7)  view(367)  status(wait for best answer)
[PHP5] Cannot redeclare fputcsv()
I have an older script made in 2005 is when it was last updated, now im faced with this error Cannot redeclare fputcsv() which refers to line 922 of common.php I open that document and i see PHP Code: }#end ...
answer(6)  view(879)  status(wait for best answer)
how to display image in pdf with adding icons
<?php @include("DistrictAdmin_SessionCheck.php"); require("html2fpdf.php"); require("example1_def.inc"); require_once("header_footer.inc"); $todaydate = date('M d, Y'); $pdf = new pdf_usage(...
answer(0)  view(9)  status(wait for best answer)
Random image/sign up code >.<
Hi! Ive noticed several sites using php to do this image to show a sign up code. This sign up code is sent to your email address to make sure it is a working email addreess. THen in the email, there is a link that uses the sign up code to v...
answer(1)  view(800)  status(have the best answer)
Convert innerHTML into valid XHTML
Hi, I have a page that saves formated text into a database. It does it by using a javascript enhaced text area (pretty much as the one on this site where you write your posts). This text area outputs the text format tags (html) in Upp...
answer(6)  view(1,157)  status(have the best answer)
Remember Form Data
OK I got this HUGE form that a user fills out. They hit submit and the Data is POSTED to a PHP page that verifies each field before saving it to a mySQL database. If a problem is found I am using a header to redirect the user back to the...
answer(6)  view(879)  status(wait for best answer)
How to hyperlink indivitual mysql result?
I am new to php that you can understand. I am designing a site. My 1st search page brings out 10 paginated results. I inserted a href link to my 1st search page. So it shows all ID s with hyperlink. Idea is when an user clicks on a particular link...
answer(0)  view(7)  status(wait for best answer)
Insert php code using WYSIWYG editors
Hi is there anyway to offer an option in rich text editor like fckeditor to insert php code? in fact i am using wordpress blog and i want to provide an option in the fckeditor that my writers can use to insert colourful php code like...
answer(18)  view(620)  status(wait for best answer)
Servage SMS API Intergration
Hi there devshed users, please be kind, my first post Ok so i want to intergrate the API for sending SMS messages from servage. I see some people here are on servage so know what I am on about. Basically on the current page I want...
answer(5)  view(461)  status(wait for best answer)
How Enable $http_server_vars[] in PHP
Hi!. In one site of my server, I try to access to the array $http_server_vars[], but I can not have access to it. When I try print the value of the $http_server_vars, nothing happen I think the problem is in the configuration of the...
answer(3)  view(584)  status(wait for best answer)
file pointer position after fgets()?
Hi, This code fails to write "test" to the file: PHP Code: <?php $datafile='sample_text.txt'; $fp=fopen($datafile, "r+") or die("error"); $line=fgets($fp, 1050); fwrite($fp, "t...
answer(2)  view(842)  status(wait for best answer)
How to print using php printer functions for laser printers?
Hi, I have used php printer functions to print a string as below: <?php $handle = printer_open("HP LaserJet 1020"); printer_set_option($handle,PRINTER_MODE,"RAW"); printer_write($handle,"test printing"); p...
answer(0)  view(11)  status(wait for best answer)
How to print using printer functions for laser printers?
Hi, I have used php printer functions to print a string as below: <?php $handle = printer_open("HP LaserJet 1020"); printer_set_option($handle,PRINTER_MODE,"RAW"); printer_write($handle,"test printing"); p...
answer(0)  view(14)  status(wait for best answer)
Mysql_insert_id() equivalent for Oracle
Now, I know that Oracle doesn't support this kind of thing because it doesn't natively support autonumbers. But, what is the "proper" way to get the last inserted ID when working with an Oracle database? BTW - I'm using ADOdb a...
answer(4)  view(839)  status(wait for best answer)
URGENT: how extract certain data from SOAP response?
Hi! I'm trying to get the weather data for certain cities using the web service at http://www.webservicex.net/globalweather.asmx?WSDL. This is the SOAP response I get. I need help extracting data from the <Temperature> element ONLY...
answer(6)  view(125)  status(wait for best answer)
Question about password encryption in the MySQL Database of my PHP Board
I run a modded Prappl disco that stores the pws in the DB. All the PWs are encrypted using the same encryption method. My question is what encryption method is it. I am going to post the encrypted passwords first and their unencrypted pw...
answer(17)  view(1,006)  status(wait for best answer)
CRUD on php/mysql form
thx in adv.......... i need to edit & delete the data from database ...using unique key.....
answer(0)  view(12)  status(wait for best answer)
How to re sort the result of mysql_fetch_assoc
my query is: <? $query = "select * from BUNCH_DETAILS where TO = '$office'"; $query_r = mysql_query($query); while ($query_row = mysql_fetch_assoc($query_r)) { $track_no = $query_row['TRACK_N0']; $query1 = "select * fro...
answer(0)  view(19)  status(wait for best answer)
Reload php.ini without restarting all win2003
how do i relaod the php.ini to effect changes??
answer(4)  view(642)  status(wait for best answer)
[PHP5] Error with iframe in php
Hi guys, I was trying to set the 'src' attribute of iframe in php using the following codes Code: <?php echo "<script type=\"text/javascript\">document.getElementById('ifrHolder').src=\"te...
answer(4)  view(567)  status(have the best answer)
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2010 by Infoqu. All rights reserved