Is there any way by which I can attach the back button of my browser to any particular link?
Actually I am designing a login page in PHP. After login I want the back button of my browser to open any particular page that I want, how can I do that in PHP?
Actually I am not a PHP guy, so my question might sound silly to some. :P
...
Hai frnds i am avani here,actually
1.i amhaving one word document which contains macros i wann to open it in textarea..
2.i am able to open the word document which is not containing macros
3.i am not able to open the document which contains macros
4.i am using below code
5.please do help me anyone i am thinking its some what impossible
...
Whenever we use chmod, we set different authorities to different users types like
owner, group, others, all
What I dont know is, how do define who is owner, who is group and who are others.
Can we use this while implementing login system? What I mean is, by verifying a username, I want to define if the logged in user is owner, a group...
hi
i want to know how to get search like google search...
thanks and advance
...
Hi,
I need to clear some OOPS concepts in PHP.
1) Which is faster $this->method(); or self:method();
2) I know the concept of static keyword but can you please post the actual Use of it. Since it can not be accessed by the instance, but is there ant benefit for that?
3) what is factory? How can i use it?
4) What is singleton? How can i...
Here's what I'm trying to do using the Wikipedia (MediaWiki) API - http://en.wikipedia.org/w/api.php
Do a GET on http://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=[keyword] to retrieve a list of suggested pages for the keyword
Loop through each suggested page using a GET on http://en.wikipedia.org/w/api.php?...
Hi
I have a check box when check that check box the id corresponding to the check box is placed on a text box ... but when there is only single value in the database i cant get the check value why?
here is my code
<? if(isset($AcceptFriend)) {?>
<form action="<?=site_url()?>friends/Accept_Friend" name="orderform" id="orderform" ...
I am pretty new to PHP classes and I want to follow the standard pattern?
...
I'm trying to display the username of the person who has submitted the most articles but I don't know how to do it using MySQL & PHP, can someone help me?
Here is the MySQL code.
CREATE TABLE users (
user_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
username VARCHAR(255) DEFAULT NULL,
pass CHAR(40) NOT NULL,
PRIMARY KEY (user_id)
);
CREAT...
Dear All,
I'm looking to browser based map solution like google interactive chart map. I googled and i looked to smilar solution, but i didn't find good solution for it. It should be possible to created on flash, silverlight, ajax etc.
And should be change parameters easyly via javascript or sth. But i didn't like google chart beacu...
<?php
$books = array();
$books [] = array(
'title' => 'PHP Hacks',
'author' => 'Jack Herrington',
'publisher' => "O'Reilly"
);
$books [] = array(
'title' => 'Podcasting Hacks',
'author' => 'Jack Herrington',
'publisher' => "O'...
ex of site using ssl ( HTTPs ) : https://www.eb2a.com
1 - i tried to get its content using file_get_contents, but not work and give error
ex :
<?php
$contents = file_get_contents("https://www.eb2a.com/");
echo $contents;
?>
2 - i tried to use fopen, but not work and give error
ex:
<?php
$url = 'https://www.eb2a.com/';
$contents = f...
I'm trying to create a Regular Expression to match "wiki style" lists as in (using preg_replace_callback() ):
* List Item 1
* List Item 2
*# List Item 2.1
*# List Item 2.2
* List Item 3
Asterisks denote Unordered Lists while Number-Signs denote Ordered Lists. I'm trying to get this so it can match infinite depth and so that...
Hello,
i have this little script, which should ping the IPs in the $hosts_to_ping array. This PHP is called with JS in the index.html.
But something is wrong, because the $rval is always 1 (which mean the host is unreachable). But i know that the first two host is alive.
So I print the $res variable, and i see the message: Need to gi...
Is it possible to hide the the url in the address bar of the web browser so that it won't necessarily match the location of the files.
For example, this url:
http://localhost/exp/regstuds.php
You will always know by looking where to find the files in the computer.
Is it possible to distort or disarrange or hide the url in such a way t...
So, I've decided to get my feet wet with MongoDB and love it so far. It seems very fast and flexible which is great. But, I'm still going through the initial learning curve and as such, I'm spending hours digging for info on the most basic things.
I've search throughout the MongoDB online documentation and have spent hours Googling th...
I need to insert mutiple data in the field and then to retrieve it as an array.
For example I need to insert "99999" into table item_details , field item_number, and the following data into field bidders associated with item_number :
userx
usery
userz
Can you please let me know what sql query should I use to insert the info and w...
I've been using DomPDF to create a dynamically created PDF, and I've stumbled upon a problem that I can't figure out.
Is there a way to give the object a width and height so that the text automatically wraps in the area provided? I've had a look at the documentation but there's nothing that I can find that would be helpful.
...
I have got 3 files with me.
login.html
login_check.php
welcome.php
In login.html when the username and password is entered and submit button is clicked login_check.php checks whether the username entry is in the database on the basis of $_POST['username'] and some SQL querry. Now I have put the following code at the bottom of login_che...
Hi, I want to set up a small php script which simply returns a string, either from an array or from a line in a text file. As well as returning the string any time this script is called, I also want it to automatically cycle through the set of items (either an array or each line in a text file) on a timed basis. For example, every 15 min...