473,800 Members | 2,418 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.
1
1,594
thread by: A Selene | last post Nov 7 '07 by: Jerry Stuckle
Environment is SBS2003 SP2, Exchange 2003 SP2. Migrated Web Sites from backup of blown server. PHP was installed on the new server from downloaded source. ApplicationPool crashes and goes offline owing to DLL load failures involving PHP5ISAPI.DLL and PHP5TS.DLL (sure hope I've remembered these names correctly). We've looked at...
5
1,555
thread by: theGerm | last post Nov 7 '07 by: Jerry Stuckle
I am trying to get a script to modify a file on my linux system. The file is located in /etc/squid 6997741 12 -rw-r--r-- 1 root root 8458 Mar 29 08:05 sites I found a script that will open the file in a text field and I can add a new entry at the bottom. However when I try to write the file I get a error. To test I did a chmod...
3
1,664
thread by: steeve_dun | last post Nov 7 '07 by: Rik Wasmus
Hi, What I want is to check for empty values for field 2 and put a result a function instead. eg : function func1($val){ return $val.'bis'; } $query = "UPDATE vals SET val2 = '".func1(`val1`)."' WHERE `val2` IS
7
3,632
thread by: help4me | last post Nov 7 '07 by: help4me
Hope someone can help me out with this. I'm having trouble getting my radio button values into a MySQL database. And after I do get them inserted I'm going to want to be able to show them back in the form again (if the respondent didn't finish the whole form the first time). My text and textarea fields are inserting just fine and I'm able to...
1
2,636
thread by: sumanvenkata | last post Nov 7 '07 by: ManWithNoName
1. When i want to add a link in content window for php .. i am facing problem with the path settings... I am getting my link like http://localhost//wwww.mnc.com... THe main problem is i need to get like wwww.mnc.com Can any one give relay for this question, this is very urgent.. 2. When i am adding a link in to selection selection...
2
1,228
thread by: Dorland | last post Nov 7 '07 by: Dorland
Well, I'm almost completely new to php, but have a project, where I'm adding articles to a sql database. The articles come from a html form, and are added to the db with php. Wasn't sure which forum I should go to. In my code, if get a list of subjects separated by ";", I then make that string into an array with explode, and try to add a row to...
1
2,621
thread by: Joel Fireman | last post Nov 7 '07 by: Brendan Gillatt
Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4 I've been testing Joomla as a content manager for the County offices, and it looks pretty good. Unfortunately, I decided to upgrade it from the 1.0.13 version to 1.5 as we get ready to go live with the web site... and the update installation gives an error in XML processing,...
10
1,642
thread by: DavidPr | last post Nov 7 '07 by: DavidPr
If the query returns nothing based on the criteria, then say - "Be the first to comment on this recipe!" If the query does return something based on the criteria, then show the results. Sounds simple enough, but I don't think if ever been able to get one of these to work. <strong>Comments:</strong><br><br> <table width="95%"...
6
2,455
thread by: farukcse | last post Nov 7 '07 by: farukcse
Dear sir, i want to print a php file using printer. i need to convert this .php file in acrobat reader. so how can i convert this? this php file is encoded in utf8 format because it has arabic and english texts. Regards, Faruk Chowdhury
5
7,812
thread by: cappieins | last post Nov 7 '07 by: Steve
Hi, i've got a problem using PHP FPDF library to create PDF files send inline to a browser window. The created PDF file opens correctly in the browser (IE 6), but if I want to save it to my local disk, there is not automatically the filename used I passed
5
2,015
thread by: hotrod57 | last post Nov 7 '07 by: ak1dnar
I have this php function that reads a text file for input to create a form. I am trying to get the form to print out the data on a separate page, but all I get is a blank page. Am I calling the page correctly, or is this even possible to do? <form action="phpform.php" method=POST> <?php $field=array(); $type=array(); $lines =...
8
3,306
thread by: Can2002 | last post Nov 7 '07 by: Can2002
I've been trying to put together an application to change channel on a media streaming server. The server is able to issue IR commands to its attached equipment using LIRC, with commands being issued by a socket connection to TCP/8765. I put together a basic Python app that issued a command, which worked fine. I wanted to create a fairly...
0
1,222
thread by: RYAN RIEHLE | last post Nov 7 '07 by: RYAN RIEHLE
Using Vista and PHP ISAPI and everything is installed and works, except with one account on my computer. If I log in as the local administrator, local php pages work; I also created a new 'standard' (non-admin) account and this works, too. I tried giving the account having problems with administrator rights, and it still doesn't work. ...
1
1,085
thread by: Philluminati | last post Nov 7 '07 by: Philluminati
I'm new to PHP and I'm having problems trying to get this include statement to work. Can anyone help me? This is the error I get: Warning: include() : Failed opening '' for inclusion (include_path='.:/php/includes') in /home/ptaylor/public_html/am_web/ model/classes/customer.php on line 3 This is the contents of the customer.php file:
6
1,489
thread by: Good Man | last post Nov 7 '07 by: Steve
Hi there I'm learnin' myself some OO programming (finally), and was wondering if someone could briefly tell me why when setting up my object... $p = new Person(); .... that the following both print "Bob" to the screen: print $p->name;
12
2,673
thread by: Modern Merlin | last post Nov 7 '07 by: pbmods
Ok please forgive me, as I am really new to the whole PHP programming... What I am attempting to do is on a form page create a drop down list that is populated from information in a database. For example a list of company names, then with this that would populate one more drop down list with the department they belong to if any. Once both...
2
1,775
Lazandra
thread by: Lazandra | last post Nov 7 '07 by: coffear
Hi guys I'm trying to display one database entry randomly. So i have used array_rand(). However i have completely confused myself, and close to hitting my monitor with a tree branch. This is my code srand((float) microtime() * 10000000); $regs = mysql("db220854136","select * from listings"); while ($reg = mysql_fetch_array($regs))
12
1,377
thread by: Austin | last post Nov 7 '07 by: Jerry Stuckle
$lines = file("list.txt"); $l_count = count($lines); for($i = 0; $i < 3; $i++) { $var = $lines; } mysql_query("SELECT name FROM list WHERE name='$var'");
6
1,989
imarkdesigns
thread by: imarkdesigns | last post Nov 7 '07 by: Markus
Good day to all MASTERS!! i have a simple problem here right now, and i think any PHP/MySQL Masters here can help me... anyway, i have 3 tables in 1 Database. category1 , category2 , and category3 . these tables will be viewed in one page. but the problem is, how can i possibly code this? anyone? here is my actual coding before... if...
6
2,562
thread by: otrWalter | last post Nov 7 '07 by: bill
http://dbug.ospinto.com/ Take a look at this and see if this doesn't help you when you just can't see waht's the matter with your data! I spent 2 years on a 'var debug' to help me see what a variable contains and what PHP thought the type was. I pitched mine when I found this one! And... as usual... I had to make a *small* ;) changes...
11
1,536
Markus
thread by: Markus | last post Nov 7 '07 by: code green
As you see in MySQL there is the "LIKE ='%something%'" I was wondering if there was a way to do this within PHP? Thanks :)
10
2,094
thread by: Krustov | last post Nov 7 '07 by: Krustov
$rambo="daffy duck"; $rambo="mad max"; $rambo="daffy duck"; $rambo="superman"; etc etc How do i remove duplicate strings from a array ? . ('daffy duck' could appear more than twice in the array)
1
1,787
thread by: kigoobe | last post Nov 7 '07 by: kigoobe
Well guys, I am storing data in the mysql which when extracted gives this - Array ( => Array ( => 26 => 2007-11-01 => 16:01:00 => 08:00:00
16
4,166
thread by: mtuller | last post Nov 7 '07 by: Michael Fesser
I am creating a page for nomination and want to let the information pass if any field are filled out, but if none are filled out, a message will appear. I can't get the check to happen on multiple fields though. Here is what I have: if ($nominee_first_name !=='' && $nominee_middle_initial !=='' && $nominee_last_name !=='') What happens...
14
2,126
thread by: farhan | last post Nov 7 '07 by: farhan
Hi, Please divert me if this is not the right group to be posting this question. I am a Linux client trying to connect to a mysql windows server via php, upon hitting the mysql_connect line in my php script, it simply stops executing. In other words anything or'ed with it, like echo does not end up in the html source. I'm not entirely...

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.