Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
92% Quality Score
Upvotes Received
36
Posts with Upvotes
31
Upvoting Members
27
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
11 Commented Posts
10 Endorsements
Ranked #180
Ranked #383
~180.91K People Reached
About Me

Just some guy who loves computers

Interests
Website coding, programming, gaming
PC Specs
3.61 Ghz 8 core processor, 32GB DDR3 RAM, 120GB SSD, 3TB HDD, 4TB SSHD, 2GB Ti GPU w/dual monitors
Favorite Tags
Member Avatar for Duki
Member Avatar for Borzoi

I've been trying to find a way to filter the Event Viewer in Windows by the description instead of the event type/source etc. I figure that i need to use the XML tab to customise it as there is no option in the basic filtering for what I want. One …

Member Avatar for GreenVomit8
0
4K
Member Avatar for HanFromNL

You don't have to have the whole page written in PHP if it's saved as a .php file. You could have the whole page written in HTML if you wanted. Either way, the end user will never see the PHP code even if they try to view it as the …

Member Avatar for Nour_6
0
37K
Member Avatar for Borzoi

I'm trying to get my computer to output audio in mono but despite selecting the option within the Ease of Access centre to enable mono audio, my audio is still coming out stereo. The reason I need mono audio is because I need to hear all of some audio tracks …

Member Avatar for Reverend Jim
0
1K
Member Avatar for Ancient Dragon

I want to tell a joke about UDP but I don't know if you'll get it.

Member Avatar for jkon
4
4K
Member Avatar for Borzoi

I got a new case (Thermaltake View 27) and I'm having trouble undoing the screw on the PCI shield thing where the GPU should be. I can undo all the other screws except this one. Can anyone provide tips on how I can go about getting it loose so I …

Member Avatar for Borzoi
0
646
Member Avatar for Borzoi

So I'm having a huge brain fart here and I know for a fact I am going about this the wrong way. Unfortunately, I can't refer to previous work I've done where I have done this correctly as I no longer have access to them. I have my index page …

Member Avatar for Borzoi
0
293
Member Avatar for Borzoi

I have had a look online but can't seem to find what I want. I can find RDP clients for Linux but that is not what I want. I am looking for some software so that a Linux server can be used as a relay or proxy. The idea is …

Member Avatar for mike_2000_17
0
6K
Member Avatar for Borzoi

I have been tasked with making some internal software (as you can probably tell from the section I'm posting in, it's PHP based). I have been asked to make it so the user is automatically logged in and doesn't need to have another password for another piece of software. The …

Member Avatar for Borzoi
0
10K
Member Avatar for AllanSS

Like ardav said, you need to set $pageTitle before it can be used. Is it being set in one of the included files before the <title> tag?

Member Avatar for diafol
0
2K
Member Avatar for Borzoi

I think I am missing something obvious here but I can't see what. I am pulling information from another file using `file();` which works as expected - putting each line in to an array. The file contains some HTML tags but is just a text file (not a full web …

Member Avatar for Borzoi
0
406
Member Avatar for Borzoi

As the title suggests, I'm looking for a command line text editor with syntax highlighting. I don't have a GUI installed and I don't intend to install one which is why I need a command line one. I usually use nano for my text editing but this doesn't come with …

Member Avatar for JasonHippy
0
1K
Member Avatar for nadiam

For an immediate solution to the above, you need to delete the MySQL socket file and restart MySQL. To remove the socket file: rm /var/lib/mysql/mysql.sock To restart MySQL: /etc/init.d/mysqld restart If you are using shared hosting, this is something your web host will need to fix. This usually happens when …

Member Avatar for janissantony
0
858
Member Avatar for SimonIoa

Can you elaborate on what you mean by "the string works" please? Do you mean that the `$profileurl` variable is having the video URL placed in it? I'm pretty sure that isn't correct code for embedding YouTube URL's. Looking at the code that YouTube itself gives when you select the …

Member Avatar for SimonIoa
0
233
Member Avatar for SimonIoa

Using your original code which is removing the `n` but not the `\\`, all you need to do is escape the backslash with another backslash. `UPDATE messages SET `text` = REPLACE( `text` , '\\r' OR '\\n' OR '\\r\\n') `

