Search found 156 matches

by Mukseh
Mon Dec 27, 2010 7:47 pm
Forum: PHP coding => General
Topic: php in Flash object.
Replies: 6
Views: 1265

Re: php in Flash object.

Do you properly completed the php start and end tag?

I think this is only the problem.

Thanks
http://www.mukeshvariya.com
by Mukseh
Mon Dec 27, 2010 7:44 pm
Forum: PHP coding => General
Topic: Array sorting problem
Replies: 0
Views: 740

Re: Array sorting problem

This is odd but bit simple. You just want array like 1.txt, 2.txt, 3.txt, ... 10.txt, 11.txt and so on I think you can do like this for($i=0;$i< no of files; $i++) { $fileName = ($i+1).".txt"; if(is_file($fileName)) $mySortArray[] = $fileName; } print "<pre>"; print_r($mySortArray); print "</pre>";
by Mukseh
Mon Dec 27, 2010 7:38 pm
Forum: PHP coding => General
Topic: PHP submit form help
Replies: 3
Views: 1542

Re: PHP submit form help

Your Code

Code: Select all

<input type="submit"value="send your inquiry" />
I think, you should use name attribute and there is spacing problem in type="submit"value="send your inquiry"

correct syntax should be like this.

Code: Select all

<input type="submit" name="submit" value="send your inquiry" />
by Mukseh
Fri Apr 09, 2010 10:40 am
Forum: PHP coding => General
Topic: zend framework rewrite
Replies: 0
Views: 738

zend framework rewrite

Hello All, I have custom cms developed in zend framework. I want know how can I setup rewrite (seo friendly) URL in zend framework. I setup the directory structure as mentioned on zend website. I want URL like below http://www.domainname.com/category/product-name.html and http://www.domainname.com/p...
by Mukseh
Wed Jan 06, 2010 3:08 am
Forum: PHP coding => General
Topic: wordpress plugin problem
Replies: 0
Views: 588

wordpress plugin problem

Hello,

I have installed wordpress on my local pc. Now if I do change the staus as inactive, in which table it changes the value?

What params it sets.

need help.

:help:
by Mukseh
Thu Nov 12, 2009 9:02 am
Forum: PHP coding => General
Topic: PHP session not working
Replies: 1
Views: 969

Re: PHP session not working

Babbage wrote:You use usually global php code, sessions for example; $_SESSION
Dont forgot to start your session on every page where you want to use your session variables value.

session_start();

Mukesh Variya
PHP Web Development India
http://www.mukeshvariya.com
by Mukseh
Thu Nov 12, 2009 8:48 am
Forum: PHP General
Topic: mysql query problem
Replies: 1
Views: 1045

mysql query problem

Hello, I have one simple table for products which stores product by client id like Table Name: tbl_products client_id , product_id 1,1 1,2 1,3 1,4 1,5 2,6 2,7 3,8 Now what I want is simple result I want the list of clients whose TOTAL PRODUCT is 5 HINT: ====== select count(product_id) as total_produ...
by Mukseh
Thu Nov 12, 2009 4:07 am
Forum: Your Scripts
Topic: rewrite problem with query string
Replies: 1
Views: 1753

rewrite problem with query string

Hello, I am creating an application with rewirte using .htaccess file. The rule I have applied is as below RewriteRule ^(.*)-(.*)\.html$ $1.php?page=$2 [L] The rule, works like news-1.html then it will redirect to news.php?page=1 Upto this it works fine. But when I pass the query string variables li...
by Mukseh
Mon Oct 05, 2009 11:23 pm
Forum: PHP coding => Images
Topic: Saving Image
Replies: 1
Views: 2053

Re: Saving Image

Hello,

I had same problem before...

Code: Select all

ImagePNG($img);
I think, this will help or search on php.net image functions.

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 11:20 pm
Forum: PHP coding => Images
Topic: image from videoclip
Replies: 1
Views: 2306

Re: image from videoclip

Hello,

This is possible by using FFMPEG Library.

I have done this but I am not getting where I put that coding files.

I have done this before and working.

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 11:18 pm
Forum: PHP coding => Images
Topic: php image gallery
Replies: 0
Views: 2569

Re: php image gallery

Hello,

The link is NOT opening.

But when your drop down box value changed, you can pass the category value or id into URL and you keep it with paging.. thats it!!!

:)

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 11:14 pm
Forum: PHP coding => Images
Topic: Viewing Image from a CHMOD Blocked folder
Replies: 0
Views: 2119

Re: Viewing Image from a CHMOD Blocked folder

Hello,

Set directory listing denied but while access it from HTML image tag, it should be readable.

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 11:12 pm
Forum: PHP coding => Images
Topic: thumbnail image
Replies: 0
Views: 1883

Re: thumbnail image

Hello,

