38,020 Topics

Member Avatar for
Member Avatar for jhbalaji

I have installed WP on my root domain([url]www.domain.com[/url]) I create a sub directory in the wp domain itself ([url]www.domain.com/ABP[/url]) whenever i try to access that it gave me the 404 Error page of WP Htaccess contents were [CODE]# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] …

0
72
Member Avatar for 080346

Hello everybody m trying to pass a parameter to my controller.php from javascript but it doesn't passing and give me error of undefined URL kindly help me i shall be thankful to you...Here is my code function JSfunction(assetid) { window.location="controller.php?command=delete&assetid=".assetid; }

Member Avatar for Airshow
0
109
Member Avatar for atfOnly

Hello people :) i'm trying to insert query result into 2 dimensional array i have tried the following way.. [CODE] $query=mysql_query("..."); while($row=mysql_fetch_array($query)){ for($i=0;$i<=$index;$i++){ if(isset($myarray[$i]['array1'])|| isset($myarray[$i]['array2'])){ array_unshift($myarray[$i]['array1'],$row['study_period']); array_unshift($myarray[$i]['array2'],$row['test']); }//endif }//endfor }//endwhile [/CODE] But, it failed i also tried.. [CODE] $query=mysql_query("..."); while($row=mysql_fetch_array($query)){ $myarray=array( array("array1"=>$row['study_period'],"array2"=>$row['test']) ); }//endwhile [/CODE] it failed too since it …

Member Avatar for atfOnly
0
258
Member Avatar for whiteyoh

Hi All, I have a number of arrays stored as a text string in a database (ive included it at the very bottom). As this is a text string i need to know how to convert it back into an array. Also, how can i access a single element, i.e …

Member Avatar for NettSite
0
116
Member Avatar for srinidelite

hello dudes, i want to write a program in php which enable user input??? from the user>>> here is the code but doesn't asking any user input....even i enabled pop up block off>> help me out

Member Avatar for MooGeek
0
71
Member Avatar for srdva59

hi, i have this code: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); // curl_setopt($ch, CURLOPT_HTTPHEADER, $this_header); curl_setopt($ch, CURLOPT_POSTFIELDS,$post); curl_setopt($ch, CURLOPT_USERAGENT, $agent); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_REFERER, $referer); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookies); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookies); $result = curl_exec ($ch); // echo $result; curl_close ($ch); that works fine with a simple post …

Member Avatar for MooGeek
0
143
Member Avatar for apanimesh061

I have Windows Vista (no service pack), due to which FastCGI is not there ! Where else can I run PHP ?? Please help !

Member Avatar for pritaeas
0
38
Member Avatar for geekme
Member Avatar for amanu092

I am working in a joomla project.Suddenly i see a unwanted link as [url removed] is added to some text of some pages. i can not understand and cannot fix the problem. please help me removing the unwanted link.

Member Avatar for jsolutions
0
148
Member Avatar for RazorRamon

Hello all, I'm trying to build a forum site. The code below works fine but I dont know how to catch it from the address bar. I'm having trouble finding tutorials to help me with this. viewtopics.php [CODE] echo "<tr bgcolor='#6698FF' ><td><a href='viewcomments.php?id=".$rows['topic']."'> ".$rows['topic']."</a></td><td>".$rows['username']."</td><td>".$rows['timestamp']."</td></tr>"; [/CODE] Address Bar [CODE] http://localhost/testsite/viewcomments.php?id=Cowboys%20Dancehall [/CODE] …

Member Avatar for RazorRamon
0
287
Member Avatar for abhi10kumar

I create rewritecond for pages without extension, but it is not working.. Here is the complete code of .htaccess: [CODE] Options +FollowSymLinks Options +Indexes RewriteEngine on RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.php\ HTTP/ RewriteRule ^(.*)index\.php$ /$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^/]*)$ /products.php?pname=$1 [L] RewriteRule ^([^./]+)/?$ $1.php [L] [/CODE]

Member Avatar for diafol
0
76
Member Avatar for geekme

I have all the syntactical knowledge of php and I'm currently learning Ajax.I need to work on some project so as to enhance my knowledge and apply what I've learned so far.Knidly suggest as to how can I do that ?Will i need to buy a domain for this? Regards

Member Avatar for diafol
0
165
Member Avatar for krabz01
Member Avatar for Pro2000

Hello everybody. Do you know how to translate URLs in a text automatically?? I mean I want it just like the option below the page of creating a new thread in this website.. That option makes the written URLs in the thread appear as clickable links. Thanks in advance.

Member Avatar for diafol
0
61
Member Avatar for atfOnly

Hello all! :) Do you have any link on some complete reference on multidimensional array in php?? Please tell me.. thanks a lot.

Member Avatar for atfOnly
0
169
Member Avatar for whiteyoh

