Posts
 
Reputation
Joined
Last Seen
Ranked #866
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
79% Quality Score
Upvotes Received
22
Posts with Upvotes
19
Upvoting Members
15
Downvotes Received
6
Posts with Downvotes
6
Downvoting Members
6
3 Commented Posts
7 Endorsements
Ranked #260
Ranked #718
~85.7K People Reached
About Me

Happily married , Certified Java Engineer.

Interests
Favorite languages : JAVA, PHP. Favorite people:My wife and my son
PC Specs
Components housed by Thor Full Tower : Powered by a Rosewill 1000W PSU. Memory : 32 GB 240-Pin DDR3…
Favorite Tags
Member Avatar for Dani

Wow Dani, I am sorry to hear this. I have been a member here for a few days. I do not post a lot, but I do frequent the forums. Personally I enjoy this forum more than Stackoverflow. Looking at your examples, I believe it is the way the answers …

Member Avatar for j.khurram
11
5K
Member Avatar for JackticalNuke

Yes you can use curl to do this. If it is a very large video then you will probably have to increase memory on your PHP installation or you can crash the server if your php locks and can't close the connection. Being on shared hosting I would not attempt …

Member Avatar for tiểu
0
2K
Member Avatar for blueguy777

To expand on cereal's comment. You may also look into the types of comparison operators. == is Equals. Using this operator will only compare the value. === is Identical. This operator will compare type and value of the variable. === Should be used on strings.

Member Avatar for diafol
0
122
Member Avatar for diafol
Member Avatar for davy_yg

In logout.php maybe try to use `unset($_SESSION['username']);` <?php unset($_SESSION['username']); session_destroy(); header("location:index.php"); ?>

Member Avatar for mattster
0
160
Member Avatar for toxicandy

Yes you can use variables to build your query. One way is to build your form, validate whether or not fields in your form are blank and if so do not process those fields. The fields that are activated use them for your query. You can also put all the …

Member Avatar for DJBirdi
0
387
Member Avatar for JulieR31392

This is how I would do this. Create a form to add everything including the upload for the license and note. Choose what type of formats you want to allow also. (eg: pdf, png, jpg, rtf etc....) Add the form fields to the database and upload the license and note …

Member Avatar for Banderson
0
182
Member Avatar for Pravesh_1

As pritaeas mentioned, it is probably a misconfiguration on localhost. Try to run this code in localhost: <?php if ( extension_loaded( 'gd' ) && function_exists( 'gd_info' ) ) { echo "You have the GD Library installed"; } else { echo "GD Library is not installed"; } ?>

Member Avatar for Pravesh_1
0
754
Member Avatar for shrutisk

