208 Posted Topics

Member Avatar for riahc3

It looks as though the data is just being placed at the beginning of the table in MySQL5.1 instead of the end. Unless specified, MySQL will add the inputted data to the end of the table, not the beginning. I don't recall this being different in MySQL 5.1. How are …

Member Avatar for riahc3
0
488
Member Avatar for Borzoi

I tend to use XHTML due to browser compatibility. In almost all cases where I've worked with XHTML, the content has displayed in every browser the same and the times it didn't was due to certain browsers *cough*IE*cough* not supporting the CSS styles I was using. When HTML 5 was …

Member Avatar for Borzoi
0
196
Member Avatar for RLS0812

> However, from what I hear about them these days they are pretty much evil incarnate. They've just taken the Dungeon Keeper motto of "It's good to be bad" to heart.

Member Avatar for jwenting
0
225
Member Avatar for Borzoi

Hi, I'm not sure if I'm posting this in the correct place as this is related to nginx configuration and not specifically PHP scripts. If I am posting this in the wrong section, please let me know and I will post it in the correct location (unless a Mod is …

Member Avatar for Borzoi
0
866
Member Avatar for davy_yg

The `header();` function also needs to be before any output to the browser, if I'm not mistaken. You basically just wamt to move the PHP in your code (lines 46-58 in the code you've given) to the top of the page, before the `<!DOCTYPE>` declaration. I also recommend you put …

Member Avatar for Borzoi
0
199
Member Avatar for riahc3

This can be done purely with CSS if it's just a drop-down menu. The `<option>` tag doesn't allow `<img>` tags to be nested in but you can use the CSS backround option. My below example assumes that each item has a different image and I'm using random cat images I …

Member Avatar for riahc3
0
855
Member Avatar for Borzoi

Hi there, I've not been on here in a while. I'm having trouble with a PHP function and I'm pretty sure I'm missing something very obvious or I'm doing something wrong so hopefully someone can help me reach that inevetable facepalm or headdesk when I realise what I'm doing wrong …

Member Avatar for Borzoi
0
227
Member Avatar for Borzoi

Hi everyone. It's been a while since I've needed help with a PHP problem. Hopefully someone here knows what I'm doing wrong because I can't see it. I am trying to use rename() to rename an image file which is in a subdirectory of a subdirectory the script is running …

Member Avatar for Borzoi
0
222
Member Avatar for Borzoi

Hello everyone. Hopefully somebody can help me. I have an old 250 GB external HDD which I used to use for data storage. It's a fairly old model (bought it in 2005) and the USB port on the caddy seems to be broken. At first, I could have the HDD …

Member Avatar for cloud_server
0
278
Member Avatar for Borzoi

I have a server which is hosting just a single site and because of this, I intend to redirect all traffic from domains which isn't mine to my domain. For example, if a random person decides for some reason to point their domain to my server, when my server gets …

Member Avatar for Borzoi
0
310
Member Avatar for Borzoi

I currently have a problem where DVD's will not output any audio to the front speakers of my 5.1 surround sound unless something else is also sending audio there. For example, I watch a scene with lots of dialogue but I only have the background audio. If I open up …

Member Avatar for reedone816
0
270
Member Avatar for Borzoi

I am trying to write a shell script but I only want it to run if there are no files with a specific name found on the server. I know how to check for a specif file which would be done like this: if [ -f /path/to/file ] then echo …

Member Avatar for Watael
0
279
Member Avatar for SusanHAllen

I don't see why you need to use asp to link to a page like you are. Correct me if I'm wrong but from what I can see, the image will always link to that ContactUs.aspx page and therefore you don't need any sort of scripting to get the link …

Member Avatar for karthikreddy509
0
382
Member Avatar for GrimJack
Member Avatar for vinnitro
1
3K
Member Avatar for nikita.chandra

Even if you have the font, anyone viewing your site will need to have the font installed on their computer to be able to view it. To use the font though, find out what it's displayed as (in Word for example) then in the CSS you would put [icode]font-family: font …

Member Avatar for fheppell
-1
183
Member Avatar for Borzoi

I have spent weeks looking for a solution online but I have turned up with nothing. I am running Windows XP Professional (this has been tried on both service pack 2 and service pack 3) but every time I try to run the Cisco VPN client I get "Error 56: …

Member Avatar for Borzoi
0
1K
Member Avatar for Azmah

