39,316 Topics

Member Avatar for
Member Avatar for mmcdonald

I've focused my night on better grapsing authentication security and believe I have made good progress. To date I have simply relied on SHA1 hashing and prepared statements - not much, right... So I knew it was time to pick up some new skills. What I came across was very …

Member Avatar for diafol
0
289
Member Avatar for leokuz

For some reasone everytime I enter either correct mine or someone else's valid email and password, I get message: Sorry, your credentials are not valid, Please try again. What is wrong with this form?

Member Avatar for tpunt
0
383
Member Avatar for venkyb47

When I type URL file://///server01\PUBLIC\PEG\ in browser address bar, browser redirecting to that location and shows the documents available. But when I use same url in href browser not redirecting to the href location. <?php echo '<a href="file://///server01\PUBLIC\PEG\">click here</a>'; echo '<a href="file://///server01/PUBLIC/PEG/">click here</a>'; ?> php code is not working. When …

Member Avatar for cwarn23
0
262
Member Avatar for tibormarias

Evening Sirs! Well I have a quiet emberrassing problem caused by i don't know what, but I would like to get rid of this issue. I have a login with session open every .php document. But when I try to open the following file, it stops my session. This is …

Member Avatar for tibormarias
0
231
Member Avatar for Priti_P

Hello, First of sorry I dunno where should I put this question. @admin if it is not supposed to be put here then plz provide me path so taht I will put the same there. My doubt is. Internal website is developed in Drupal 6 I wanted to create its …

Member Avatar for maori
0
88
Member Avatar for kate.negley

Hi there, I created a basic website running off Wordpress. I then customized the theme. The website is up and running, fully functional. But now when I try to login to the Wordpress dashboard to edit the pages, I see a blank white page with this error: Warning: Cannot modify …

Member Avatar for kate.negley
0
429
Member Avatar for johndohmen1963

I have a question hw can i ad 18 years to the folowing date $rowy_geboorte_datum = new DateTime($rowy['geboortedatum']); $geb_dat_echtgenote = date_format($rowy_geboorte_datum, 'd-m-Y'); $rowy['geboortedatum'] is from a mysql data table and could even before 1902 as example 1820-06-10 thanks in advice John

Member Avatar for mmcdonald
0
144
Member Avatar for praba_web

whenever i open phpmyadmin it showing that access denied and #1045 - Access denied for user 'root'@'localhost' (using password: YES) phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they …

Member Avatar for mmcdonald
0
217
Member Avatar for Ozzzi

Hello , I'm in some trouble regarding the following code.I must state first that I'm a beginner in programming, and that I've tried to understand other solved solutions before crying for help , but with no luck.Had tons of errors and a lot of frustration ; almost gave up(work on …

Member Avatar for Ozzzi
0
572
Member Avatar for slyme

Hi, thanks for looking at this post. I have searched and experimented and after hours of getting really close I have finally admitted to my self that I'm going to have to stop and ask directions! So, I want the browser address http://drivingmeinsane/Join to be re-written to http://drivingmeinsane/?page=Join I've come …

Member Avatar for slyme
1
367
Member Avatar for aVar++

How do I check if a query has returned a value or not because this isn't working? I swear I have done it before but I can't work out why it isn't working. echo "<form action = 'NoughtsAndCrosses.php' method = 'POST'> <input type = 'text' name = 'game_search'> <input type …

Member Avatar for aVar++
0
226
Member Avatar for GlenRogers

I have a dropdown box to choose topics from a discussiob board so i can then view all the replies for deletion etc. At the minute when I choose a topic i then press a submit button and get all the answers. But is there any wayt i could have …

Member Avatar for diafol
0
169
Member Avatar for Danny_3

I want to create a REST api using php for my website so that, my app can access the data stored in the database. I need for the user to be able to log in to the server through the app and i am unsure of how to implement this …

Member Avatar for phorce
0
449
Member Avatar for Paul_17

Hi Guys, Been talking to a friend about my code I have been working on.I could not figure out how for the life of me to check whether an email or code in my database is already in use. So just to cool down for a bit i put conditions …

Member Avatar for Paul_17
0
908
Member Avatar for Shikha_1

<center><table border="2"> <tr><td><p><center>YOUR SCHOOL IS </center> </p></td></tr> <tr> <td colspan="2" id="combo"> <?php require("Dbconnect.php"); $qry="select class_id,class_name from master_class"; $result=mysql_query($qry); echo "FROM"; echo "<SELECT name='combo1' size='3' >\n";/* creating Ist drop down*/ while($row=mysql_fetch_array($result)) { echo "<option value='$row[0]'>$row[1]</option>\n"; } echo "</select>"; $qry="select class_id,class_name from master_class";/* creating 2nd drop down*/ $result=mysql_query($qry); echo "TO"; echo "<SELECT …

Member Avatar for bradly.spicer
-2
149
Member Avatar for fheppell

I have a problem with one of my php scripts. I've got a file called view.php. If I go to test.com/view?id=7575 it comes up with a 404 error. However if I go to test.com/view.php?id=7575 it works. Why is this?

