39,388 Topics
![]() | |
hello ppl :) i use .htaccess for my PHP site to redirect without changing the URL in the adress bar for example: [url]http://www.example.com/news/This.is.a.new[/url] my .htaccess sends from /news/ folder sends the user to [url]http://example.com/news.php?id=142151[/url] ... and i can't send another variable to the [url]http://www.example.com/news/[/url] folder because is redirected to news.php?id... … | |
Hi all, I'm using @copy to copy large files from one server to another and it usually works fine. Occasionally it stops mid way through though and I have to start again. So I wondered if anyone knows of a way php can read my half copied file, compare it … | |
I use dreamweaver, PHP and MYSQL. I need some help and any is appreciated, I have alot of knowledge in html learnt from some college, little in php and none in mysql, I am self teaching php and mysql, so forgive me if the question is too easy. :) Ok … | |
I wanna to know the difference between mysql_fetch_Assoc and mysql_fetch_Array..I am a little bit confused at its usage..Kindly provide with a sample example also...Any help would be appreciated | |
Hey guys, I am looking to encrypt some data into a database, however it will need to be decypt to be read... I know there is the base64 commands but im looking for something a little more secure? Does anyone know of any good solutions? Dan | |
I'm developing a website and I want to change the image of a page when NEXT button is clicked. I retrieve the images from my database and of course I do not want to retrieve repetitive images. This is my NEXT button: [CODE]<input type="submit" value="Next" onclick="synchronousAJAX()" style="position: absolute; left: 1085px; … ![]() | |
Hi I need the code to use Calendar Date Picker in PHP. Can anyone help please? Thank You ![]() | |
This is my xml file [CODE]<CATALOG> <category> <name>Engineering</name> <subject>Civil Works</subject> <subject>Water Supply</subject> <subject>Street Lighting</subject> </category> <category> <name>Public Health</name> <subject>Sanitation</subject> <subject>Dispensaries</subject> <subject>Maternity Services</subject> </category> <category> <name>Town Planing</name> <subject>T.P.S</subject> <subject>T.P.B.O</subject> <subject>Tracer</subject> <subject>Chairmen</subject> </category> <category> <name>Administration</name> <subject>Ministerial Manager</subject> <subject>Revenue R.O.</subject> <subject>Accounts Accountant</subject> </category> </CATALOG>[/CODE] I have to get the all subject names in … | |
someone tell me where am going wrong <?php class myclass { var $config; function getname() { $q=mysql_query("select * from users"); while($row=mysql_fetch_array($q)) { $row[]=$minutes; } return $minutes; } .......................................... hers how i call <?php $name=new myclass; $new->getname(); foreach($new as $news) {echo $news; } | |
Hello, I have a site built with Wordpress and I want to create a form but I'm facing some troubles now. I want to have a form which can get the title of the post where I put the form, and more than one form fields on the same line … | |
hi friends i use a htaccess file on my linux hoting server to change the "upload_max_filesize" and some other settings. but it shows the internal server error 500. how to change this setting on my server, Plz help me:( htaccess file code. php_value upload_max_filesize 50Mb php_value post_max_size 50Mb php_value max_execution_time … | |
Hi, How do I set loginpage. Should I take loginpage.php page individually besides index.php or should I put loginpage in index.php itself? What to do? What's the proper method to go? | |
I have two tables in one form and a button in another form. So the two tables must be displayed first and then the button. But for me the button is displayed between the two tables. Can anyone help me?? This is my code [CODE]<form action="choirEvedit.php5" method="post"> <?php $con = … | |
I want to retain selected value of city drop down list after refresh(any error occour). Need help Javascript code [CODE]<script type="text/javascript"> function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new … | |
I am adding a csv file upload script for my webid auction site. I tested it outside the webid script in a simple test database and it worked fine. I need to make some changes to it. It should catch the user's id and create an auto increment item id. … | |
Hello Every One ! i started to learn CakePHP, i have installed it and working fine, now i need to learn how to run my applications and where i want to save my php files and how to run it?? Normally we run PHP files localhost/folder/index.php or something else, But … | |
hi, I am currently making a website and was wondering how to make it so that when a button is clicked it will update a field in the database by +1. This is sort of a 'like' system for photos so someone can view a photo and then press this … | |
Okay this is my code, i can't get the else statement part to work...can anyone kindly assist me...i find nothing wrong with the syntax...thank u... ps: no error... [CODE]<?php session_start(); $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="testing"; // Table name … | |
I need helping thinking though something. I am pulling dates, Year, Month of that year and an amount. I then want to go to the next year. So, 2010 then 12 rows of the months with amounts, then 2011 then 12 rows of the months printed out with amounts... Ex: … | |
Hi can you advise if this is possible and how please? I have a cmd line program which i want to run "PPP.exe test" i then get a response saying i am in the program, then i need to send further perameters. "set username Bill" - i will get a … ![]() | |
Below is the code which is supposed to redirect to a page once the whole form is filled up, the code works like a charm on my XAMPP server (localhost) , but as i uploaded my pages to my hosting area, the page stops redirecting, all it does is come … | |
Hi.. I am trying to write a k nearest neighbor and BART bayesian additive regression tree algorithm for identifying Spam emails in php Can any1 guide me on how to implement these algorithm ? This is for my thesis..im just learning php.. If some one could give me sample code … | |
Hi, I coded some web applications (blog, message board) all in procedural way, and now I want to start doing all that with planing and clean and extensible code. I now that OOP is the way, I checked MVC system of programming, and everything seems nice. I already know syntacs … | |
I want to retrieve email from database and send message to all the email address. I have written code for that but it is not working. I want someone to help me look at the code below and point out where am making mistakes and the correction. The first page … | |
Hello, How to program browser detection in php ? I would like to detect the browser automatically, then use if browser = ... then ... else if browser = ... then .... endif How to do so ? Thanks. | |
HI, i have designed a website for online discussions using wordpress 3 as the front end and PHPBB3 for the forum part, my trouble is its not sending email alerts when a new comment is posted in the forum although every member is subscribed to forum, and even when here … | |
I came across a problem that I hope you guys can help me with. On register I generate a random salt, hash the password with it and a system salt, and place it in the database. On login I generate a hash from the input password the salt that is … | |
hi anyone please send the php code for display the live currency conversion rate for all over currencies in the world thank you | |
Guys, need some help regarding this issue, i have a php file, which requests an invoice_no(invoice.php), then searches the database and returns the other value associated to it(eg,document_no,PO_no) to another php file(displaydata.php). Now the problem is, i wanna send the invoice_no not only to displaydata.php but to another file test.php. … | |
Parse error: syntax error, unexpected T_STRING in /home/help4kid/public_html/language/lang_english/lang_main.php on line 148 |
The End.