I was always taught BODMAS/BIDMAS: (B)rackets powers (O)f/(I)ndices (D)ivision (M)ultiplication (A)ddition (S)ubtraction In some countries, replacing "Brackets" with "Parentheses" would be the case making it PODMAS/PIDMAS but I've never hear of PEMDAS. I'm assuming the "E" is representing another word for powers of or indices but why is the M …

Member Avatar for BDove
0
2K
Member Avatar for aeinstein

I am also looking for a Domain Name Registrar with no extras. I don't need the technical support and I know how to set up my server exactly how I want. I'm currently using a free .co.cc domain until I can find a good one. The service .co.cc provides is …

Member Avatar for catter
0
147
Member Avatar for Borzoi

I recently bought a 3DTV (today, in fact. Just waiting for it to arrive early next week) and the only thing I need is an HDMI cable which can carry a 3D signal since my current one is only v1.3 which I believe cannot carry a 3D signal. I know …

Member Avatar for caperjack
0
416
Member Avatar for Borzoi

I currently have a small script I've written that basically takes an incremental backup of a folder which looks similar to this: [code] #!/bin/bash cp -ruf /home/folder4/subfolder/ /home/folder5/ cp -ruf /home/folder3/subfolder/ /home/folder4/ cp -ruf /home/folder2/subfolder/ /home/folder3/ cp -ruf /home/folder1/subfolder/ /home/folder2/ [/code] Now this runs fine, only updating the files that …

Member Avatar for JeoSaurus
0
210
Member Avatar for Borzoi

I've been trying to set up my computer so that I can remote in to it while I'm away from home but it doesn't seem to be working. At first, I thought the problem may be with my router not forwarding the ports properly or something like that but when …

Member Avatar for Reverend Jim
0
386
Member Avatar for Borzoi

My dad recently got an HTC Widfire and I was setting it up for him because he didn't want to ruin it, despite the setup being very simple. I had set up the e-mail using the default "Mail" app that came on the phone (not the Gmail one) and it …

Member Avatar for Borzoi
0
152
Member Avatar for Borzoi

I plan on making a web server for myself. Just a small site for myself containing my blog and a small infrequently updated webcomic, nothing huge and commercial and was wondering what is generally the best Linux to use for this. I have made web servers before using Windows XP …

Member Avatar for Moncky
0
275
Member Avatar for NicAx64

I've had awful teachers before. -English teacher which marked my coursework as wrong because I used a word that he never heard me say before. -Maths teacher that taught us what we needed to know for the modular exam AFTER the exam. -Maths teacher that constantly lost coursework and refused …

Member Avatar for Momerath
0
251
Member Avatar for Borzoi

Post your riddles here! Here's an easy one: A bicycle takes exactly 40 minutes to travel a 40 minute journey. How long would it take a car that goes twice as fast?

Member Avatar for Borzoi
0
745
Member Avatar for Borzoi

Hello everyone. I am currently building a website for a business I plan to start up sometime this year. I have a few questions as to what the requirements are for an e-commerce site and best practice for some parts. I will number the questions so that they can be …

Member Avatar for Rolygate
0
240
Member Avatar for Borzoi

