231 Posted Topics

Member Avatar for AdriftUniform

Have you tried replacing the underscores with its html entity code? In this case underscore is: [CODE]& # 9 5 ;[/CODE] (without the spaces) See [URL="http://www.quackit.com/html/html_special_characters.cfm"]here[/URL] Might be worth a try...

Member Avatar for AdriftUniform
0
173
Member Avatar for fabzster

[I]"the return() statement immediately ends execution of the current function"[/I]. See [URL="http://php.net/manual/en/function.return.php"]here[/URL] Therefore, the first line of code being executed in your function is returning the session variable and returning back to the area of code that the function was originally called from.

Member Avatar for fabzster
0
112
Member Avatar for eman neercs

It all depends, but Perl would be a suitable programming language to knock up a quick and dirty script that will pattern match and insert into your database. See [URL="http://www.developingwebs.net/perl/file_handling.php"]here[/URL] for opening file handles: See [URL="http://www.cs.tut.fi/~jkorpela/perl/regexp.html"]here[/URL] for regular expressions - (Formulate these in order to match the strings you are …

Member Avatar for nonshatter
0
137
Member Avatar for whiteyoh

Does that command run in your terminal? If it does then all you need to do is to to edit crontab and add the format to schedule the backup. How often do you want to run the command? [URL="http://adminschoice.com/crontab-quick-reference"]See here[/URL] for the format to use for scheduling tasks in crontab

Member Avatar for whiteyoh
0
90
Member Avatar for Nooshin Z

Well an .exe is an executable built for the windows environment, so getting it to run on any linux box isn't always possible. However, there is some emulation software you can try. The most well known is [URL="https://help.ubuntu.com/community/Wine"]Wine[/URL]: Wine is a program that offers a compatibility layer allowing Linux users …

Member Avatar for Chronister
0
283
Member Avatar for saadi06

The thumbnails you're creating don't have the correct permissions to be written/read from your web server. Are you using a local server or a web hosting service?

Member Avatar for saadi06
0
102
Member Avatar for skald89

It all depends on the application. Just to name a few testing procedures: - CSS/HTML validation - Performance testing - Link validation - Cross-browser compatibility Here's a link that provides tools you can use to do this: [url]http://www.graphicrating.com/2009/08/11/15-tools-for-testing-your-website/[/url]

Member Avatar for mschroeder
0
120
Member Avatar for CppBuilder2006

g++ is a C compiler. Use this command through your terminal to install it. [CODE]sudo apt-get install build-essential[/CODE]

Member Avatar for Moncky
0
156
Member Avatar for veledrom

It looks like your DNS configuration may need changing as your URL isn't being resolved across the LAN. Check your named.conf file and set up your forward and reverse lookup zones. [URL="http://www.linuxquestions.org/questions/linux-server-73/configure-dns-server-to-point-correct-ip-to-your-website-842851/"]This link[/URL] seems to answer what you're asking :)

Member Avatar for veledrom
0
556
Member Avatar for stephen_UK
Member Avatar for nonshatter

Hi all, Does anyone know of any software/classes that can be used to generate images of network diagrams? We are using a tool called Graphviz using Perl at the moment but the diagrams are looking a little bit dated! The networks will be pretty small, consisting of 3 or 4 …

Member Avatar for chrishea
0
1K
Member Avatar for whiteyoh

I can't give a specific solution based on what you've provided. What are you using to generate your graph? Is your character encoding set to UTF-8? Have a look into 'Fusion Charts' which is pretty good for graphing in PHP and AJAX.

Member Avatar for nonshatter
0
99
Member Avatar for shella

I'll have a look into this tomorrow, but have a read here in the mean time: [url]https://help.ubuntu.com/community/MountingWindowsPartitions[/url]

Member Avatar for shella
0
224
Member Avatar for tcollins412

Your php.ini settings are probably incorrect. You should use include('dbconnect.php'); rather than include=dbconnect.php;

Member Avatar for hielo
0
102
Member Avatar for shafeequeom
Member Avatar for alaa sam

If your using a virtual machine, I'd use [URL="http://www.virtualbox.org/"]Orcale VirtualBox[/URL] instead of VMWare - I think it's far better!

Member Avatar for ThisOldMan
0
286
Member Avatar for Hideyshi

have you tried [CODE]lsusb[/CODE] or [CODE]fdisk -l[/CODE] Not sure if that will give you the required information though...

