52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mattyd

Hi, I finally figured out how to take a row from a table and display it on a page. Big deal, huh? That was not exactly my main goal, though. When a User submits a form I need *that data* to display. I've struggled with this. I now figure that …

Web Development php session
Member Avatar for iamthwee
0
253
Member Avatar for AARTI SHRIVAS

how can I remove error messages without modify php.ini file

Web Development php
Member Avatar for matrixdevuk
0
378
Member Avatar for shakti_1

I want to search all record from database on multiple(comma separate) keyword like php,mysql or php with like . mydatabase record id skill 1 php,java 2 php 3 mysql 4 java,mysql,php if i search mysqlthen total record should be 2 and search php,java it should be total record should be …

Web Development php
Member Avatar for pritaeas
0
105
Member Avatar for jacob21

Hi, Is there any tool that extract below from gmail and save in to csv. Name of Person to: Email id cc: Email id Time stamp - DD/MM/YYYY URL's in the email

Web Development php
Member Avatar for cereal
0
287
Member Avatar for SevenKader

I tried explaining this but I don't think anyone understood, I have a lot of titles which are all different, what I'm trying to do, is get rid of every "Lyrics" word in the title, and also, everything that appears before the "-" symbol. I managed to do the lyrics …

Web Development php wordpress
Member Avatar for cereal
0
168
Member Avatar for Abhinandan431

is any script for dicom viewer in php. i need to store .dcm file in database and then it should be able to view in php application......if any solution ?? than please help me..

Web Development php
Member Avatar for Abhinandan431
0
82
Member Avatar for senthilcse
Member Avatar for otengkwaku

var getDataFromUrl = function(url) { rest.get(url).on('complete',function(data) { if(data instanceof Error) { console.log("url error"); process.exit(1); }else {return data}; }); }; when this function (getDataFromUrl) is called by another function it return undefine what is happing

Web Development javascript
Member Avatar for otengkwaku
0
180
Member Avatar for otengkwaku

Hi guys Happy New year. I miss you all :), that is just by the way. I am thinking of building a CMS with nodejs ana i will like your take on it? First of all i have seen other simlly projects but they are all fixed in the type …

Web Development cms data-structure
0
127
Member Avatar for kimbokasteniv

I am using the openssl seal and open functions to store some encrypted data for later retrieval. After the data is sealed, I store the envelope and envelope key on the server along with the public and encrypted private key. Later, a user will enter the password which decrypts the …

Web Development encryption php
0
323
Member Avatar for Siberian

Why am I getting an error newDate() not defined ? var thedate = newDate(1971,11,9); console.log("This person was born on:", thedate.getDay());

Web Development javascript
Member Avatar for Troy III
0
3K
Member Avatar for iamthwee

Guys, I got a quick question, I want to know what you guys use or what resources you have for a complete secure PHP login system. Using salts, hashes and sessions. No fancy Jquery stuff, just stripped down. Some limitations: -No use of PDO, the server I'm using has a …

Web Development github javascript-jquery php
Member Avatar for matrixdevuk
0
606
Member Avatar for RikTelner

There are things that can change image to base64. Is it same possible with videos? If yes, how? If not, is there any way, I could place video in format, that "would" be "safe".

Web Development php video
Member Avatar for RikTelner
0
108
Member Avatar for edogg23

Hello I have this table with 2 radio buttons to answer a yes or no question. If neither buttion is clicked when the page is submitted, I would like some type of message box to pop up telling the user they have to make a choice before they can go …

Web Development asp.net
Member Avatar for JorgeM
0
588
Member Avatar for sanjay_7

hi all here is my xml file note.xml file <?xml version="1.0" encoding="ISO-8859-1"?> <agents> <agent> <id>1</id> <image> img/primary-nav-logo.png</image> <name>Tommy Jenkin</name> <company>CJenkins Insurance</company> <street>Insurance150 S State Stree</street> <city>Linkend</city> <phone>(773) 561-4331</phone> </agent> <agent> <id>2</id> <image> img/primary-nav-logo.png</image> <name>Tommy Jenkin</name> <company>CJenkins Insurance</company> <street>Insurance150 S State Stree</street> <city>Linkend</city> <phone>(773) 561-4331</phone> </agent> </agents> and i have to …

Web Development php xml
Member Avatar for pixelsoul
0
277
Member Avatar for mattyd

