473,788 Members | 2,744 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
1,463
thread by: JamesCX DiPietro | last post Nov 13 '07 by: Steve
I just wanted to apologize again to Mr. Stuckle and Mr. Fesser for my awful and despicable behavior. THey were right all along and I behaved like a total shithead. I'm sorry, and I will never try to bother you again in this ng. Jerry Stuckle and Mike Fesser are both extremely helpful and brilliant individuals who volunteer here to answer...
1
1,354
thread by: 2401 members, members can post | last post Nov 13 '07 by: Captain Paralytic
Hi, Ever suffer from too-much traffic ? Point is, if the traffic increases, then the server is slow. TOP command on a Linux/Unix/Fedora Apache/2.0.50 shows : - 50% of the CPU : for HTTPD process - 20% of the CPU : for Analog Process - 20% of the CPU : for MYSQLD Process
1
18,720
thread by: sksksk | last post Nov 13 '07 by: badar.waqas
I want to achieve the following process in the smarty for $item one i should be able to get the value using loop.index, but without any luck. any help is appreciated. <?php for ($i = 1; $i <= 30; $i++) : ?> <tr> <th><?= $i ?></th>
2
2,838
thread by: whitey | last post Nov 13 '07 by: whitey
Can anybody supply me with a script the does what is in the title above please? I have tried so many different methods! here is what im currently trying to get to work SIGN IN <!doctype html public "-//w3c//dtd html 3.2//en">
1
1,070
thread by: kardon33 | last post Nov 13 '07 by: pbmods
What I need to accomplish is to upload a list of databases to a ftp server every 5 minuets. Or if it is smarter to download the files. One problem i am encountering when just uploading one db is the db does not upload all the way. Heres the code im using, $ftp_server = '10.0.0.158';
7
1,853
thread by: Luca Villa | last post Nov 13 '07 by: Ulf Kadner
I have many html files named like these: c:\dir\femo-black.html c:\dir\loren-white.html c:\dir\spark-white.html c:\dir\kim-black.html c:\dir\paul-white.html How can I convert only the files named "c:\dir\*-white.html" to plaintext files named c:\dir\(original filename)-text.txt?
3
1,830
thread by: 2401 members, members can post | last post Nov 13 '07 by: Gordon Burditt
Dear Madams and Sirs, Ever had to split a website + SQL Tables ? Have a UNIX pc-linux-gnu on i686 + FEDORA 1) We have to split a sub-domain for the main domain name. 2) We have to build a transfer and merge from Tables hosted on Server 1 TO Tables hosted on Server 2.
5
2,021
thread by: MS | last post Nov 12 '07 by: Jerry Stuckle
Hi, I'm doing a table insert and have a question about mysql_affected_rows(). The following code works. It correctly inserts the row and mysql_affected_rows() returns 1 as it should do. $sql = "INSERT INTO member (company, username, password, cookie, session, ip) VALUES ('$company', '$user', '$pass', 'fakecookie', 'fakesession',...
1
1,217
thread by: mtek | last post Nov 12 '07 by: Jerry Stuckle
Hi Everyone, I have a .html file on my server. It is not index.html. I want to redirect that request to .php. A few tings though: I do not have to change the address bar, I do not want them to see the .php address. I tried the .htaccess approach, but it is not working. Here is my entry:
2
1,940
thread by: Sebarry | last post Nov 12 '07 by: Sebarry
Hi, Has anyone used this successfully in PHP to prevent spam mails sent from HTML forms? I've added it to a form of mine and it seems a bit hit and miss. I incorrectly enter the captcha and it correctly says its incorrect. I try again with another incorrect response and it accepts it? Am I doing something wrong or is there a problem with...
2
4,679
thread by: telgy | last post Nov 12 '07 by: pwiegers
Hi, I want to Convert a HTML content to word doc using PHP code. pls help
6
2,935
thread by: richard | last post Nov 12 '07 by: richard
http://littleworldofours.com/1960/table1.html I want to take the calendar table and hide it from the page until a user clicks on a link. Then show only that calendar in a popup window. What's my best approach on this?
2
1,426
thread by: pedalpete | last post Nov 12 '07 by: pedalpete
I've got a php page which is outputing xml to a file. The code has been working without a hitch for weeks when running as localhost, but a few days ago I uploaded it to my ec2 instance, and it doesn't seem to work. the data is stored in $xml_output, and I've added the "echo xml_output" at the bottom of the page to see what the page is...
12
2,673
thread by: ross.oneill | last post Nov 12 '07 by: Steve
Hi, Is there any function in php that will match a word exactly and if it finds it, it returns true. For example if I search for "CA" strVar = "Bob is from Los Angeles CA" - return true strVar "Bob is from Canada" -- returns false
4
1,239
thread by: skyimai | last post Nov 12 '07 by: Steve
Hi guice, I have designed a php search page..When I entered the search term it shows me the follwing error.. Warning: fopen(files/admin.jpg) : failed to open stream: Permission denied in C:\Inetpub\vhosts\iswaryammatrimony.com \httpdocs\search result.php on line 206
2
1,381
realin
thread by: realin | last post Nov 12 '07 by: realin
hi guys, i have a simple question, what is the proper channel through which i can send newsletter to all my subscribers. Suppose i want to send it every fortnight.. so there should be a trigger or event generated which automatically mails to the list or so.. how we do that .. am i suppose to do it through MYSQL or any third party software.....
1
1,881
thread by: bhakti | last post Nov 12 '07 by: Atli
hi all, i have a string for example: $str="The annual general meeting is scheduled on ::date:: at ::time::. you all are requested to be present on ::date:: at ::time::." i store it in the Templates_T table in my DB. Template_ID =1 now this format can be used further for drafting letters or creating newsletters etc.. Now in...
1
1,307
thread by: xxxphp3 | last post Nov 12 '07 by: Lumpy
I have a main Php page with 75% constant contents. I want to change the other 25% depending on what page calls the main page. Example www.example.com/a.html www.example.com/b.html www.example.com/c.html The above pages use an html redirect code www.example/x/y/z/mainpage.php
2
1,143
thread by: Lumpy | last post Nov 12 '07 by: Lumpy
Ok all, I have a question regarding the gd library in php. First, let me say that there is really no reason why I am doing this the way that I am. I was a little bored with doing homework and thought to myself, hey I wonder if I can put a background images into parts of a webpage using css pointing to php files. So I set out to answer the...
2
2,314
thread by: WayneBurrows | last post Nov 12 '07 by: Michael S Bykov
Can I save dynamically created data to a text file on the client's machine? Preferrably in a user named file through a save dialog box. Thanks Wayne
2
2,235
LeoTD
thread by: LeoTD | last post Nov 12 '07 by: LeoTD
Dear all, I have intranet site on Linux server using PHP where only people who have account can log in. My site has a link to another intranet side on IIS using PHP. This site using Web authentication which IIS supported. I want to deploy Single Sign On between them. It means when I login in PHP site, and click...
1
8,574
thread by: jamal8t2 | last post Nov 12 '07 by: ak1dnar
i have inserted blob data in database , but i am not able to access back that data to the browser. i have php script but it does not work proprly. our script is below if ($_REQUEST == 1) { header("Content-type: image/jpeg"); print $bytes; exit (); }
3
4,070
thread by: broersen | last post Nov 12 '07 by: Willem Bogaerts
Hello, Can someone tell how to create a header within a SOAP Message for sending wwith HTTP Client? And how to use x509 certificate with this HTTP Request? <SOAP-ENV:Envelope> <SOAP-ENV:Header> <kai:identificatie> <username> </username
7
2,930
thread by: jamesas | last post Nov 12 '07 by: jamesas
I am wrote the coding for PHP 5 to access tourico holidays webservice. as follows.But it returns the error followed by the code .please help me <?php try{ class authentication_header { private $username; private $password; private $culture;
5
1,271
thread by: otrWalter | last post Nov 12 '07 by: Steve
Note: $code is a single line of code that the previous segment of this method has located. I have this... preg_match('/\bnew wBug\s*\(\s*(.+)\s*\);/i', $code, $arrMatches); $results = $arrMatches; it will find this...

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.