473,800 Members | 3,029 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
1,189
Nert
thread by: Nert | last post Jan 25 '08 by: Atli
Hello guys, I've created a private website for submitting employees reports online, now everytime an employee will submit his/her report i am sending an email alert through PHP script to remind the report receiver that he/she has receive new reports from his/her employees. Now my problem is that when the email address is from yahoo.com the...
1
1,992
thread by: ksn2007 | last post Jan 25 '08 by: code green
Hi All, I have to run a shell script from my php script and while shell script is running I have to do some other tasks in my php script.To run the shell script I am using exec("sh myscript.sh &"); The Next line in my php script got executed after the shell script completes its execution. I want the next line of my script...
16
7,880
thread by: Jeigh | last post Jan 25 '08 by: Atli
Hello, I've been testing my site and have ran into a problem, I have a page in which members can make a portfolio, giving other members the ability to rate it, recommend it, favourite it etc. All my pages the pages have the same structure, all include the same files such as session.php etc. The session works fine until they submit a form,...
1
1,070
thread by: maheswaran | last post Jan 25 '08 by: harshmaul
Hi guys, I have a big deal to all php guys. May be it is to prove our talents. I need a dreamweaver functionality in my webpage. That means user can create a design in website. Too clearlly, If user want to a new page in website that through website not in local. He can do the design in any php or html or any source like dreamwaver...
1
1,074
thread by: phearintuy | last post Jan 25 '08 by: zabsmarty
Dear thescript I'm PHEARIN I would like to ask about my problem that i met I use write search student information i have one textbox name "student_phone" but i have session for student phone $_SESSION. and i use Mysql is the datastore, when i search i click on buttion submit SEARCH, in the recorde of student phone like 016458503 or 016 458...
1
2,784
thread by: sidavis21 | last post Jan 25 '08 by: harshmaul
Hi, bit baffled with this but very newbie with php. I have an html form that works fine with the cgi script that our institution has provided for me to work with. What I would like however is the recipent of the form to be set by the users selection from a drop down list (if they choose "A" it goes to Mr. Brown, if they choose "B" it goes to...
5
1,308
thread by: myshona | last post Jan 25 '08 by: zabsmarty
Hi All, I wanted to know which is the best server to execute php script?.I mean what are the advantages and disadvantages of using different web servers like IIS,Apache. Regards, Raj
1
1,433
thread by: myshona | last post Jan 25 '08 by: zabsmarty
Hi Everybody, I am getting the error : Fatal error: Call to undefined function xslt_create().I am using php 5 and Apache 2.2 server.Please let me know how to solve this. Regards, Raj
4
1,257
thread by: TechnoAtif | last post Jan 25 '08 by: zabsmarty
Hi all..I am coding a form in the process come across various irritating problems..due to which i'm hung..i cant go ahead..plz help anyone. the different problems i'll discuss in different posts..so kindly have a look at them..and if possible plz help. 1)first is the checkbox problem..i want to check the multiple checkboxes at a time and...
4
2,194
thread by: Dave | last post Jan 25 '08 by: David Quinton
Hi, I'm after some advice. Basically, I maintain a website that uses a lot of php with a MySQL database. I'd like to add the ability of visitors to pay for a service online using a credit card. What is the best way of doing this?. I've looked at Paypal mechanisms but unless I am mistaken, it's difficult to integrate this in a way that...
2
2,044
thread by: Gilles Ganault | last post Jan 25 '08 by: Gilles Ganault
Hello I need to write PHP scripts on an AstLinux distribution. Even though I added the "-q" switch on the shebbang line, PHP still outputs some HTML: ========== # cat test.php #!/usr/bin/php -q
2
1,924
thread by: foss | last post Jan 25 '08 by: foss
Hi all, My scenario goes like this: We have two Mysql Databases in different servers. The communication between these database servers is via low bandwidth internet (Again the internet may go down for some hours or some days). Both databases are having the same structure. We are not concerned to synchronize the database structure but we...
1
1,539
thread by: Sudhakar | last post Jan 25 '08 by: Jerry Stuckle
presently i have a table in which there are records and the fields are slno (this is a primary key auto increment), firstname, lastname, email, date(which inserts as a date format) these records are presenty being inserting from a html form. this works fine. i have additional data that is on paper and this paper data needs to be added to...
3
1,110
thread by: sake | last post Jan 25 '08 by: sake
Hey Everyone, Just wondering how I would restrict the amount of digits displayed when printing decimal floating point numbers. Not so it wouldnt calculate that many digits, just so it wouldnt display all of them.Hope that makes sense... Thanks in advance, Sake
2
1,183
thread by: Amzul | last post Jan 25 '08 by: Amzul
hello all, i made a function that supposed to feed dual array my problam is that the varibal is visibale inside the function but when it return it dies with it. :( thats what i want the function to return function sort($n,$mytimestemp,$mytoatl){ $ts=$mytimestemp; $total=$mytotal;
2
292
thread by: Shelly | last post Jan 24 '08 by: Rik Wasmus
I found that in PHP5 the following does not work: $a = "Foo"; $b = $a::getStaticMethod(); I've tried {$a}::getStaticMethod(); and a few other things. Looking in the manual, Example 2 is just this. However, a user posted on Jan, 4 that this doesn't work (just as I found out today). Is this a bug? Does anyone have a work-around? (I...
2
2,585
thread by: Eric West | last post Jan 24 '08 by: Eric West
Hello all- When I attempt to configure php with the recode library I get the following error: configure: error: recode extension can not be configured together with: mysql Here's my configuration options: =================
1
7,938
thread by: cabbiepete | last post Jan 24 '08 by: Markus
In the thread http://www.thescripts.com/forum/thread11792.html this question was posed and while an answer was posted it wasn't explained at all why that worked. I thought I would post the answer in detail to help anyone else that searches for this. Read the original question and answer to get the context but I will cut to the reason. The...
11
3,942
thread by: Jankie | last post Jan 24 '08 by: MrGamma
Good morning everyone I wonder if anyone encountered this situation before. I have a 2 pages form inside a folder.The second one processes and echoes any errors to page1(thru a redirect).Session data is passed to and fro without using a session id. All is working fine so far Now I moved page2 (the processing script) to another folder...
1
13,671
thread by: imrannawabkhan | last post Jan 24 '08 by: Markus
I was working on project page where I required to get the row data from mySql db in side the table cells. I knew how to use the php script to get the row data into the table cells like. Id | Name | Exame | Nos 1 | Nasir | Maths | 25 2 | Abdulla | Maths | 50...
1
2,902
thread by: sandeepsolanki82 | last post Jan 24 '08 by: Markus
Hi All! I want to convert English to Hindi using PHP. Can anybody provide me the PHP code or component for this conversion? Thanks in advance With regards Sandeep Solanki
3
2,077
thread by: ibizara | last post Jan 24 '08 by: ibizara
@$email = addslashes($_POST); if (! ereg('^+(+)*@(+(+))+$', $email)) { include_once("error.inc"); die(); } --- I need to add a if contains the below then include_once("error.inc");
0
1,917
thread by: jessienjr | last post Jan 24 '08 by: jessienjr
I am trying to enable ldap for PHP on Windows Server 2003 SP 1 I am running PHP5.2.5 I am running Apache 2.2 I have copied and put all of the following files in the extensions directory "ext" or C:\PHP\ext Files I have copied into ext and windows system32 directory: php_ldap.dll php_openssl.dll
0
1,236
thread by: adilzcool | last post Jan 24 '08 by: adilzcool
Hi All , I am New to this Form i am working on project to consume Java Webservice from PHP (front end). So i need to display an image sent from JWS (WSDL) mode in PHP. I have used diff methods in JWS to send the image viz as BLOB type or byte type. But unable to display it in PHP. It need to be decoded back to display which i am unable...
40
1,964
thread by: Summercool | last post Jan 24 '08 by: Summercool
I wonder in PHP, can you have a function like print_debug($foo); and it will print out: $foo is: 3 that is, it will print out, most importantly, the variable name, as

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.