Confusing question... Clearly mention what you are looking for...

:)

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 11:11 pm
Forum: PHP coding => Images
Topic: How do I make an image show based on today's date?
Replies: 1
Views: 2513

Re: How do I make an image show based on today's date?

Hello,

Please render CAPTCHA technique.

I am sure you will get understanding...

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 11:08 pm
Forum: PHP coding => Images
Topic: Image saving issue
Replies: 1
Views: 1574

Re: Image saving issue

Hello, Try Below Code Function: function createthumb($tmp_name, $file_name, $upload_path ="", $prefix = "", $img_id = "", $new_w = "23", $new_h = "15") { //$src_img=imagecreatefromjpeg($name); $filetype = substr($file_name,strlen($file_name)-4,4); $filetype = strtolower($filetype); if($filetype == "...
by Mukseh
Mon Oct 05, 2009 11:07 pm
Forum: PHP coding => Images
Topic: Invalid font filename
Replies: 1
Views: 3686

Re: Invalid font filename

Hello,

copy the font file name in your project folder.

I am using the same method for captcha. Its working 100% fine with me.

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 11:05 pm
Forum: PHP coding => General
Topic: Apache Http server is crashing as I execute mysql_query()
Replies: 0
Views: 875

Re: Apache Http server is crashing as I execute mysql_query()

Hello,

Uninstall everything after taking backup of your files and database.

Then reinstall WAMP.

I am using the same and not having a single line of problem.

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 11:02 pm
Forum: PHP coding => General
Topic: Adding Dollar signs to numeric values
Replies: 1
Views: 729

Re: Adding Dollar signs to numeric values

Hello,

Try to use IF condtion in my sql query. I know its 100% supporting. You have to use also CONCAT function to add $ sign.

http://www.mukeshvariya.com
by Mukseh
Mon Oct 05, 2009 10:58 pm
Forum: PHP coding => General
Topic: Enabling delete file option
Replies: 0
Views: 825

Re: Enabling delete file option

Hello,

If you are using any linux base hosting and not working, then you can should set permission of folder from hosting control panel as 777.

This is the best solution I am using and works fine with me :D

http://www.mukeshvariya.com
by Mukseh
Sat Apr 18, 2009 1:00 am
Forum: PHP coding => General
Topic: FFMPEG to increase audio output volume
Replies: 1
Views: 1159

FFMPEG to increase audio output volume

Hello,

I found that ffmpeg can increase the audio volume of the mp3 file.

I changed -b 4000 but nothing happenes when I keep the newly created file in my mobile.

I dont know how to set this.

Need Help...

Mukesh Variya
http://www.mukeshvariya.com
by Mukseh
Fri Mar 27, 2009 9:07 am
Forum: PHP coding => General
Topic: php video scripting
Replies: 0
Views: 786

php video scripting

Hello, I searched two days for video scripting on website. But dont get any good resource or code for the same. I want to use my web cam on my web page. Can I have help or resource so that I can use script to show my web cam video on web page? If it will be in PHP would be great help. Thanks Mukesh ...
by Mukseh
Tue Mar 17, 2009 7:59 am
Forum: PHP Installation
Topic: how to: setting php for network
Replies: 1
Views: 3231

Re: how to: setting php for network

Hello, I had similar problem. But I have installed WAMP in my localpc. So to get my localhost in other machine, I did one thing only. In the task bar of windows, you can see wamp icon. Click on it, you will see "Put Online". I got surprised that I able to access localhost computer files my localhost...
by Mukseh
Tue Mar 17, 2009 7:50 am
Forum: PHP Installation
Topic: Functions with Apache
Replies: 0
Views: 1825

Re: Functions with Apache

Hello,

If you are using Linux you need to install mysql client for this, as I know.

Thanks
http://mukeshvariya.blogspot.com
Zend Framework Development Ahmedabad Gujarat India
Customize Application Development Ahmedabad Gujarat India
by Mukseh
Mon Mar 16, 2009 8:27 am
Forum: PHP General
Topic: can anyone help me for database php edit???
Replies: 1
Views: 1898

Re: can anyone help me for database php edit???

Hello, In the list of staff page, create one more column for edit Here you can create link with staff id like staffedit.php?staffid=1 When you click on edit link it will take you to the edit page. Where you have to write a simple query like select * from staffTableName where staffid = $_REQUEST['sta...
by Mukseh
Mon Mar 16, 2009 8:21 am
Forum: PHP General
Topic: PHP SESSION ID
Replies: 1
Views: 1352

Re: PHP SESSION ID

Hello, Please do below thing Very first you should do below thing <? session_start(); $_SESSION['your session variable']; ?> Now put this code every where you want to get the session value. Thanks http://mukeshvariya.blogspot.com Zend Framework Development Ahmedabad Gujarat India Customize Applicati...