39,323 Topics

Member Avatar for
Member Avatar for office1111

i want have a multiple user login and redirects them to a specific folder such as when i have user login of John, and when John logs in it redirects John to account_john/welcome.php, and another when i have a user called Alex and it goes to account_alex/welcome.php, is there anyone …

Member Avatar for office1111
0
324
Member Avatar for myfit

Hi every one, I have problem need help that, I have a form have 1 select filed and 1 text field, I want when I choose value in option of select the text field will load/appear value in proportion to value of select, example in picture when I choose "B" …

Member Avatar for diafol
0
231
Member Avatar for DjFumon

hello, you can help me scrap the contents of this table? I'm interested in extracting the content of href and the text Spa. <tr bgcolor=""> <td height="32" align="center"><a class="btn btn-mini enlace_link" style="text-decoration:none;" rel="nofollow" target="_blank" title="Ver..." href="http://freakshare.com/files/a5qgdilx/Juegos2.DVDSCRHQProper.Castellano.mp4.html"><i class="icon-download"></i><b> Opcion 01</b></a></td> <td align="left"><img src="http://www.google.com/s2/favicons?domain=freakshare.com" width="16" />freakshare</td> <td align="center"><img src="http://www.yaske.net/theme/01/data/images/flags/es_es.png" width="19">Spa.</td> <td …

Member Avatar for DjFumon
0
150
Member Avatar for Burhan_1

I save a variable in my db row like this: http://www.$site.com When i fetch from my db it echo this :http://www.$site.com but i have a variable $site='google' and i want to change $site to google automatically when fetched from db. Is there a way to this.

Member Avatar for minitauros
0
81
Member Avatar for nadiam

hey guys, so i have already completed the form and the validation. what i wanna know is how to retain the values that user has already types into the text boxes. <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;" charset="iso-8859-1;"> <link rel="stylesheet" type="text/css" href="css/style.css" media="screen"> </head> <body> <center><img class="banner" src="image/banner.jpg"></center> <div …

Member Avatar for minitauros
0
301
Member Avatar for RLS0812

Here is a login page I have been working on for a while, what do you think ? It automatically strips "user input" of all special characters. <html> <title>Login Page</title> <head> <style type="text/css"> body { text-align:center; } </style> </head> <?php include "sql.php"; $me = $_SERVER['PHP_SELF']; function check($v){ return isset($_POST[$v]); } …

Member Avatar for Eagle.Avik
0
248
Member Avatar for Frank_6

Hi all, I have a simple contact info form written which when submitted sends the info to a php script which is supposed to then email on the details. The problem is that I can't seems to get the mail function to work correctly. I have php running on iis7 …

Member Avatar for pixelsoul
0
887
Member Avatar for nadiam

hey guys. i have created this page that has a text box and a search button and below them is another button let's call this button button A. when the search button is clicked the query runs and a table regarding whatever was searched will be displayed and thats okay. …

Member Avatar for patk570
0
235
Member Avatar for patk570

Hello, I have a function that is working to generate the navigation bar, it grabs the parents and the "childs" and displays them but I have noticed that it is not closing the ul, li tags properly. I will attach a screen shot below. My code is this: <? include …

Member Avatar for patk570
0
221
Member Avatar for davy_yg

