No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Programmer
- Interests
- Open Source Programming
27 Posted Topics
pliz let me have an working example for it | |
how do i get the thumbnail of a video form a video server like YouTube.com | |
[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 … | |
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 … ![]() | |
if some users insert data like ";:<script><html>< // >@@#"; then i Sanitize this data to something like ";:<script><html>< // >@@ 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>";:<script><html>< // … ![]() | |
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 … | |
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 … | |
i download Element. Dimensions.js but when i include it ... got error object doesnot supported.... :( what to do? | |
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 … | |
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 | |
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 … | |
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', { … | |
Re: 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 | |
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 | |
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 | |
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 … | |
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'; | |
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 … | |
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" | |
Re: 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 … | |
Re: replace $file with chr(36) . file and pliz make the inverted-commas in proper order. [I]\" will print out " only[/I] | |
Re: 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 … | |
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 | |
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 … | |
Re: 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 … | |
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) | |
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 … |
The End.