I am using mysql_fetch_assoc to retrieve and display an array; This is what I recieve upon loading the page: *Warning: mysql_fetch_assoc() expects parameter 1 to be resource* I have researched it and do not understand it. **Snippet* while ($row = mysql_fetch_assoc('$result')) { echo $row["emp_name"]; echo $row["emp address"]; } Thank you, …

Web Development mysql php
Member Avatar for mattyd
0
298
Member Avatar for iamthwee

This is going to sound really stupid, but I'm using 'plesk' and I've written the very simplest form of php mail function. However, it doesn't arrive in my email account. I've tried different email accounts and looked in my spam bin. I've waited days to be sure. I've checked everywhere …

Web Development php wordpress
Member Avatar for iamthwee
0
662
Member Avatar for 2mhzbrain

<div> <?php include 'connect.php'; if(isset($_GET['id'])){ $page_id = $_GET['id']; $select_query = "SELECT * FROM articles WHERE articles_id='$page_id'"; $run_query = mysql_query($select_query); while($row=mysql_fetch_array($run_query)){ $articles_id = $row['articles_id']; $articles_date = $row['articles_date']; $articles_title = $row['articles_title']; $articles_category = $row['articles_category']; $articles_image = $row['articles_image']; $articles_content = $row['articles_content']; ?> <h3> <a href="articlespage.php?id=<?php echo $articles_id; ?>"> <?php echo $articles_title; ?> </a> …

Web Development php
Member Avatar for 2mhzbrain
0
299
Member Avatar for azegurb

hi there, this is my class that uses preg_replace_callback I know that when this function used in class i do like that **preg_replace_callback('|(\d{2}/\d{2}/)(\d{4})|',array(&$this, 'next_year'), $text); ** but i dont understand & in front of $this statement if i dont write the & reference operator in front of this it also …

Web Development php
Member Avatar for azegurb
0
167
Member Avatar for iamthwee

As title states my php mail function is NOT working with Gmail. However, it does work when sending to other domains such as hotmail and yahoo. I have checked my spam box. Any ideas. I have noticed that when I use phpmailer.php and link it to my gmail account as …

Web Development php
Member Avatar for cereal
0
797
Member Avatar for BenWard

I had to map a network drive with specific credentials in my PHP script and it kept falling over because I'd already navigated to the drive in windows explorer. This snippet will unmap a network drive using COM regardless of whether or not there is a drive letter associated with …

Web Development hard-drive microsoft php storage
0
619
Member Avatar for nawazsj

please help me to display the multiple image from mysql this id my file for uploading multiple image $valid_formats = array("jpg", "jpeg", "png", "gif", "zip", "bmp", "pdf", "doc", "docx"); $max_file_size = 100000*100; //100 kb $path = "uploads/"; // Upload directory $count = 0; extract($_REQUEST); // Loop $_FILES to execute all …

Web Development image mysql pdf php
Member Avatar for pritaeas
0
318
Member Avatar for dippy78

Hi Team, Please hekp me with the OCILogon error. Im using WampServer Version 2.2. I have a script which connects to 10g and 11g database and it works perfect from the browser. Now i want to automate the php script via batch file which will be windows 7 schedule task. …

Web Development php
Member Avatar for dippy78
0
992
Member Avatar for xmas4evermine

please can anyone help me with the code on how to generate pin.

Web Development php
Member Avatar for phorce
0
88
Member Avatar for mherz

Hi! I dont know what is the best thing to do to secure my website via internet and intranet. It happens that some of my pages should be able to view via the internet but all pages should keep running and able to access via intranet. On web.config I set …

Web Development asp.net
Member Avatar for mherz
0
147
Member Avatar for RikTelner

Main content <?php echo $test; include "index.php?test=solved"; echo $test; // expected: "solved" if (isset($_get["test"])){ $test = $_get["test"]; } ?> File ends here error starts here. Notice: Undefined variable: test in C:\-------\XAMPP\htdocs\index.php on line 4 Warning: include(index.php?test=solved): failed to open stream: No error in C:\-------\XAMPP\htdocs\index.php on line 5 Warning: include(): Failed …

Web Development file-stream php
Member Avatar for RikTelner
0
166
Member Avatar for nacedo

I am starting a new project and I dont have experience in PHP in general. To help me up and speed things up some of my coworkers told me about CakePHP and Yii. I want to make a hotel reservation system (frontend and backend) and I was wondering wich to …

Web Development php
Member Avatar for baig772
0
142
Member Avatar for LRNPHP

Hi All, I'm battling to get this query to work. I have a select form that allows user to select dates. When he submits it it needs to remove weekends from the request. $DateStart='2013-09-01'; $DateStart='2013-09-05'; $DateSTR=strtotime($DateStart); $DateSTO=strtotime($DateStop); for($i=$DateSTR; $i<=$DateSTO; $i++){ $NewDate=strtotime($i); $DateCalc=date('D', $NewDate); $TotalCount++; if($DateCalc == 'Sat' || $DateCalc == …

Web Development mysql php
Member Avatar for LRNPHP
0
446
Member Avatar for everton.retweets

Hi Everyone, I am using the following slugify script and would like to concatenate two php variables. The two variables I would like to concatenate are $firstname & $surname. The end result should be firstname-surname. function slugify($text) { // replace non letter or digits by - $text = preg_replace('~[^\\pL\d]+~u', '-', …

Web Development php
Member Avatar for everton.retweets
0
422
Member Avatar for mattyd

*Yes, the reoccurring issue* I have yet to solve: Posting the contents (Saved to a DB) of a form to a redirected page. Everything works except the rendering of the form data on the redirected page. I've been trying everything that I can think of. I've been researching this for …

Web Development php
Member Avatar for mattyd
0
143
Member Avatar for johnef_sh

I am trying to upload multi-images I am using this script everything is fine and the images uploaded successfully the problem here is I don't want to duplicate the images name so I used this script to avoid this but no luck any idea this is my code <?php if(isset($_POST['submit'])){ …

Web Development php
Member Avatar for anas.man
0
273
Member Avatar for mattyd

I call it "Compartmentalization", that is, taking a long .php file and breaking it down into smaller components; Seperate .php files. This will keep everything tidier, cleaner, more organized, reusable and I believe, more secure. **Example** (Not my code - Maybe not a *perfect* example of this idea, but for …

Web Development php
Member Avatar for pritaeas
0
174
Member Avatar for FOYSAL_1

I want to use calander to pick a date as DD.MM.YYYY and post to database. Please help............ Entry.php <?php require 'config.php'; if (isset($_GET['logout'])) { unset($_SESSION['isLogged']); unset($_SESSION['isLogged']); session_destroy(); header('location: index.php'); exit; } if (!isset($_SESSION['userLogin']) && !isset($_SESSION['isLogged'])) { header('location: index.php'); exit; } ?> <!doctype html> <html> <head> <meta itemprop="image" content="mainlogo_title.png"> <title>SEA TURTLE …

Web Development html-css javascript php
Member Avatar for pritaeas
0
436
Member Avatar for harjinder007

I need to redirect specific URLs to their new equivalent. i have a single dynamic page(pages.php) and i fetch data from database.(like domain_name.com/pages.php?id=4) and i want to redirect to domain_name.com/pages/name or domain_name.com/name on same page with different names(for example if pages.php id=4(example- domain_name.com/pages.php?id=4) and id 4 have name welcome then …

Web Development php
Member Avatar for harjinder007
0
211
Member Avatar for Shahbaz_2

I am new in web and PHP want to learn about session... how they are made on login... and how they are carried to next page... i know to make database and queries..

Web Development php session
Member Avatar for Shahbaz_2
0
238
Member Avatar for RikTelner

http://imageshack.com/a/img812/8573/if9.gif How to create such web, on website? I don't want to point (sub)website domains and relation. But I just want point relation between Word A, B, C to Z. With link.

Web Development
Member Avatar for RikTelner
0
195
Member Avatar for vagheladevr
Member Avatar for diafol
0
163
Member Avatar for nouth

How can I display a string at any x and y coordinated position of a webpage? Using only JavaScript, unless I have to have the text already included in the HTML and then hide or reveal it using javascript? I can already do that but I can't use x and …

Web Development javascript javascript-jquery
Member Avatar for nouth
0
190
Member Avatar for andi-dev

<meta charset="utf-8"> <title>jQuery UI Effects - Show Demo</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <style> .toggler { width: 500px; height: 200px; } #button { padding: .5em 1em; text-decoration: none; } #effect { width: 240px; height: 135px; padding: 0.4em; position: relative; } #effect h3 { margin: 0; …

Web Development gui html-css javascript
Member Avatar for andi-dev
0
246
Member Avatar for geneh23

Hey everyone, Hope everyone is doing well! So I might seem a little dumb to post this but I've googled and searched every possible thing I can think of to get my contact form to work and send an email. The validation, which in this case is defaulted to jquery …

Web Development email php
Member Avatar for AmirHosseinHP
0
2K
Member Avatar for baig772

Hi Any one ever wrked on live helper chat? [This](http://livehelperchat.com/) This is following template structure may be symfony or smarty and I am looking to change some form labels, but cannot figure out where to chage? Thanks in advance for help

Web Development php ui-ux
Member Avatar for baig772
0
219
Member Avatar for kevwood

hi all not been here for a while, a long time since i have been working in the industry but ha life goes on haha. I am stuck trying to get the layout to work exactly how i would like, i have a container div which i would like to …

Web Development html-css
Member Avatar for kevwood
0
196
Member Avatar for M.Waqas Aslam

Dear all! I am creating a proxy website, which will open a restricted site. Proxy is working very fine and I am happy with it.Now there is a site which only allow in my clients country. Site need username and password to allow user to view contents, Now I want …

Web Development php
Member Avatar for minitauros
0
123
Member Avatar for Indians

Here, i'm trying to fetch the image from database. In my database i can see a image file size ([BLOB - 62.3 KiB]). But, it didn't work. i didn't get any error here. i'm confused where i made a mistake here? <?php include('config.php'); ini_set('display_errors', '1'); error_reporting(E_ALL); try { $stmt = …

Web Development image php
Member Avatar for AmirHosseinHP
0
2K
Member Avatar for Indians

Recently i've rewritten my code to PDO from mysql query. Insert, fetch, update, delete everything working fine. But, pagination not displaying in my page. Before i've used mysql query. In that time pagination worked perfectly. Now, i've changed my codes into prepared statements. pagination not dispalying i don't know what …

Web Development php ui-ux
Member Avatar for bops
0
308
Member Avatar for aals

hey...i need help with magento...with a travel booking engine integration i have got the directory structure figured in magento. There is this static block where i need the booking form to be put up, then i need to create page where the results are to displayed... i jus dont how …

Web Development cms ecommerce php
Member Avatar for Mobcom
0
313
Member Avatar for rhodoscoder

//index.php $img_dir ="C:/xampp/folders/img/*.jpg"; $thumb_width = 100; // Open a known directory, and proceed to read its contents $scan= glob($img_dir); foreach($scan as $image) { $im= imagecreatefromjpeg($image); $img_width = imagesx($im); $img_height=imagesy($im); $thumb_height= floor ($img_height *($thumb_width/$img_width)); $new_img=imagecreatetruecolor($thumb_width,$thumb_height); imagecopyresized($new_img, $im, 0,0, 0, 0, $thumb_width, $thumb_height, $img_width, $img_height); $thumb_path = "C:/xampp/folders/thumbs/"; imagejpeg($new_img,$thumb_path); } The error …

Web Development file-stream php
Member Avatar for minitauros
0
239
Member Avatar for adsegzy

Hello Firends, I am developing a fashion website where visitors can come and select branded T-Shirts. Visitors will have to choose Man, Woman or Kid Avatar in order to check out the display of the Clothes. What I need is that, on the COLOUR CATEGORY, if the visitor click on …

Web Development php
Member Avatar for adsegzy
0
279
Member Avatar for Eagle.Avik

hi, i want ajax to be called only once, but insted it calls everytime when i click on the button. my script: $(document).ready(function(){ $("#modal-launcher-user").click(function(){ $('#preloader_image_edit').show(); $.ajax({ url: "image_edit.php", cache: false, }) .done(function( html ) { $("#preloader_image_edit").hide(); $( "#results_image_edit" ).append( html ); }); }); });

Web Development javascript javascript-jquery
Member Avatar for Eagle.Avik
0
691
Member Avatar for eburlea

Hi. I have a mysql field with a record like: [2,5,11]. I have a query like: $query = $this->select() ->from($this->_name) ->where('id = ?', $id); This query work if record is of integer type: 5. Is it possible to create a query to find 5 in the array? Please advise. Thanks.

Web Development mysql php sql
Member Avatar for eburlea
0
343

The End.