Hello, index.php <?php /* <img src="images/indonusa banner1.jpg" width="900px"/> <img src="images/indonusa banner2.jpg" width="900px"/> <img src="images/indonusa banner3.jpg" width="900px"/> */ ?> <?php include('include/con_database.php'); $result2 = mysql_query("SELECT * FROM dynamic_content WHERE CatID='11' LIMIT 3"); while ($data2 = mysql_fetch_array($result2)){ echo '<td>'.'<img src="images/banner/'.$data2['images'].'" width="900px">'.'</td>'; } ?> In the following code: while ($data2 = mysql_fetch_array($result2)){ echo '<td>'.'<img …

Member Avatar for pixelsoul
0
118
Member Avatar for kgizo

Hi I have been struggling with this query for a while now I need to get the number of rows inserted into my database table, but I keep getting this error I can't seem to get rid of. $result3=mysql_query("INSERT INTO dest_table.create_info SELECT * from Profusion.source_cdr"); $num_rows = array($result3); $progress=mysql_num_rows($num_rows); echo …

Member Avatar for kgizo
0
263
Member Avatar for myfit

Hello Everyone, I’m having a page php have function list content of directory in computer such as c:/folder after that I can open, write and save any file I want in list file. Now I have complete to list content of directory, now I want to click any file in …

Member Avatar for myfit
0
228
Member Avatar for baloch123

I am unable to apply this style to Cell A16. I want to make horizontal boarder around cells. $objPHPExcel->getActiveSheet()->getStyle('A16')->getBorders()->getHorizontal()->setBorderStyle(PHPExcel_Style_Border::BORDER_THICK);

0
90
Member Avatar for baloch123

Hi Everyone I want to convert Excel File to PDF using PHP. Can anyone guide me in this matter? I have tried PHPExcel by using tcpdf,mpdf,docpdf libraries but they didn't produce good layout. Do you have any other suggestion? Waiting for your reply.

Member Avatar for jazleeen
0
7K
Member Avatar for iwavetostars

Hello! my Avira just detected an infection with PHP/WebShell.A.1. It resides in C:\Users\Default.Default-PC\AppData\Local\Google\Chrome\User Data\Default\Cache\ and it's called "f_004140". I don't run any web-server on my computer whatsoever so I have no idea how I got it in here. Anyways, here's the "source" of the file. http://pastebin.com/cVzAuS0n https://mega.co.nz/#!gIJFiCZL!JuTagzrj8TI8nMkDZHPD-SRwu8UYs6Z_blMjkEl-aDE ^ The link …

Member Avatar for cereal
0
146
Member Avatar for turpentyne

I'm trying to take lines of text in a textarea of a form, and turn them into a query from a database. But for some reason, the variables are not showing up in the query I've constructed. Here's what I have so far: <html> <body> <?php $table_variable = $_POST['chosen_table']; $chosen_insert …

Member Avatar for diafol
0
130
Member Avatar for icedome

Hi guys, Let's see if you can give some advice. I'm looking for a pageflip service (it can (and should) be a paid service) that let me have in my own website BO the actual PDF upload option and do the pageflip conversion. Does anyone knows such service? Or as …

Member Avatar for ailsa
0
202
Member Avatar for sandeep4646

Which php files are kept at the root folder? in best practice what is the file size of PHP? (300 lines)

Member Avatar for diafol
0
101
Member Avatar for hriti

i want to put the link for other language...if i click on that language the site will convert to that language...plz can anyone help me...its urgent... thnks in advance...

Member Avatar for diafol
0
192
Member Avatar for baloch123

Hello I have excel file having few cells merged for Title. e.g B1:F1 are merged cells,i want to align text of these merged cells to center.keeping the cells merged. I have use this code but it didn't work $objPHPExcel->getActiveSheet()->mergeCells('B1:F1'); $objPHPExcel->getActiveSheet()->getStyle('B1:F1')->getAlignment() ->setHorizontal(PHPExcel_Style_Alignment::HORIZONTAL_CENTER);

0
81
Member Avatar for baloch123

Hi Everyone I'm priningt PDF from Excel file using PHPExcel. How can i show gridlines for cells(A16:A32)?

Member Avatar for baloch123
0
89
Member Avatar for devianleong

Hi, How can I loop this out? <input type="text" name="attr[1][value][1][name]"> <input type="text" name="attr[1][value][1][price]"> <input type="text" name="attr[2][value][1][name]"> <input type="text" name="attr[2][value][1][price]"> Any Solution?

Member Avatar for diafol
0
195
Member Avatar for Motorider

I have a Daily Deals website of which I desire to limit the viewing of one of the product catagories to logged in users only. here is the catagory code. <div class="categories"> <h3><?php echo $array['Categories'];?></h3> <ul> <?php $category_total = num_rows(mkr_select('ig_category','cat_name,cat_id,cat_image','cat_status=1')); $category_select = mkr_select('ig_category','cat_name,cat_id,cat_image','cat_status=1 ORDER BY cat_name ASC LIMIT 0,3'); if(num_rows($category_select)>0) …

Member Avatar for diafol
0
543
Member Avatar for game4tress

I'm creating a chat system and I need to remove every user that did not properly logout (if for instance the computer was shutdown unexpectedly,...), such as some other tasks. One possibility is for each user's script check for inactivity (3 seconds, for instance) of every other user, but if …

Member Avatar for jkon
0
271
Member Avatar for askfriends

hello; i dont know whether this is appropriate forum to ask this question, but after viewing some helping threads i decided to post mine problem and hope you guys will help me. I am a blogger, i upload files and then monetize the links using adfly and linkbucks. But as …

Member Avatar for askfriends
0
859
Member Avatar for abhijit_2
Member Avatar for hallianonline

Hello in my code i am unable to fetch rows please check if (isset($email) && isset($key)) { $get_verify_email = "SELECT * FROM users_registration WHERE email_address ='$email' AND com_code='$key'"; if ($result = mysqli_query($dbc, $get_verify_email)) { while ($row = $result->fetch_row()) { $name = $row["Name"]; $business = $row["business_type"]; } /* free result set …

Member Avatar for cereal
1
92
Member Avatar for hallianonline

Hello i need a little solution for a variable in my code its currently printing error messages but i want to keep these error messages so that i can print them any where in my html using this code <?php print_r($messages); ?> becuase currently its printing the error message on …

Member Avatar for Tpojka
0
121
Member Avatar for GlenRogers

I have a form for adding products and their detail to a mysql db. I have another form that shows the products where I can remove the product from the db, I can also hide or show the product in the website. I need to be able to edite the …

Member Avatar for diafol
0
317
Member Avatar for tqmd1

Sir, i am using these codes <?php $myusername=""; $mypassword=""; $myemail=""; $mymobile=""; $mycountry=""; $mycity=""; $myage=""; $mygender=""; $myphoto=""; if(isset($_POST['save'])){ require_once("connect.php"); function clean($str){ $cstr=trim($str); $cstr=addslashes($str); $cstr=htmlspecialchars($str); return $cstr; } $myusername=clean($_POST['username']); $mypassword=clean($_POST['password']); $myemail=clean($_POST['email']); $mymobile=clean($_POST['mobile']); $mycountry=clean($_POST['country']); $mycity=clean($_POST['city']); $myage=clean($_POST['age']); if(empty($myusername)) { echo ('<script>alert("User name must not be empty")</script>'); echo '<script>document.getElementById("form1.username").focus()</script>'; } elseif (empty($mypassword)) { echo ('<script>alert("Password …

Member Avatar for pzuurveen
0
119

The End.