The most obvious place is the manual itself you can view them online or download it in multiple languages. [Click Here](http://php.net/docs.php) I also found the O'Reilly php books very helpful when I was a beginner and still do from time to time. Good luck in your experience. [Click Here](http://oreilly.com/php/)

Member Avatar for diafol
0
176
Member Avatar for wikit
Member Avatar for Hilal2009

I don't think it is possible using PHP since PHP is server side only. It will only return the time and date of the server. You may need to use javascript or another client side language to get the client machine time and then capture that value with PHP and …

Member Avatar for diafol
0
5K
Member Avatar for ankit1122

Yes there are several free alternatives for SMTP and PHP. If your server has PEAR installed you could use that. You can also use GMail or SwiftMailer to send email. The solution that urtrivedi has given you is a free solution, but here are a couple more links below. pear.php.net …

Member Avatar for Banderson
0
400
Member Avatar for Sammys.Man

I usually use GDChart if I need to generate a graph or chart in PHP. Also if you need have a way to manipulate the chart in a browser you could use PHP to update the values or you could use JQuery. What you use depends on the type of …

Member Avatar for Sammys.Man
0
132
Member Avatar for markii.borabon
Member Avatar for markii.borabon
-2
299
Member Avatar for Jay_7

Do you have your PHP extensions configured correctly? Also I am not sure what version of PHP version you are using or your OS, but PHP support for MSSQL is not supported on windows with PHP 5.3 or later. http://www.php.net/manual/en/intro.mssql.php

Member Avatar for veedeoo
0
414
Member Avatar for davy_yg

This can be done using [Bootstrap](http://getbootstrap.com). Have alook at this [fixed top example](http://getbootstrap.com/examples/navbar-fixed-top/).

Member Avatar for <M/>
0
231
Member Avatar for Robonte

What is your database name? Where are you selecting it? Are you connecting and selecting in another include? If this is your complete code above, then the query is failing. Add die() like so on this line. $resultcitrix = mysql_query($select_query_citrix)or die(mysql_error()); You will need to connect and select above this …

Member Avatar for bradly.spicer
0
350
Member Avatar for Olagsfark

You could easily create a PHP method to record each hit from each IP. Just input the hits to your database and increment a given column on the table. If so many hits deny IP by writing to Apache or another php script which will deny IP. If you think …

Member Avatar for pritaeas
0
172
Member Avatar for JacobAbrham

There is nothing to explain. # is not used because it is not implemented in JAVA to be used that way. You could put it in a string , but you cannot use it the way you are explaining. That character is not accepted everywhere anyway. JAVA is designed to …

Member Avatar for Banderson
0
202
Member Avatar for AndyFang1998_1

PHP can read text files with any separator you input. The text files needs to be read access on your server to be read. However, you do know this will expose your passwords and acccount information to anyone that finds the path to this text file on your server, right? …

Member Avatar for Banderson
0
179
Member Avatar for hallianonline

This code is encrypted. You will need a key or hash to decrypt, echo will not work. That simple. It's not that easy :). Has the developer given you permission? Even if you figure out how to decrypt it , unless it is your code your illegal. It is called …

Member Avatar for broj1
-1
208
Member Avatar for davy_yg

You want complex eh? Use [Laravel](http://laravel.com/). Laravel is OOP and why reinvent the wheel? I like a touch of craft in my applications this is why I always use objects and not arrays.

Member Avatar for Banderson
0
184
Member Avatar for yavindu

There is no such thing as a date input type unless your developing with HTML5. Your code needs to be: <?php $system_date = Date('m/d/Y'); ?> <input type = "text" value ="<?php echo $system_date; ?>"> The date method in PHP has single or double quotes, since it is a defined function.

Member Avatar for cmps
0
297
Member Avatar for GlenRogers

@diafol I agree. In my development I can do without Ajax completely as PHP can do what Ajax can do if coded correctly, on the fly(eg: return errors()). I'd also like to add that the more javascripts you add to a page the slower it can become for the client …

Member Avatar for Banderson
0
4K
Member Avatar for حسنين_1
Member Avatar for spluskhan

Sounds like your query is failing. Try to replace // if successfully updated. if($result){ echo "Successful"; echo "<BR>"; echo "<a href='list_records.php'>View result</a>"; } else { echo "ERROR"; } with: // if successfully updated. if($result): echo "Successful"; echo "<BR>"; echo "<a href='list_records.php'>View result</a>"; elseif(!$result): die('Error: ' . mysql_error()); endif; This should …

Member Avatar for pritaeas
0
165
Member Avatar for wareez

Read your error. Connection to host was established , but username and/or password are wrong.

Member Avatar for Banderson
0
237
Member Avatar for Shikha_1

I am assuming you are requiring a captcha of some sort. As pritaeas stated, look into AJAX. You can refresh a css DIV using AJAX without refreshing the entire page. Generate the string with PHP and embed the string/function into the css DIV. Make an AJAX call whenever you want …

Member Avatar for diafol
0
154
Member Avatar for yavindu

I doubt very seriously that you will be able to deploy an app running under that version. Even so I would not recommend it. That version of PHP is 7 years old. It has major security flaws in it. If you decide to deploy it under that version I would …

Member Avatar for Atli
0
265
Member Avatar for thearts.beach

Try this: <INPUT name=c value="<?php echo 'href=http://',$data2['c'],' " ',$data2['c'] ?>">&nbsp;

Member Avatar for thearts.beach
0
290