39,319 Topics
| |
| Need help with the following to put a website back online. Im not the most experienced PHP programmer so yuor help is appreciated. The error: Parse error: syntax error, unexpected T_STRING in /home/stacklab/public_html/includes/content/homepage_content.php on line 5 The Syntax: <?php define("HOMEPAGE_CONTENT",'<div align="justify" class="homepageContent"><p><h1> Buy Legal Steroids & Bodybuilding Supplements Online - … |
how can i access my root folder as subdomain with .htaccess...!! i.e mydomain.com/folder to folder.mydomain.com without manually creating it as subdomain in cpanel | |
I have a php script which validates some form information submitted by the user. This information is then stored in my database. I use a do...while to ensure that duplicate email address are not submitted to the database. The script worked fine the first time I ran it, it entered … | |
Hi Friends any body use socialnetowrk API to integrate website to get the content of the user for sending invitation from my social networks and gmail,yahoo,hotmail mailing server . Thanks <FAKE SIGNATURE> | |
I tripped on this one. I have an HTML form that has all kinds of input elements - text, textarea, radio buttons and checkboxes. I have no problem inserting or updating data in MySQL DB from the HTML form. But when I want to display what is already in the … | |
Hello! I'm trying to extract a php table to an excel file. There's only ONE bit of problem. My table has alternating colors for each row and, lets say once extracted my cells range from A1:G20 in Excel, but instead of just coloring A:G, the row colors went all the … | |
Hi, Currently i have 3 Tables - A, B and C. All 3 tables have their unique IDs (which are auto increment) and Table B and C are a foreign keys to Table A. says: Table A = A_id, A_fname, B_id, C_id Table B = B_id, B_add, B_pcode Table C … | |
That I can get the street name from a post code in PHP? For example, someone enters their post code and it comes up with the street name rather than them having to type the whole thing out? Please help | |
Just so you know, I'm a PHP beginner, so I won't understand complicated stuff or anything of the like. xP I've started to make a part of my website (may I link to it, or should I just post the code) and I'm pretty happy with it. A user can … | |
I have a snippet of code, thus: [CODE]$match |= in_array($type, $types);[/CODE] but I am unfamiliar with the |= expression and have been unable to find it in the PHP manuals. | |
I have an issue. My form/submitform, isn't breaking/spacing, the information its emailing me.. I've tried everything I can, and for some reason, its still not doing it, anyone have a solution? I've been researching for 3 days trying to find answers, I've tried the answers shown online, and none have … | |
Can someone help me store a string that has an apostrophe within it? I thought that using [B]mysql_real_escape_string[/B] was supposed to add a slash when retrieving, but remove the slash before storing. Here is a portion of my code and then also the result of the data after it is … | |
I made star voting script and i was wondering how to display average result? | |
Hi there. Im pretty new to PHP and have made a terrible mistake, Im getting this message Parse error: syntax error, unexpected T_STRING ......functions.php on line 2 the site workd fine but failed once Ive tried to add a sidebar, Ive tried to replace the function.php code Ive just eddited … | |
hi, i am doing mailing concept in php. In this admin side admin send mails to users with attached files. but i wrote normal code for email without attachments. how to write code for attachfiles. | |
hi, i want to implement paging concept in php with mysql.i tried lot of code.....the page next,prev links at the bottom which is used to move to and fro is not working please do give a code for paging........ | |
hi, i heared at some where.....using .js files in our script webpage disturbs a lot....i mean webpage loads slowly...is it write or wrong? | |
Is there anyway so that i can make my dll and put my functions in dll and then access them so it protects my function source code. | |
hi, my problem is, that i want to access my root folder as subdomain using php or htaccess..........!! i.e if i have a folder like => [url]http://www.mydomain.com/folder[/url] should be automatically changed to => [url]http://folder.mydomain.com[/url] i have cpanel hosting accounting not reseller.........!! | |
[CODE] <?php ob_start(); extract($_REQUEST); extract($_POST); session_start(); $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } $db=mysql_select_db('murali',$con); $message = ''; $error = array(); $select=mysql_query("select * from registration where username='$_REQUEST[username]'"); $taken_usernames=mysql_fetch_array($select); // main submit logic if (@$_REQUEST['action'] == 'register') { $resp = check_username($_REQUEST['username']); if ($resp['ok']) { $message = … | |
I have created a website using dreamweaver. I am very new to all of this and have kind of been learning along the way. At any rate, I CANNOT get the booking request form to submit the gathered info to my email. I do not like the mailto: option because … | |
| i have installed joomla 1.5 on my local server now want to embed vurtue mart with that joomla so can anybody guide me how to do this as i have downloaded files from vurtuemart.net but instructions are not up to date that make me explain any help would be appreciable. … |
Hello, I've looked on google for information about storing multiple pieces of information in one database column, but I can't find anything helpful. If I want to have some sort of etc. inventory, and there is more than one 'item', how would I store multiple items inside the database? Thanks | |
Hi, I am trying to create a script that checks that the posted values from a form exist in an array. This is simple if the user has to fill out all the fields, but they don't so I need to check the $_POST array to see which variables exist, … | |
RewriteEngine on RewriteRule ^([^/\.]+)/?$ index.php?j=$1 [L] This makes index.php?j=sample look like [url]http://www.domain.com/sample[/url] Now, i want to except [url]http://www.domain.com/account[/url] from the rewrite rule. How can I proceed? Thanks a lot! | |
Please need some help about uploading photos and determine its image size | |
I am in the process of learning PHP with JS and Ajax and have the foll. problems. I have created a class to generate master data entry screens. (1) Javascript code that works when I run master.class.php independently does not work when I run users.php. I came across this problem … | |
Hi, I am reading in a bunch of files to upload but they are in an array: [CODE]<input id="tab1file0" class="tab1Files files" type="file" name="tab1file[]" /> <input id="tab1file1" class="tab1Files files" type="file" name="tab1file[]" />[/CODE] To upload the files I call a function uploadFile() which looks like this: [CODE]function uploadFile($thefile) { $base_path = "files/"; … | |
Hey; I have 6 months of work done in PHP and I really don't want to re-invent the wheel but I want to use some Ruby in my site. Is it possible to "mix languages" like PHP and ruby or will I run into some major problems? I would really … | |
Hi guys, I am trying to add an instant messaging system to my website so that logged in member can chat one-on-one with other member on his/her contact list. I am aware that there are many of such free scripts that I can use but I would rather learn to … |
The End.