If i have a website running php and apache, what do i need to be able to attach a scanner to it? How do i get the scanner to fill in a value on one of the webforms on my page?
Hi,
Can anyone please tell if there is a simple and easy to use treeview control in php which support checkboxes?
I am looking at something that can work in IE 7 please.
I should be able to get the selected values etc.
Thanks.
hi,
currently i have 2 table in mysql
structure:
messages
id | content | user_id | time
submessages
id | subcontent | msg_id | user_id | time
submessages msg_id is FK for messages id.
Now i need to query from php
$cur_user = $user->current; // current user id.
SELECT * FROM messages WHERE id > '{$_GET['id']}' // problem here
how do i query submessages that posted by others not include current user?
thank you.
Hello,
I would like to set a cookie with PHP that has to expire at the end of the month.
How can I get the number of seconds until the end of the month?
Thank you.
What do I need to put in a php code so that the user cannot access it even if he specified the correct url for the page they are trying to access. And redirect it to the logon page. I'm really having difficulty in this matter, everytime I click back button on the browser the user can still access the page
is it possible to return findOne result as object ..or it always return an array?
i found something about mongo.objects = 1 adding to php.ini ..but did not work for me.
can some one tell me more about this?
Hi All
I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags is not working at all..
Please help me out..
How can i resolve this??
hello
i want to create a special php and javascript page. but i want to use it into my wordpress so i want to use the exact theme that is already there in my wordpress. how to do that?
Thanks
hi all,
i m searching for a php script that download video from any video site( youtube,metacafe etc..) by submitting only url of that video.
is that possible by one script or i have to search different script for different site??
what is basic need to download video???
please reply ASAP.
thank for support me always.
hi,
what does this construct mean in PHP ? It is storing a variable called "function" with his String value in an array ?
array('function' => 'theme_select_as_checkboxes')
thanks
Hi guys.
I have :
<a href="http://abc.com">Title</a>
And :
<a href="http://xyz.com">Title</a>
I want to replace link to text "Title", but only from http://abc.com. But I don't know how ( I tried Google ), can you explain for me. I'm not good in PHP.
Thanks in advance.
I am using wordpress and I am wondering how do I get just the permalink and name of the category of a post when using:
<?php the_category() ?>
The above outputs a list and I just want to be able to wrap the permalink and category in my own markup
I'm looking for a function that will accept a string representing the scheme portion of a URL (e.g., "http", "https", "ftp", etc.) and return the standard port. It might be used like this:
echo get_port_from_protocol("http"); // 80
As a last resort, I suppose I could write something to parse through /etc/services (assuming I only need to run under UNIX-like operating systems).
But surely there must be something built-in to PHP, no?
Thanks in advance, I am looking for a good way to make forms in php. I don't want to have to create all the items in html and want it to look good, be easily validated, and in general be easy to work with. Suggestions.
Hi ....
i have a problem in php code (inserting values in database)
i use PHPMyAdmin
my DATABASE has 3 tables:
1) Member with this fields: MemberID, MemberName
2) Room with this fields: RoomID, RoomName
3) Join with this fields: MemberID, RoomID
the idea is to join the member in the room.
My query was
mysql_query("INSERT INTO join (RoomID, MemberID)
VALUES ('121', '131')");
but unfortunately it is not work
Hi,
Okay, so I currently execute an ffmpeg command via PHP to run a video conversion. The Problem I'm Having is during the conversion, the ffmpeg process(es) use up so much CPU/Processing Power (near 100%), which slows down the response of my webserver.
Is there a Way (crontab or script) I can limit the ffmpeg processes to a certain CPU percentage?
Thanks,
More good news on the Interoperability front: the new phpBB release is now available for installation from the Windows Web Application Gallery and Web Platform Installer (Web PI) for Windows, IIS and SQL Server. Version 3.0.7-PL1 of phpBB takes advantage of a number of features for PHP applications on the Microsoft Web Platform with Windows, IIS and SQL Server, including SQL Server Driver for PHP 1.1 , which provides key interoperability for PHP applications to use SQL Server or SQL Azure for data...(read more)