Pagolina's Posts
Nairaland Forum › Pagolina's Profile › Pagolina's Posts
1 (of 1 pages)
Yes is true, i notice the same issue, when running on a system without wamp it display the splash screen after which is shows blank not loading the index page in htdocs. when i run it on a system that have the latest wampserver, it run fine. so i thought it could be needing the MS c++ redistribution 2012 since it's using apache 2.4, so i installed that still nothing happen. i have try it on win8.1, 10 and 7. i dont know if something else is required, However, this is could be one of the best php packaging software developers will need if it work as required |
Am working on a web application that require fingerprint capturing as part of registration, the application is develop with phpmysql. my challenge is integrating fingerprint capturer in my registration process, just as is done in jamb or other better applications. i have digitalpersonna u.are.u 4500 Pls any idea as to how i should go about it? I have integrated fingerprint scanner in desktop applications using java and is working fine, but getting this done in web application is my problem. I appreciate any support in advance. |
Am working on a web application that require fingerprint capturing as part of registration, the application is develop with phpmysql. my challenge is integrating fingerprint capturer in my registration process, just as is done in jamb or other better applications. i have digitalpersonna u.are.u 4500 Pls any idea as to how i should go about it? I have integrated fingerprint scanner in desktop applications using java and is working fine, but getting this done in web application is my problem. I appreciate any support in advance. |
i have been able to do away with the library/file.php that brought warning msg Now the image is going to a temporary folder (uploads) when i insert it into my db it enter but when i retrive it via sql statement is not showing on echo rather the file path is showing why?. pls if sombody can show me the easiest way to upload image to the db and display it on a webpage i will be very gratefull thanks |
I have a file in m.s excel, i want to export it to .sql format so i can easly inport it via phpmyadmin. how do i get the excel file in .sql format? your response is highly welcome |
I have a form that contain file field, I want the user to upload file (image) as part of the form. other part of the script work fine EXCEPT this include statement (include 'library/config.php' and include 'library/opendb.php' ) that return an error msg like this Warning: Failed opening 'library/closedb.php' for inclusion (include_path='.;C:/phpdev/php/includes;C:/phpdev/php/class') in c:\phpdev\www\phpnew\uploadok.php on line 27 that's my problem it fail to open any include library/files.php why? and how do i handle this? Your response will be highly welcome. my procesing script goes like this. <?php if (isset($_POST['upload'])&&$_FILES[userfile][size]>0) { $fileName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $fileSize = $_FILES['userfile']['size']; $fileType = $_FILES['userfile']['type']; $fp = fopen($tmpName, 'r'); $content = fread($fp, filesize($tmpName)); $content = addslashes($content); fclose($fp); if(!get_magic_quotes_gpc()) { $fileName = addslashes($fileName); } include 'library/config.php'; include 'library/opendb.php'; $query = "INSERT INTO upload (name, size, type, content ) ". "VALUES ('$fileName', '$fileSize', '$fileType', '$content')"; mysql_query($query) or die('Error, query failed'); include 'library/closedb.php'; echo "<br>File $fileName uploaded<br>"; } ?> or is there any other way i can upload image as part of my form easyly? |
the new user and the refferal are on the same table. if there is another way i can display downlines, i.e the new user under the refferral i will also appreciate it |
No error message, the mysql_num_rows() keep returning 0 (null) while there is record in the database. other part of the page using the same database and table are working, so i dought if there is any problem with the database |
I have a select statement that filter record with where clause like this <?php $dlines = mysql_query("SELECT NAME,USER_ID,REF_ID from members WHERE REF_ID='$m_uid'" or die(mysql_error());//the $m_uid is the user id while($m_row2=mysql_fetch_array($dlines,MYSQL_ASSOC)){ echo "<tr>"; //echo "<td><a href='admin_edit.php?name={$row['NAME']}'>{$row['NAME']}</a></td>"; echo "<td>{$m_row2['NAME']}</td>"; echo "<td>{$m_row2['USER_ID']}</td>"; echo "<td>{$m_row2['REF_ID']}</td>"; $duid =array($m_row2['USER_ID']); // echo "<td><a href='delete.php?dlet={$row['USER_ID']}'><img src=", /img/jpg/dlete.jpg" width="30" height="30"/></a></td>"; echo "</tr>"; } this script is working on my system but is not working online WHY? each other way can i display downlines |
i also try to use phpmailer 5 but maybe am having problem on installing phpmailer 5 because when testing the installation with <?php require("class.phpmailer.php" ;$mail = new PHPMailer(); ?> i received this error message Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in c:\phpdev\www\cashtree\register\class.phpmailer.php on line 53 Fatal error: Cannot instantiate non-existent class: phpmailer in c:\phpdev\www\cashtree\register\findout.php on line 6 line 53 contain : public $Priority = 3; if the phpmailer work, i would have stick to it for now while working on the order one |
dhtml i have tested it on outlook is working fine |
No error message at all ! |
help pls!! have been trying to integrate smtp mail on my site with the code below, but yet is not sending why? check the code: require_once "Mail.php"; $from = "admin <support@mydomain.net>"; $to = "$name <$mail>"; //variable that contains receiver name and email $subject = "thank you"; $body = "Hi,\n\nThank you, Your Registration with us is Successfull \n\nTo activate your account click here "; $host = "mail.mydomain.net"; $username = "support@mydomain.net"; $password = "password"; $headers = array ('From' => $from, 'To' => $to, 'Subject' => $subject); $smtp = Mail::factory('smtp', array ('host' => $host, 'auth' => true, 'username' => $username, 'password' => $password)); $mail = $smtp->send($to, $headers, $body); if (PEAR::isError($mail)) { echo("<p>" . $mail->getMessage() . "</p>" ;} else { echo("<p>Message successfully sent!</p>" ;} ?> |
am familiar phpmysql but i cant write this script. i want to write a php script that can generate pin ramdomly how do go about it? |
Hello Every Body!! I need help on how to write this code, i want to automatically generate IDs like (true0001, max2009001,) using php. i try the ++ in php but did not get what i want help pls?? |
ya-wa-ti-de, thank you very much for your contribution is there any place i can get prewriten javascript for that? and how to use it with my form |
hello every body! i have a form, i want client to upload there passport (image) so i use a file upload field (form object) and yes they can brows for file and upload but what i see is the path and the image did not display for them to view it on the form beform submitting it. pls i want the image to display, also i want to choose the file types and size b/4 the form will accept it, how do i get that? i make use of php/mysql imagine you are bulding a web form that somebody can upload image what do you do? |
Am working with dreamwerver and i have a form, on it i also have file upload field to upload image, but when image are uploaded i can only see the path not the image (the image does not show in dreamwerver or even on preview). I want the image to show in a box as part of the form contect, how do i achieve that? your contribution will go a long way!!! |
pls how can i put sms gateway in my site? i want the site to be able to send sms to mobile phone, your contribution will go a long way! |
hello dhtml, here goes the details of the question i have a form that contains the following field, country state lga i also have my mysql db (register) that contains tables (regtable) of those field. i want a situation where if somebody select country it will generate the value of state and if the state is selected it will generate the value of the lga, so how do i use jquery or other thing for it? i don't know if the details above is OK? |
Any way to autopopulate form elements using jquery and its ajax function from a MySQL database? |
can some body help me? i run my application with php mysql how do i prevent it from being hack via the login field? thank you |
so if i want to use jquery how do i use jquery to achieve that |
can some body help me? am designing my application with php mysql. i have about 100 record in a particular table, i want to display some thing like this on a particular page 100 registered 26 female 74 male 80 member 20 pending pls how do i get this statistic with phpmysql? |
i had a problem designing this web form, the form contain COUNTRY, STATE, LGA, and the form object are drop down menus/list. i want the user to choose the country and it will generate the values of the state from the database, when the user choose the state it will generate the LGA from the database tool, how do i do it? i use php mysql for my application |
1 (of 1 pages)
or die(mysql_error());