Member Avatar for nonshatter
0
51
Member Avatar for tutur

You can use the [URL="http://php.net/manual/en/function.isset.php"]isset()[/URL] function in XXX2.php to check which boxes were or were not selected. in XXX2.php [CODE] //first check the submit was pressed if (isset($_POST['s'])) { //then check if a checkbox was selected. if (isset($_POST['name-of-checkbox1'])) { echo "checkbox 1 was selected"; // execute database action here } …

Member Avatar for tutur
0
618
Member Avatar for nonshatter

Hi all, I'm relatively new to JS and I have an issue which I can't seem to get my head around... I have a perl script which iterates through an array and populates a table with its values. Within the created table I have a link in each row which …

Member Avatar for nonshatter
0
143
Member Avatar for JBLDW

Firstly, what Linux distro are you using? And in what format is the source in? rpm/deb/tar?

Member Avatar for JBLDW
0
2K
Member Avatar for RoyalElite96

Isn't ereg_replace() deprecated now? Take a look into using [URL="http://de.php.net/manual/en/function.preg-quote.php"]preg_quote()[/URL] instead. Here's an example: [CODE]<?php // In this example, preg_quote($word) is used to keep the // asterisks from having special meaning to the regular // expression. $textbody = "This book is *very* difficult to find."; $word = "*very*"; $textbody = …

Member Avatar for RoyalElite96
0
205
Member Avatar for dspjm

you probably don't have vim, as this is an extension of Vi (although essentially it is the same thing). try this to get vim (if you're using debian os): [CODE]sudo apt-get install vim[/CODE] I have a great [URL="http://www2.cs.uidaho.edu/~rinker/ed03.pdf"]cheat sheet for vi[/URL], but it will take practice to learn how to …

Member Avatar for nonshatter
0
216
Member Avatar for fugo.deepak

Hi there, Although I've never done drawing using PHP, I've previously carried out research on the available graphing software around for PHP. I am currently using one called [URL="http://www.fusioncharts.com/"]FusionCharts[/URL] which I feel is one of the best out there. You can plot data using XML, JSON or straight out of …

Member Avatar for nonshatter
0
107
Member Avatar for shama_kandy

Shama, You'll need to be a bit more specific. What Linux are you running? What command are you issuing to get that error? I guess you're using Ubuntu? You could try [CODE]sudo apt-get update // This will update your repository[/CODE] and then [CODE]sudo apt-get install < name of package >[/CODE]

Member Avatar for nonshatter
0
170
Member Avatar for ujsiriwardana

This is a multi-dimensional array. The parent index (ddc) is an associative array and the child (price) is also associative. This would have a single value assigned to it: [CODE]$_SESSION['ddc']['price'] = "144";[/CODE] Note: Unlike a real PHP array, $_SESSION keys at the root level must be valid variable names. [CODE]<?php …

Member Avatar for P0lT10n
0
98
Member Avatar for shama_kandy

Okay, it's good that you're interested! Let's take an example: You have a file which is 1Gb in size. You know that opening the file in the shell (e.g using 'cat') is going to be inefficient, as you'll have to scroll through a lot of lines to get to where …

Member Avatar for shama_kandy
0
113
Member Avatar for Haz425

I can help, but I'm not doing all your work for you! Do some coding, then post a more specific question that we can actually help you with.

Member Avatar for lyrico
-1
180
Member Avatar for shafeequeom

[URL="http://evolt.org/php_login_script_with_remember_me_feature?from=100&comments_per_page=50"]This[/URL] is one I've used before, with the 'remember me' feature Depending on what your site is for, you may want to change the md5 hashing bit for something a bit more solid

Member Avatar for somedude3488
0
260
Member Avatar for SEOKRU

This is most likely because you're echo-ing out stuff before you're header() statement. Remember that header() must be called before any actual output is sent, either by normal HTML tags, blank lines in a file, or from PHP. It is a very common error to read code with include(), or …

Member Avatar for SEOKRU
0
172
Member Avatar for Joe34

Okay, the error your getting means that fopen can't open the file you're requesting because the permissions of that file (or directory) won't allow it. If you're server is on Linux: From the shell cd to the directory where that file resides, and issue [CODE]chmod 777 *[/CODE] This will give …

Member Avatar for nonshatter
0
494

The End.