39,326 Topics

Member Avatar for
Member Avatar for raji1103

Hi, I am new to PHP and i am working on the study project. It is about digital studio where registered users can upload images and apply for various services like photo printing, collages etc. I am building an image upload form. following is my html form code <form action="upload.php" …

0
79
Member Avatar for grakovski

Hello, I got terrible need :) I have this: $profile_data = file_get_contents("http://tyxo.bg/d/148025/daily"); $sep1 = explode('<table id="general-table">', $profile_data); $set2 = explode("</table>", $sep1[1]); echo $set2[0]; which output this: http://i.imgur.com/2THUUve.png I need to export only this values without anything else: http://i.imgur.com/IQG708Q.png You can test by your self the code i give - he …

Member Avatar for diafol
0
5K
Member Avatar for RonKevinT.Manuela

Just a quick question. can you activate a browsers ctrl+F functionality using php?Like click the button and ctrl+f activates

Member Avatar for RonKevinT.Manuela
0
499
Member Avatar for Trle94

Hello there, is anyone willing to help me converting some small php snippet to C# or vb.net please?

Member Avatar for Trle94
0
258
Member Avatar for RonKevinT.Manuela

Here is a php file that i HAVE...so at the moment it displays the latest news on the site but I want to add 5 more...how should my query be? <?php $stmt = $db->query('SELECT postID, postTitle, postURL, postDesc, postDate FROM posts where postid=(SELECT max(postID) from posts)'); while($row = $stmt->fetch()){ $output …

Member Avatar for RonKevinT.Manuela
0
195
Member Avatar for cmabill

i would like to make a simple website but with shopping cart function, it should include payment method of Paypal, Visa, Mastercard, Alipay, etc most popular trasaction ways. the web show be as simple as possible, most like a wordpress, but the administrator funcation should be easy-going, and operate by …

Member Avatar for hericles
0
138
Member Avatar for lloyd.farrell.7

Hi Everyone, Got a really strange problem with a mysql select query not displaying results in select dropdown. I have a small db table id,position,name and I am trying to display just the names where the position is GK Here is my query $result_dglass = mysql_query("select name from team where …

Member Avatar for nobita2811
0
215
Member Avatar for klemme

Hi all, I have the following code that finds specific images, and uses an attributte to create an iframe src. ( It is for youtube videos ). I am able to find the nodes and the attribute, but cant quite figure out how i REPLACE the found image with the …

Member Avatar for klemme
0
232
Member Avatar for servent123

Hi there, I'm looking for php library or extension that helps to edit video files frame by frame. I wanna upload images and those images must be placed in an order in the specified position in the video clips for few seconds. I came across www.animoto.com where they generated video …

Member Avatar for RikTelner
0
2K
Member Avatar for ankit1122

hello, i want to make strings coming out of database into quotes...the e-mail addresses as they came out should convert into quotes ..like abc@abc.com into 'abc@abc.com'.

Member Avatar for matrixdevuk
0
154
Member Avatar for Jay_7

can any body help me or give me an sample code on how to create a very simple log in system using php and mssql..tnx in advance.

Member Avatar for MikeJones_1
0
13K
Member Avatar for CarterLangley

Hi guys, I really need some help here. I have been tasked to do a secure login system for the charities website. I have been looking on the web, and sure there are a multitude of examples out there. But my problem is the police, ambulance, NHS, etc are going …

Member Avatar for MikeJones_1
0
232
Member Avatar for yy886

Hello, I have write a simple search page for my sit(testing!) Now I am trying to highlight my search keyword from the search result. Not going to use java so I am thinking to use something like preg_replace But the problem is I dont where should I start with. As …

Member Avatar for MikeJones_1
0
2K
Member Avatar for happygeek

As well as being CEO of penetration testing specialists High-Tech Bridge, Ilia Kolochenko is also perhaps unsurprisingly a white hat hacker of some repute. Equally unsurprising is the fact that he has [warned](https://www.htbridge.com/blog/plugins_and_extensions_the_achilles_heel_of_popular_cmss.html) that security vulnerabilities in leading CMS platforms such as Drupal, Joomla and WordPress are effectively leaving the …

Member Avatar for iamthwee
4
739
Member Avatar for Vijaysurya

HAI everybody, `` I am working on a Google API to obtain the contacts of users at my website, and I obtained a result using like this, but I wish wish to have the contacts out of the whole chunk. I just wanna know , how can I parse values …

Member Avatar for gelani_1
0
577
Member Avatar for ankit1122

hello, im developing a mass mailing application in php...in lot places i see like post to this address... lik this one.. To upload your attachment do a HTTP PUT of your attachment file to: https://api.elasticemail.com/attachments/upload?username=yourusername&api_key=yourapikey&file=test.csv and Step 3) Call mailer send with the datasource value set: To use the send …

Member Avatar for ankit1122
0
384
Member Avatar for berserk

I cannot get this table to work even though i hav eit working PERFECTLY in 3 other instances, now what i dont get is it seems to be a connection issue between the database and the form, now that makes some sense to me. What doesnt make sense is when …

Member Avatar for berserk
0
287
Member Avatar for iamthwee

Hey guys, I need some advice. Basically I want to know what is the easiest way to do this. I have a bunch of pdfs which are actually generated from excel as A4 documents and I want to be able open the pdf in a web browser, have the user …

Member Avatar for diafol
0
126
Member Avatar for diafol

Hi All, thought I'd pass on a (very) simple password class which is built on the new `password_hash()` and `password_verify()` functions. You will need php 5.5.0+ in order to get this to work. If you're thinking of modifying this and using it in a production site, please check that your …

Member Avatar for diafol
8
995
Member Avatar for learner001

hi, i have placed a table between a web page which display details of a user dynamically. Here is the code for it <?php $con=mysqli_connect("abc.com","avc","abc","abc"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $result = mysqli_query($con,"SELECT * FROM employee"); echo "<table class='table …

Member Avatar for iamthwee
0
2K
Member Avatar for johnef_sh

I am using PHPASS to store password encrypted and compare when login. here is the code ob_start(); $userName = $password = ""; $userNameErr = $passwordErr = $loginErr = ""; $hasher = new PasswordHash(8, false); if (isset($_POST['subEmployee'])) { if (empty($_POST['user_name'])) { $userNameErr = "User name is required"; } else { $userName …

Member Avatar for diafol
0
245
Member Avatar for acrocephalus

Hello, I need to create a PHP script that reads some of the fields of an RSForn and creates a QR code with them. I've been doing a little bit of research and I've found a PHP library that may suite my needs: http://phpqrcode.sourceforge.net/. Now the question is how do …

Member Avatar for diafol
0
1K
Member Avatar for rjusman90

<?php require_once("../includes/session.php");?> <?php require_once("../includes/connection.php");?> <?php require_once("../includes/function.php");?> <?php confirm_logged_in();?> <?php require_once("../includes/validation_functions.php");?> <?php if(isset($_POST['submit'])){ //process the form // often there are form values in $_POST $product_name = mysql_prep($_POST["product_name"]); $product_amount = (int) $_POST["product_amount"]; $visible = (int) $_POST["visible"]; foreach($_FILES['files']['tmp_name'] as $key => $tmp_name ){ $file_tmp =$_FILES['files']['tmp_name'][$key]; $uploaded_dir = "images/"; $filename = $_FILES['files']['name'][$key]; $path = …

Member Avatar for iamthwee
0
222
Member Avatar for websponge

I have a curious issue with Twitter bootstrap, I include the bootstrap.js , but my popovers and tooltops dont work? `<button type="button" class="btn btn-lg btn-danger" data-toggle="popover" title="Popover title" data-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>` All my other js stuff works fine, I have a …

Member Avatar for websponge
0
243
Member Avatar for nadiam

hi guys. so i have this page that i have setup so the data gets submitted without refresh although the message saying data has been added is displayed, no data is submitted into database. I need a pair(or more) of fresh eyes. please and thank you. form: <form id='addspouse'> <fieldset …

Member Avatar for nadiam
0
211
Member Avatar for berserk

I have this script that will NOT work no matter what i add to it, i have fopen not working and i believe that is the root of all my other errors but i cannot be sure, i originally had 8 errors but 4 of them were simple notices for …

Member Avatar for berserk
0
400
Member Avatar for RonKevinT.Manuela

Ok so here's the thing my classmate did a very good html file...this is the basis of the design of our homepage...there is a part where I should put the news on a collapsible group blah blah..i need help Here's the query to show news and events(nevermind the paginator Im …

Member Avatar for RonKevinT.Manuela
0
272
Member Avatar for SimonIoa

i want to show a video from a url that its stored on the database. What am i doing wrong <object width="620" height="320" data="<?php echo $profileurl;?>"> </object> the string works because when i use it it appears e.g. https://www.youtube.com/watch?v=DbVkiN0Zip4

Member Avatar for SimonIoa
0
233
Member Avatar for ankit1122

hello i have a php file named index.php. within that file two php scripts are there ... they have to share four $variables values with each other...how coud i do this?? global,superglobal or static??? `

Member Avatar for ankit1122
0
835
Member Avatar for showman13

I asked this question 4 months ago, and while I did receive a few responses, I never really got what I needed resolved... What I was hoping to find is probably what diafol was talking about dusting off and taking another look at, and that is a PHP based script …

Member Avatar for iamthwee
0
272

The End.