Hi guys.
I need to implement authentication in a php app but using fingerprint as part of credentials.
So, sincerely I'm kind of lost here.
1) Do I need a product (reader) with javascript SDK? I've seen some using ActiveX but obviously this will work just for IE. I would like a cross-browser solution here.
2) On server side, I supp...
I need to correct the way my links are displayed using PHP for some reason my links sub categories are displayed in the following format below.
http://localhost/index.php&sub=sub1
http://localhost/index.php&sub3=sub3
When they should be displayed in the following format.
http://localhost/index.php?cat=2&sub=sub1
http://lo...
Will web crawler crawl the web and create a database of the web or it will just create a searchable index of web? If suppose it creates an index, who will exactly will gather the data of web pages and store it in database?
...
Firstly, I would like to just it out there that I am an ORM noob. I've never used an ORM in my life and have reached a point in my day-to-day developing that I need to do some crazy advanced relationships that I believe Datamapper Overzealous Edition can help me with as I am using Codeigniter.
In my database I have the following tables;...
in HTML
we can
face='Tahoma'
face="Tahoma"
and in PHP
$name = "Junaid";
$name = 'Junaid';
$names = array('Junaid','Junaid','Junaid');
$names = array("Junaid","Junaid","Junaid");
now all these statements are correct with single or double quotes but
what difference does it make
which is the preferred method
what types of quotes t...
I am using the core Auth component. I have created a user login that manages all of the permissions. The way I am implementing the login monitoring is by checking for $this->Auth->user() in the app_controller. Each time the app_controller cycles the beforeFilter() function and !$this->Auth->user(), it will increment the Captcha.LoginAtte...
I'm trying to get off site content and display it on my web site.
I have site 1 and I want to display some content from site 2 on site 1.
My plan is to use AJAX, on site 1, to load a PHP script, on site 1, that will load the content from site 2 and echo it. Then AJAX would take the echo from the PHP script and display it in a DIV on si...
I swear this probably might the most complicated magento cart ever. But this is what the client request.
We are creating a web application that allows the customer to type in some letters. These letters appear on in a picture as if it was a sign.
Each word represents a products. The size of the word changes pricing. Also the custom can...
what type of block would i use and what method would I call.
Also what type of array would it return and where would I find the attributes , price and all that good stuff.
Thanks
...
Hi All,
I have a table in my ms sql database and am using PHP.
What I am trying to do is:
Foreach User in table, get his age and favorite color. And for each entry i want to edit it before it is displayed. For example Each User that is retrieved and displayed on the webpage will be hyperlinked. His/her age will be hyperlinked and the ...
Yesterday my site was comprised. The attacker changes the index.php file to their own (with all their glory messages and greet). I've notified the hosting company about this (we are running on a dedicated server), and on my part, I'm trying to fix anything that seems to be the cause, cause I'm still unable to point how exactly did our se...
I'm using a shipping api (with fedex), and some of the fields I need to fill out ask for the datetime in a certain format (I've heard some people call it "zulu", it looks like this: 2006-06-26T17:00:00-0400) (by the way, what's a good way to format this in php)
I'm hoping to be able to do this by using zip codes. So if I know a user's z...
Hi i want to do the update function where each staff balance is listed in a row of the table. When the form is submit, it will only submit the specific row. Something like this.
Preview
I am newbie to jquery, can someone give me a direction?
<table id="rounded-corner">
<thead>
<tr>
<th scop...
Possible Duplicates:
Whats wrong with this RegEx for validating emails?
How to verify if a email address exists?
How to check if an email address exists without sending an email?
I was wondering if it was possible to validate an email address with php (w/library or without). When I say validate I don't mean a regex match I...
My code for some reason is displaying my nested lists for my tree menu all wrong can someone help me correct this problem? So that my nested lists are nested correctly for my tree menu.
Here is my PHP code.
function category_tree($parent = 0, $parent_url = ''){
echo "<ol>";
$mysqli = mysqli_connect("localhost", "root", "", "sit...
I've seen code written where almost all non-route related code is passed to a model. I have also seen code where all database persistence is handled by a model, but non-DB processing is handled by the controller.
Which is the better approach?
...
For the love of pete I can't get it to accept any variables into to my SQL db. If I put static info it works. I can't seem to pass any paramaters over with scriptdata and it makes it more challenging because I'm using smarty template system on top.
I was trying to do this.
{literal}
<script type="text/javascript">
jQuery(document).rea...
Is there a way to pass an image file to a second page before uploading it to the data base?
Page 1
<input type="file" name="image" />
Page 2
<input style="display:none" name="image" value="<php? echo $_REQUEST['image']; ?>" />
page 3 -> database upload
$target_path = "uploads/";
$image_path_1 = $target_path . basename($_FILES['im...
I am developing newsletter in php with cron job apps. pls but getting problem with php code for date and time
any body have any good reference pls tell me
...
I have a regular expression that I have written in order to extract values that a user enters and replace some height and width values and keep the urls. This is so it can be safely added to a database.
This is what I have so far (just trying to get the preg_match to return a TRUE value)
$test ='<object height="81" width="100%"> <param...