Member Avatar for steelbrain
0
407
Member Avatar for erabxes

What is the ouput of these lines? echo "session_var = {$_SESSION['session_var']}<br>\n"; echo "session_var2 = {$_SESSION['session_var2']}<br>\n"; It's better practice to have the variables outside the quotes like this (although this shouldn't affect the output): echo "session_var = {".$_SESSION['session_var']."}<br>\n"; echo "session_var2 = {".$_SESSION['session_var2']."}<br>\n";

Member Avatar for erabxes
0
363
Member Avatar for Vb.Netter

Adam's link broke when posting. Try this: http://technet.microsoft.com/en-us/library/ms177410%28v=sql.105%29.aspx

Member Avatar for adam_k
0
191
Member Avatar for ankit1122

To save on the amount of database queries being run as the end user types, you may want to pull all possible options form the database and put them in to an array and query that array instead of the database.

Member Avatar for Borzoi
0
130
Member Avatar for davy_yg

As mattster said, you need to add `session_start()` at the top of the file. You can't add it after anything else. It needs to be before even the doctype declaration: <?php session_start(); ?> <!DOCTYPE ...> [Rest of content]

Member Avatar for Borzoi
0
317
Member Avatar for toxicandy

You have the following if statment in your volunForm.php page: if(!isset($_SESSION['sess_user_id']) || (trim($_SESSION['sess_user_id']) == '')) { header("location: login.php"); exit(); } This is redirecting anyone who doesn't have the session cookie `sess_user_id` set. Make sure this is being set when the user logs in.

Member Avatar for toxicandy
0
196
Member Avatar for davy_yg

If the script is working on another server but not yours then your firewall may be the problem, blocking the connection. Pinging smtp.gmail.com will not tell you if the port is blocked. What is the error you are getting?

Member Avatar for mattster
0
254
Member Avatar for bradly.spicer

On line 3 you are setting `$offset` to 0. I think you're intending to get this from the URL so the line should be: $offset = $_GET['offset']; This will get whatever value is in the URL. You'll want to force it to 0 if it's not set with an if …

Member Avatar for bradly.spicer
0
210
Member Avatar for radostin.angelov.370

If `$dataArray` is a variable then your session token should be `$_SESSION[$dataArray]` without the quotes in the square brackets.

Member Avatar for mattster
0
317
Member Avatar for SimonIoa

If you're on a shared hosting solution, you likely won't have access to a php.ini file. You can see what the upload limit is set to by uploading a PHP Info file. The contents of the file would just be this: <?php phpinfo(); ?> I tend to save that as …

Member Avatar for Airshow
0
127
Member Avatar for Sophia_1

Can you let us know what the error is you are getting when you run this? Do you have a form passing to your `$_POST` variables? If nothing is passing to the `$_POST` variables, there would be nothing to add to the database.

Member Avatar for veedeoo
0
518
Member Avatar for hemanshurpatel

Do you have any foreach loops before line 124? While line 124 is the one with the reported error, the cause of the error could be before it.

Member Avatar for hemanshurpatel
0
2K
Member Avatar for James_30

I think you've posted this in the wrong forum. This doesn't seem to be related to web development. To answer your question, the Windows command prompt can only display up to a certain amount of lines so when you reach that amount, you won't be able to scroll back further.

Member Avatar for JorgeM
0
128
Member Avatar for javed.iqbal.3979

Your syntax is incorrect. To specify the password, you use the `-p` flag, you don't type `password`. mysql -u root -p password This will log you in to MySQL from the command line.

Member Avatar for Borzoi
0
159
Member Avatar for SimonIoa

Do you know what the returned message states? I see you have specified a From address in the script so the bounce would be returned there.

Member Avatar for SimonIoa
0
185
Member Avatar for davy_yg

This line: $mail->Host = "ssl://smtp.indonusa.net.id"; ...should not contain `ssl://` at the beginning. I'm fairly certain it should simply be: $mail->Host = "smtp.indonusa.net.id"; If not, specity `http://` at the beginning. The reason I believe you don't need it is because this line: $mail->SMTPSecure = ''; ...is what determines if it uses …

Member Avatar for cereal
0
2K