Search found 27 matches
- Thu Aug 05, 2010 11:33 am
- Forum: PHP - Code
- Topic: PHP script to parse XML and insert into MYSQL
- Replies: 1
- Views: 125
Re: PHP script to parse XML and insert into MYSQL
Please use php simple xml dom. If you will post your code here, this will help us.
- Thu Aug 05, 2010 11:32 am
- Forum: PHP - Code
- Topic: Any scripts to convert perl to php?
- Replies: 1
- Views: 74
Re: Any scripts to convert perl to php?
No, there may not be any such scripts to convert perl/cgi to php.
- Mon Aug 02, 2010 9:36 am
- Forum: PHP - Code
- Topic: Image Box
- Replies: 1
- Views: 165
Re: Image Box
If you will make a design/look of the projects, where to click to see the photo it will make it more clear.
- Mon Aug 02, 2010 9:35 am
- Forum: PHP - Code
- Topic: Submit new values
- Replies: 2
- Views: 223
Re: Submit new values
If you are able to see the $_POST variables records being submitted. There should not be any further issues to insert the records into the database.
- Fri Jul 23, 2010 12:18 pm
- Forum: PHP - Code
- Topic: How to find words from .txt file using specific pattern
- Replies: 2
- Views: 47
Re: How to find words from .txt file using specific pattern
If you will search net and read on regular expressions, you may be able to do these tasks with the help of what is already mentioned in this forum.
- Fri Jul 23, 2010 12:17 pm
- Forum: PHP - Code
- Topic: Login Code
- Replies: 7
- Views: 167
Re: Login Code
Please try with these two lines of code
Code: Select all
<?php
mysql_connect($host, $username, $password)or die("cannot connect");
mysql_select_db($db_name)or die("cannot select DB");
?>- Mon Jun 14, 2010 7:28 am
- Forum: PHP - Code
- Topic: How to update the list of blogs asynchronously in RSS FEED??
- Replies: 3
- Views: 214
Re: How to update the list of blogs asynchronously in RSS FE
Yes : you may use jquery along with the set interval and see if it works, You can write setInterval(funname(),100) on <script src="jquery.js"></script> <script> $(document).ready(function(){ setInterval(funname(),100) }); function funname(){ // do refresh part here } </script>
- Wed Jun 02, 2010 9:39 am
- Forum: PHP - Code
- Topic: trouble with encoding emails
- Replies: 3
- Views: 634
Re: trouble with encoding emails
You may use this function it works fine <?php function SendMail($emailaddress,$from,$fromaddress,$emailsubject="",$body="", $html = true,$attachment="",$encoding="utf-8"){ if (strtoupper(substr(PHP_OS,0,3)=='WIN')) { $eol=""; } elseif (strtoupper(sub...
- Wed Jun 02, 2010 9:37 am
- Forum: PHP - Code
- Topic: Empty form showing a file was uploaded
- Replies: 6
- Views: 405
Re: Empty form showing a file was uploaded
In addtion to the count you may check if $_FILES['userfile']['name']!='' like this to help on this
- Fri May 28, 2010 10:48 am
- Forum: PHP - Code
- Topic: Session issues
- Replies: 5
- Views: 1090
Re: Session issues
I have tested it, it works well. My variable is dataArray ( [variable] => data ) Just copy these two files text in new files, and please see if it works. number1.php <?php // starting the session session_start(); // setting up variable in the session $_SESSION['variable']="data"; ?> number...
- Thu May 20, 2010 9:23 am
- Forum: PHP - Code
- Topic: Session_Start issue
- Replies: 4
- Views: 280
Re: Session_Start issue
Please see
1. No print before the session_start() call.
2. There is no space char/empty line without any contents in the php page, just focus on the line numbers on your editor, you will be able to notice it.
1. No print before the session_start() call.
2. There is no space char/empty line without any contents in the php page, just focus on the line numbers on your editor, you will be able to notice it.
- Wed May 19, 2010 9:19 am
- Forum: HTML, CSS and other UI Design Technologies
- Topic: CSS Div send vars to PHP function
- Replies: 1
- Views: 1133
Re: CSS Div send vars to PHP function
Add the ID to the HTML element, which need to clicked to get the popup. Use jQuery (http://api.jquery.com/event.target/) to get the clicked ID from the HTML element and store it in a variable. then pass the value to PHP function and get the desired output.
- Tue May 11, 2010 11:35 am
- Forum: PHP - Code
- Topic: html parser
- Replies: 1
- Views: 141
Re: html parser
In between foreach loop you need to search the word1 to match.The existing library you have is a good one.
- Fri Apr 30, 2010 10:04 am
- Forum: PHP - Code
- Topic: Problem calling Java from PHP script
- Replies: 1
- Views: 82
Re: Problem calling Java from PHP script
You should keep it in a place where all other php scripts works. May be you will think to read more on using java in PHP.
- Fri Apr 30, 2010 10:04 am
- Forum: PHP - Code
- Topic: Problem while rotating an image in PHP
- Replies: 4
- Views: 162
Re: Problem while rotating an image in PHP
Although already answered. This page has some image rotating functions(http://php.net/manual/en/function.imagerotate.php)