Who thinks that LEGO Karate Kid should be the next LEGO video game to be made? Based on the original trilogy, of course. It'll fit their 3 story format they've used. It may be hard in some parts to make it 2 player though. The tournament for example (unless they …

Member Avatar for Moncky
0
212
Member Avatar for cristi08

Most servers place index.html above index.php so if you've made your home page as index.php and the host automatically puts an index.html page up, then it'll be displaying index.html. Have a look on your host and see if there is an index.html file and if so, delete it so that …

Member Avatar for cristi08
0
246
Member Avatar for BlueCharge

What is the post stored as in the database? If it's stored as "text" and not varchar() then I believe you don't need the <br /> tags as line breaks are automatically placed which may be why your line breaks are doubling.

Member Avatar for Borzoi
0
108
Member Avatar for Skrljutak

Even strong passwords are crackable and it won't stop the user being subjugated to phishing. I would go with ardav and only allow bbcode.

Member Avatar for diafol
0
377
Member Avatar for fuston05

Using [icode]&nbsp;[/icode] like that would only make it align correctly for the screen size you're viewing on. One thing you could do is wrap each part in it's own <p> tag and use CSS to set them all to the top of the div that they are already in then …

Member Avatar for fuston05
0
2K
Member Avatar for litchi

The most secure way would be to invent your own encryption method (as long as it's not as simple as +1 to each character or something stupid like that). The downside to this is that it will take a while to code.

Member Avatar for Plyswthsqurles
0
93
Member Avatar for Narue

Nick Evan - A llama who can somehow use a computer. Maybe the avatar is just throwing me off. Narue - Makes me think of Naru Narusegawa from Love Hina which makes it hard for me to imagine what she's like. Ancient Dragon - Not sure why but I imagine …

Member Avatar for bumsfeld
6
257
Member Avatar for Nick Evan

I am happy to flag any spam I come across but I don't want a reward so I won't be PMing you the link to the post I flag. It's a nice idea to offer it to get newer members to start flagging bad posts though.

Member Avatar for AndreRet
2
435
Member Avatar for crenfrow

Your if statement is doing nothing. If you want to check if something is in the variable then use this: [code] if (isset($send)) [/code] Also, there is no part of that code where you send the mail. Lines 25 and 26 wouldn't cause the mail to send as you're just …

Member Avatar for pritaeas
0
139
Member Avatar for Borzoi

I'm currently building a website for a small charity and they've asked me if it was possible to make an admin area where they could access some of their work when they're out and about so they don't have to fill in forms twice. I can do this as I …

Member Avatar for Borzoi
0
172
Member Avatar for showman13

Could you post the PHP that calls the variables to be placed in the values? We could probably help if we saw the supposed problem code.

Member Avatar for showman13
0
366
Member Avatar for zlloyd1

You can remove duplicate values from the array with [icode]array_unique();[/icode]. [code] $array = array_unique($array); [/code]

Member Avatar for zlloyd1
0
157
Member Avatar for rime
Member Avatar for bjeffries

Where are you saving the .htaccess file? I was having trouble with mod_rewrite before and couldn't figure it out but it turned out that I had saved the file in the wrong place. I had saved it in the same folder as the server configuration files but it's supposed to …

Member Avatar for bjeffries
0
176
Member Avatar for mrnutty

[QUOTE=ardav;1417984][B]> Most threads are.[/B] What?! Next you'll be sayin' there's no Santa Claus as well. :'([/QUOTE] I hate to break it to you...

Member Avatar for Borzoi
0
171
Member Avatar for Borzoi

Back in 2004, I started a 2 year college course. This course was Btec National Diploma for IT Practitioners. That course is a level 3 qualification in computing (in case the course title wasn't obvious enough). I finished the course and passed, being the 4th best in the class. Today, …

Member Avatar for Borzoi
0
157
Member Avatar for Borzoi

Share your experiences that you've had with "experts" who have made you want to facepalm from their stupidity and users which have less than minimal knowledge. For example, people that wonder why their computer doesn't turn on during a power cut. My most recent one that I can recall is …

Member Avatar for The Mad Hatter
0
157
Member Avatar for MooGeek

I sometimes lose track of time when I'm coding but I haven't deliberately tried to spend ages working on it or timed myself.

Member Avatar for ajst
0
170
Member Avatar for jeffcogswell

I'm only guessing here but I have a feeling that the iPhone put back the device's clock an hour and then put the alarm time forward an hour. I.e.: 7:00am becomes 6:00am but the alarm should still be 7:00am and go off at that time but for some reason becomes …

Member Avatar for max121
3
887
Member Avatar for haribo83

In the DNS settings you need to set up a zone record. It would be an A record (Address) and the value would be the IP address of your server. You will probably want to make a couple. One for site.com and one for www.site.com so that both go to …

Member Avatar for Borzoi
0
117
Member Avatar for shafeequeom

Just as Kraai said, you need to view source and not save the page. Bear in mind that viewing the source only shows the outputted HTML and will not show any PHP so you won't be able to steal websites database passwords.

Member Avatar for Kraai
0
167
Member Avatar for styleest
Re: SMTP

If it's in your place of work, contact your IT department. It's likely they're using the default SMTP port but you will need to ask them as they may have changed it.

Member Avatar for Borzoi
0
264
Member Avatar for aitha

Make sure your DNS is set up so www.example.com is there. If it's not, then requests to www.example.com won't work as that doesn't exist. You just need to make it the same as your example.com entry.

Member Avatar for Borzoi
0
124
Member Avatar for lapunluyang

In my opinion, the best way to make a site is one that doesn't require a set maximum width. I would make it so that if the user has a high resolution (for example 1920x1080) then the site would expand to fit so as to minimise empty space but for …

Member Avatar for agrable
0
132

The End.