Member Avatar for gogs85
0
204
Member Avatar for gogs85

I have this url:http://localhost:8080/skolski_portfolio/index.php?id=main&page=portfolio and i want to be http://localhost:8080/skolski_portfolio/portfolio then i make this rule in .htaccess RewriteEngine On RewriteRule ^([^/]*)/([^/]*)\.html$ :8080/skolski_portfolio/index.php?id=$1&page=$2 [L] i have error! How to fix this?

Member Avatar for cwarn23
0
97
Member Avatar for madmax9922

i have a problem to redirect user to the requested page after login. 1-this are my files:login.php,register.php,protected.php,plan1.php,member.php et plan2.php,home.php 2-plan1,plan2, and member have a check before people have access. 3-when a user click on plan1 for exemple and get redirect on login.php 4-My problen is after logged in he goes …

Member Avatar for madmax9922
0
42K
Member Avatar for mmcdonald

Should be simple right? Well I've been at the PC for 16 hours so far and the answer is probably screaming at me in the face, but I can't hear it... # This code... # $differenceInSeconds = 448005; if($differenceInSeconds >= "86400"){ $calcDays = floor($differenceInSeconds / 86400); if($calcDays = "1"){ $daysPlural …

Member Avatar for mmcdonald
0
272
Member Avatar for GlenRogers

I have 2 tables for a simple massage board, one for questions and one for answers. The table forum_questions has a field called 'reply' with holds an int value for the number of answers the question has. My problem is this: I have a form to delete answers, you pick …

Member Avatar for GlenRogers
0
291
Member Avatar for logicslab

Dear Friends, I am using Simple-REST Library for my REST Web service purpose . I need to integrate "OAuth2" with my REST API skeleton. I attached the REST - API Client & Server for your reference . Please check it and help me with a good solution for implementation. Thanks, …

Member Avatar for logicslab
0
345
Member Avatar for PF2G

Hi, I'm doing a page where the user is logged with facebook and when he buys something. when the process is completed it shares a default text in my facebook timeline. I can't find that API code, can someone help me? Here's what i have: <?php include('header.php'); ?> <body> <div …

Member Avatar for AARTI SHRIVAS
0
161
Member Avatar for vibhaJ

I have mobile web services written in PHP. Ant it is running on Apache Linux. Suddenly since yesterday our server became too slow. We found the reason that there are many continuous connection is coming to our server. Which is engaging bandwidth and making server slow. We have asked hosting …

Member Avatar for vibhaJ
0
194
Member Avatar for venkyb47

PHP is running inside server1. Documents(.xls,.doc) available inside server2. When I am redirecting to document path from php code (available at server1) the url becomes like this *server1<path>/server2/<documentname>* But I want to open url from php code is like this *server2/<documentname>* I dont want to include server1 path as prefix. …

Member Avatar for venkyb47
0
191
Member Avatar for faisaldss

I have the following issue related to URL rewriting. I am sure there must be some good solution to this. I converted this URL domainname.com/index.php?page=product&pid=5&proTitle=Samsung Galaxy After rewrite it looks like this domainname.com/products/5/Samsung-Galaxy.html The .htaccess code looks like this. RewriteRule ^products/(.*)/(.*).html$ index.php?page=product&pid=$1&proTitle=$2 [nc] Rewrite Works fine. However, if I try …

Member Avatar for mmcdonald
0
181
Member Avatar for devianleong

Hi, I've a project is create a shopping cart system. I'm wondering how to create add option(color,size,etc) in add product page just like opencart? I'm trying to understand opencart files but too bad, I don't understand class file at all. Anyone can give me some concept about how it work? …

Member Avatar for mmcdonald
0
152
Member Avatar for devianleong

Hi,currently i m developing a PHP Cart. I have a php function is call product option value. When Admin adding product ,ajax will load my php function without refreshing page to allow admin to select the option like color,size etc. In my php function got no any submittion data but …

Member Avatar for devianleong
0
219
Member Avatar for dannybarh

Am building a vehicle fleet management system, srevice cost is added each time a vehicle is serviced. Now, lets say vehicle A have been service 8 time, B 5 times, C 10 times ... I want to show the SUM(cost) for servicing each vehicle at the same time. I wrote …

Member Avatar for dannybarh
0
170
Member Avatar for kshahnazari

$link = "http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=90A1173C22358704FA80D2070D9C987C&steamids=76561198081118741" $file = file_get_contents($link); echo $link; echo $file; I have coded this php , when it runs the link and the file are echoed but the link is right (also I know its correct) but the file echo gives nothing , when I go to the link a …

Member Avatar for anthonydaly
0
143
Member Avatar for durgesh1

here is html and php code i like to pass video from my database to this via jquery on click action i try to do something like this but it fail jquery code `jQuery("#player").val(data["video"]);` <p> <label style="width:87px">Video:</label> <div id ="show_image2" style= ""> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="player" name="player" width="500" height="300"> <param name="movie" …

Member Avatar for durgesh1
0
317

The End.