hi all, Im after a little help here. I have a md array stored as text in mysql. what i need to do is get it out (which ive done), then store it as a real array so i can loop through it to output as a csv file (which …

Member Avatar for whiteyoh
0
99
Member Avatar for aloul84

hi When I try to load a new video this message appears Sometimes this message appears and sometimes does not show [CODE]Fatal error: Uncaught exception 'Zend_Gdata_App_HttpException' with message 'Expected response code 200, got 403 <?xml version='1.0' encoding='UTF-8'?><errors><error><domain>yt:quota</domain><code>too_many_recent_calls</code></error></errors>' in /home/******/public_html/Zend/Gdata/App.php:709 Stack trace: #0 /home/******/public_html/Zend/Gdata.php(221): Zend_Gdata_App->performHttpRequest('GET', 'http://gdata.yo...', Array, NULL, NULL, NULL) #1 …

Member Avatar for aloul84
0
275
Member Avatar for Pro2000

Hello everybody. I've created a PHP page that adds a new record to a table. I want to know what's the ID of that created record in that table. For example: [CODE]mysql_query("insert into tableName(field_A,field_B) values('valueA','valueB')");[/CODE]

Member Avatar for Pro2000
0
87
Member Avatar for Xufyan

Hello, I am damned confused about the versions of PHPs , which version include Object oriented PHP ? and which PHP is better to learn ?? please explain

Member Avatar for MooGeek
0
134
Member Avatar for kurtopia

can someone help me how to transfer files from one server to another server using curl?? please help me, i really need your help

Member Avatar for reygcalantaol
0
177
Member Avatar for Xufyan

i was reading tutorials about php date() function, i wonder how could i write the code that show total number of days of my age till today ? but i am stuck here, [CODE]<form method="POST" action="<?php echo $_SERVER['PHP_SELF'] ?>"> Example: 2010/18/12 </br> <input type=text name="year" value="Year">/ <input type=text name="day" value="Day">/ …

Member Avatar for karthik_ppts
0
87
Member Avatar for rakibtg

hello there, i need a customized free website pagerank checker script. This script may be in php but i need to extracts all data in a .html page. is this types of script available for free or any idea thanks

Member Avatar for karthik_ppts
-1
56
Member Avatar for marinaa

Can anyone suggest me about do loop while loops functionality in php..? Or any tutorial site for online php learning ?

Member Avatar for karthik_ppts
-1
46
Member Avatar for 7kemZmani

I am working on a form that contains multiple checkboxes (each with its own value). The last checkbox is marked "Other" and, when it is checked, a text input should appear to let the user write his/her own value. [CODE]<input name="pVital[]" type="checkbox" id="pVital[]" value="I &amp; O" />I &amp; O<br/> <input …

Member Avatar for IIM
0
121
Member Avatar for RJFoster79

[b]Index.php[/b] [CODE]<?php include ('Secure_Page_Script.php'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Crusade Gaming | Home</title> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <br /> <br /> <table id="Header" border="0"> <tr> <?php include ('template/Sub_Header_1.php'); ?> <?php include ('template/Sub_Header_2.php'); ?> </tr> </table> …

Member Avatar for RJFoster79
0
139
Member Avatar for knitex

I'm working on this project where they can search a list of names and they can put in a death year that automatically searches for + and - 5 years. [CODE] mysql_connect ("localhost", "root","root") or die (mysql_error()); mysql_select_db ("FHSNL"); $surname = $_POST['surname']; $given = $_POST['given']; $maiden = $_POST['maiden']; $deathbefore = …

Member Avatar for diafol
0
112
Member Avatar for ppetree

I'm trying to do a little pre-planning here... Let's say I have a user table that has 25 million users spread across all 50 states. Lets also say I have to send an EMERGENCY email to each of these 25 million users... (asteroid hitting planet type of emergency) What would …

Member Avatar for ppetree
0
117
Member Avatar for shadowscape

Hello, im having problems with the following code and it driving me made trying to find out the source to it not working out that one number is bigger than another when clearly it is, please can you help and make my day :) Example of numbers im comparing... [B]08072011050724 …

Member Avatar for shadowscape
0
96
Member Avatar for abhi10kumar

I want to use query strings into include function, like include('where.php?id=1'); and echo $_REQUEST['id'] in where.php; but gives error. [CODE]Warning: include(where.php?id=1) [function.include]: failed to open stream: No error in C:\xampp\htdocs\3g\include.php on line 2 Warning: include() [function.include]: Failed opening 'where.php?id=1' for inclusion (include_path='.;\xampp\php\PEAR') in C:\xampp\htdocs\3g\include.php on line 2[/CODE] If yes, then …

Member Avatar for almostbob
0
203
Member Avatar for minitauros

Because using the <base> tag is giving me some problems lately, I'm curious about what the best solution is to use together with mod rewrite. I use mod rewrite a lot, and the <base> tag helps me to keep the links to my css files, for example, working. I link …

0
66

The End.