Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~7K People Reached
About Me

Programmer

Interests
Open Source Programming
Favorite Forums
Favorite Tags

27 Posted Topics

Member Avatar for naju
Member Avatar for naju
Member Avatar for yasir.se
0
98
Member Avatar for naju

[B]my file structure as:[/B] index.php signin.php profile/index.php profile/add.php and so on ... [B]my htaccess content as[/B] RewriteRule ^signin$ signin.php [QSA,L] RewriteRule ^(.*)$ rate/index.php?q=$1 [QSA,L] but my 'signin' is also rewritten by the second rule. i tried to stop my first rule with [L] last rule. but it is not working …

0
66
Member Avatar for naju

i got a problem wiht path for userfileupload for fckeditor in cakePHP i used in config.php of fckeditor as $Config['UserFilesPath'] = '/tours/app/webroot/files/images' ; for my localhost with xampp but it is not working for uploading the files with fckeditor it says '/tours/app/webroot/index.php/images' cannot be created. i think its a problem …

Member Avatar for diafol
0
109
Member Avatar for naju

if some users insert data like ";:<script><html>< // >@@#"; then i Sanitize this data to something like &quot;;:&lt;script&gt;&lt;html&gt;&lt; // &gt;@@ before inserting to db when i print this form db to html for inside <p> tag its cool but for inside h1 tag is prints as it is <h1>&quot;;:&lt;script&gt;&lt;html&gt;&lt; // …

Member Avatar for diafol
0
96
Member Avatar for naju

I have to access a tag from an external web. the tag is inside a frame (that frame has no name and id) when i use :window.frames[0].document.body ... is permission denied please help .. i could provide more information if u need .. { actually i am trying to grab …

Member Avatar for R0bb0b
0
81
Member Avatar for naju

I am using Dreamweaver CS3 my keys went wrong .. i dont know why .. my ctrl +z, F4 .. etc are not respnding... and sometimes it shows the message as: "[B]The DynTextField script does not define the findServerBehaviours function.[/B]" I know its not completely PHP issue .. but the …

Member Avatar for peter_budo
0
52
Member Avatar for naju

i download Element. Dimensions.js but when i include it ... got error object doesnot supported.... :( what to do?

Member Avatar for phper
0
96
Member Avatar for naju

i have a function lets say function myfunc() { echo 'hi'; } now the code may call the function [B]myfunc[/B] more than a time but there should be only one time echo of 'hi' pliz help anything could work .... but all my effort in vain static variable ???? global …

Member Avatar for naju
0
75
Member Avatar for naju

i need to embed text with different fonts to an image it will be cool if i could use the .ttf font files for writing text Thanks in Advance

Member Avatar for naju
0
109
Member Avatar for naju

I did all the process as specified in [TEX]http://wiki.script.aculo.us/scriptaculous/show/Ajax.In+Place+Collection+Editor[/TEX] But when i select a value from the combo .... it hangs at "saving..." there is no return .. . i did tried with just putting echoing the value with validity checking even thought there is no return i m using …

Member Avatar for naju
0
104
Member Avatar for naju

i am using scriptaculous.js and prototype.js my ajax is returning following tags (text) [CODE]<p id="tobeedited4">one</p> (should manually select "two")[/CODE] and while calling the ajax it has [CODE] new Ajax.Updater('contact_div_edit',"./doit.php", {asynchronous:true, parameters:poststr,onComplete: showResponse, evalScripts:true}); onComplete: showResponse[/CODE] my showResponse function goes like this [CODE] function showResponse() { new Ajax.InPlaceCollectionEditor( 'tobeedited4', '_ajax_inplaceeditor_result.html', { …

Member Avatar for naju
0
109
Member Avatar for mikki2

how about selecting the random records from the database itself? if its fine then here is your req sql [CODE]$get_pic = "SELECT car_name, LEFT(car_desc, 20), car_image FROM cars ORDER BY RAND()";[/CODE] this will randomize the order of records while fetching

Member Avatar for mikki2
0
208
Member Avatar for naju

the user posts from time input box.. now i need to check is that in time format or not ... how??? if he doesnot input time ... then i have to inset null time in db with time datatype .. how??? pliz help .. thanks in advance

Member Avatar for naju
0
75
Member Avatar for naju

when i insert a image from tinymce, it sets default to 550px X 550px from where can i change these default setting in tinymce ------------------------------------------------------- Sorry guys it might relate to php ... but actually i've problem with tinymce WYISWYG during my php site

0
66
Member Avatar for naju

I have a string in my database as [B]in' out"[/B] now i need to show this in input textbox i did <input value='in' out"'> output only: in also <input value="in' out""> output only: in' out the real output should be in' out" Actually i need to do like this encode …

Member Avatar for naju
0
81
Member Avatar for naju

i need to have null date from php and send to mysql how to make a null date so that i could insert it the database it should be in the format '00-00-0000';

Member Avatar for ryan_vietnow
0
88
Member Avatar for naju

There is a another-site such as : [url]http://his-site.com[/url] there is a form on [url]http://his-site.com/submit_something.do[/url] To access this page we need to go through login from [url]http://his-site.com/login.do[/url] Now i have my site - [url]http://my-site.com/[/url] i do have the login information for his-site i need to auto-login and access the form page …

Member Avatar for naju
0
91
Member Avatar for naju

mime_content_type is not working .. i have in my php.ini as: [mime_magic] mime_magic.debug = On mime_magic.magicfile = "C:\Program Files\xampp\php\extras\magic.mime"

Member Avatar for naju
0
3K
Member Avatar for Morty222

it should be like: do { $_random = rand(1, 1000000); $target_file = $upload_dir . $_random . basename($_FILES['file' . $i]['name']); }while(file_exists($target_file); //now at this point $target_file is unique and u can upload it safely If you need to give the realfile name, one the user has uploaded (making SEO coool) then …

Member Avatar for coffeepot!
0
150
Member Avatar for sagedavis

replace $file with chr(36) . file and pliz make the inverted-commas in proper order. [I]\" will print out " only[/I]

Member Avatar for sagedavis
0
118
Member Avatar for Scrawn_Dog

header() function should come at the top of the page ... there should not be any echo or any output before this function call; like for sessions(). so if you really need to redirect from in between the page please use js function as function redirect_to(url) { document.location=url; } or …

Member Avatar for nav33n
0
87
Member Avatar for naju

I have used trim function as: $myar['mykey'] = trim($value); but the return value to that array is not trimed .. still there are white space before and after the real word.... what might had happen

Member Avatar for naju
0
66
Member Avatar for naju

I am working with a site with a lots of modules. some of the modules are inter-linked to each-other; such as article and resource, Member and Level. And now i need to make the modules inter-linked if they exist, and independent if they dont. its like if we have [B]member …

Member Avatar for naju
0
107
Member Avatar for rajeevkshr

HREF is Client (Browser) control and PHP is Server Script So if you need to access the dynamic function from the server at usertime from client browser then we need the help of js. This utility is called ajax (Asynchronous JavaScript and XML) you can try prototype.js from [url]http://script.aculo.us;[/url] a …

Member Avatar for rajeevkshr
0
206
Member Avatar for naju

Pliz help me for an efficient tagging system such as for images, articles, products etc, so that it could be easy for tag-could and relevancy searching for my web site. (php/mysql)

0
66
Member Avatar for naju

I have create lots of module for a cms-site .. with functions only. to avoid the collision of the function names ... i have kept module name before the function names. now i need to convert the modules to classes. one module contains lots of files included .. can we …

Member Avatar for naju
0
87

The End.