Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
33% Quality Score
Upvotes Received
4
Posts with Upvotes
4
Upvoting Members
3
Downvotes Received
11
Posts with Downvotes
11
Downvoting Members
3
1 Commented Post
~15.4K People Reached
About Me

I m nOt as INnOcent as I lOOk

Favorite Tags
Member Avatar for aaloo

I am building a chat application based on websocket protocol.I am uploading this on an apache server and i am getting this error : "Warning: socket_bind() [function.socket-bind]: unable to bind address [98]: Address already in use" I am using port no. 12346. When i checked this port's status i got …

Member Avatar for dorco
0
984
Member Avatar for aaloo

this is my javascript code for infinte carausal which is working fine but it is not taking more than 36 entries . <script type="text/javascript"> $.fn.infiniteCarousel = function () { function repeat(str, num) { return new Array( num + 1 ).join( str ); } return this.each(function () { var $wrapper = …

0
94
Member Avatar for aaloo

i m working on a linux server and my part of the code is this- $post = mysql_real_escape_string($_POST['post']); echo $post; but my $post variable is not getting printed. and when i print $post variable without using mysql_real_escape_string function ,it is working. i.e. echo $post; its a weird problem . can …

Member Avatar for broj1
0
121
Member Avatar for aaloo

this is my javascript for validation of a form .It works perfectly <script type="text/javascript"> function validateForm() { var x=document.forms["contacts-form"]["email"].value; var atpos=x.indexOf("@"); var dotpos=x.lastIndexOf("."); if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length) { alert("Not a valid e-mail address"); return false; } var x=document.forms["contacts-form"]["name"].value; if (x==null || x==""||x=="Name:") { alert("First name must be filled …

Member Avatar for diafol
0
1K
Member Avatar for aaloo

this is my javascript for validation of a form .It works perfectly <script type="text/javascript"> function validateForm() { var x=document.forms["contacts-form"]["email"].value; var atpos=x.indexOf("@"); var dotpos=x.lastIndexOf("."); if (atpos<1 || dotpos<atpos+2 || dotpos+2>=x.length) { alert("Not a valid e-mail address"); return false; } var x=document.forms["contacts-form"]["name"].value; if (x==null || x==""||x=="Name:") { alert("First name must be filled …

Member Avatar for aaloo
0
182
Member Avatar for aaloo

i am inserting two pragraphs from an input text field and saving it in a *$post* variable i.e. **Almost all search engines give results in the form of links to web pages which they have indexed. These results depend on the keywords written on the search bar . For example …

Member Avatar for diafol
0
110
Member Avatar for aaloo

this is a part of my as2 code [AS]var total_pages:Number = myData.total_pages; var nextlink:Number = myData.next; next_.onRelease = function() { if(nextlink<=total_pages) { trace(total_pages); trace(nextlink); submitDataToTextfile1(nextlink); }[/AS] this is what i m sending from my php code [PHP] echo "&total_pages=$total_pages&"; echo "&next=$l&";[/PHP] here $total_pages=29 and $l=3 my problem is when i …

Member Avatar for jkthomas
-1
127
Member Avatar for aaloo

i have two tables [ICODE] Articles id bigint 20 unsigned pk autoinc date_modified datetime name varchar title varchar content text Tags id bigint 20 unsigned pk autoinc name varchar [/ICODE] and i want to create this third table from above two tables [ICODE] Articles_Tags article_id bigint 20 unsigned tag_id bigint …

Member Avatar for mlesniak
0
139
Member Avatar for aaloo

i m making a blog using my own code .. i m not using wordpress or any sort of thing .. i m doing it manually. i want to show related posts section which would contain at least 4 links of another posts which are related to that particular post. …

Member Avatar for diafol
0
3K
Member Avatar for aaloo

Well, i am making a blog in which i have to show images and links in my every post.So i have to use <a> & <img> tags in my post. but I m also using htmlentities function for "post" string variable ( like this -- <?php echo htmlentities($post); ?> ) …

Member Avatar for diafol
0
454
Member Avatar for aaloo

this is my code in which i am getting $_POST['name'] from a html form.i am using mysql_real_escape_string function that should escape characters like these [ICODE]\x00 \n \r \ ' " \x1a[/ICODE] but when i enter these special characters in the form .it is going in the database. it should be …

Member Avatar for pritaeas
0
188
Member Avatar for aaloo

this is a part of my code and i m getting this error somewhere in this part[ICODE] Parse error: syntax error, unexpected T_ECHO[/ICODE] [CODE] $data = mysql_query("SELECT * FROM $title") or die(mysql_error()); while($info = mysql_fetch_array( $data )) { ?> <div id="username"><? php echo $info['name'] ?></div> <div id="statement"> <? php echo …

Member Avatar for aaloo
0
3K
Member Avatar for aaloo

this is my html code in which i want to get info from the server and insert it into the list items and show it in the browser, using loop .so i am using php but this code is not working for me . please somebody help me !!!!!!!!![CODE]<body> <div …

Member Avatar for aaloo
0
166
Member Avatar for aaloo

i am getting confused that which one can be implemented >sending data out from flash to php via xml or >sending data out from flash to xml via php i know we can load data directly from xml to flash but i dont know how to send data from flash …

Member Avatar for sufyan2011
0
122
Member Avatar for aaloo

this is my xml file [ICODE]<myxml> <a> I can load XML like the wind! </a> <b> I can load XML like the storm! </b> </myxml>[/ICODE] i want to trace "I can load XML like the wind!" in flash movie.for this i am using this syntax that is not working .somebody …

Member Avatar for sufyan2011
-1
91
Member Avatar for aaloo

this is my php code [CODE]<?php $i=0; echo "t$i=pp&"; ?>[/CODE] and this is my as2 code [CODE] myData = new LoadVars() myData.load("http://localhost/exercise/0.php") myData.onLoad = function(succes){ if(succes){ a.text=myData.t$i; //this is not working } else trace ("Error loading data") } [/CODE] as you can see i want to send variable"t$i" from php …

Member Avatar for sufyan2011
-1
117
Member Avatar for aaloo

this is my as2 code , i m trying to get variable t outside the onload function but failed , somebody help me !!! [CODE]$i=0; myData = new LoadVars() myData.load("http://localhost/exercise/"+$i+".php") myData.onLoad = function(succes) { if(succes){ var t:Number =myData.total_pages; a.text=myData.t1 b.text=myData.t2 c.text=myData.t0 tp.text=t } else trace ("Error loading data") } next_.onRelease …

0
106
Member Avatar for aaloo

i am getting this error Notice: Undefined index: firstName in C:\xampp\htdocs\flasblog\test.php on line 3 Notice: Undefined index: lastName in C:\xampp\htdocs\flasblog\test.php on line 3 here is my php code [code] <?php include_once"scripts/connect.php"; ?> <?php $text=$_POST['firstName']." ".$_POST['lastName']; $to="anubhavjhalani09@gmail.com"; $subject="Message from php"; //data insert into database $sql="INSERT INTO entries (contents) VALUES ('$text')"; echo …

Member Avatar for Biiim
0
3K
Member Avatar for aaloo

i want to know that how to make a dynamic website in flash which can send and receive data from server.i want to make a blog in flash.so what languages are needed to implement this ?

Member Avatar for aaloo
-1
131
Member Avatar for aaloo

this is my as3 code which is sending variables to php [code] var myData:URLVariables = new URLVariables(); myData.firstName = "Kirill"; myData.lastName = "Poletaev"; var myRequest:URLRequest = new URLRequest("test.php"); myRequest.data = myData; myRequest.method = URLRequestMethod.POST; var loader:URLLoader = new URLLoader(); loader.dataFormat = URLLoaderDataFormat.VARIABLES; try { loader.load(myRequest); } catch (error:Error) { trace('Error: …

Member Avatar for aaloo
1
978
Member Avatar for aaloo

this is my as3 code which is making an xml file [code] var submitListener:Object = new Object(); submitListener.click = function() { var login_xml:XML = new XML("<login password=\""+username_txt.text+"\" username=\""+password_txt.text+"\"> password_txt.text </login>"); login_xml.xmlDecl = "<?xml version=\"1.0\" ?>"; packet_txt.text = login_xml; }; submit_btn.addEventListener("click", submitListener); [/code] i want to insert password as node value …

0
87
Member Avatar for aaloo

i want to create a blog in flash .can anyone suggest me a website with gud tutorials related to it or is there any open source software to create such kind of blog??

Member Avatar for adrianabrand
0
223
Member Avatar for aaloo

this is my code [code] <?php $subject = $_POST['senderName']; $message = $_POST['senderMsg']; echo $subject; ?> [/code] and i m getting this error Notice: Undefined index: senderName in C:\xampp\htdocs\flasblog\mail.php on line 3 Notice: Undefined index: senderMsg in C:\xampp\htdocs\flasblog\mail.php on line 4

Member Avatar for makman99
-1
154
Member Avatar for aaloo

i have this code in a page called process.php to create a page dynamically. [CODE]$_SESSION['z']=$post; $string = '<?php $p='.$_SESSION['z'].'; ?> '; $fp = fopen("$post.php", "w"); fwrite($fp, $string); fclose($fp); [/CODE] if $post=big then it creates a page big.php with this code [CODE] <?php $p=big; ?> [/CODE] but i want to write …

Member Avatar for aaloo
0
139
Member Avatar for aaloo

2day i hve another problem ..this is my code [CODE]<?php $data = mysql_query("SELECT * FROM entries ORDER BY id DESC LIMIT $x , 3") or die(mysql_error()); while($info = mysql_fetch_array( $data )) { echo" <div id=\"containing\">s <h1>".$info['contents']."</h1> <div id=\"parent\" > <p >".$info['author'] ."</p> </div> </div> <?php echo "<a href=\"$info['contents'].php\" >READ MORE</a>"; …

Member Avatar for aaloo
-1
320
Member Avatar for aaloo

plz somebody help with this code . i m fed up now [CODE]<?php $x=5; echo $x; session_start(); $_SESSION['y']=$x; $string = '<?php session_start(); $x=$_SESSION['y']; echo $x;?> '; $fp = fopen("6.php", "w"); fwrite($fp, $string); fclose($fp); ?>[/CODE]

Member Avatar for aaloo
0
261