User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 375,276 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,047 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 120
Search took 0.02 seconds.
Posts Made By: MaxMumford
Forum: PHP 10 Days Ago
Replies: 11
Views: 329
Posted By MaxMumford
Re: whois script not working in IE

dont worry I have fixed that now but it is still not working. (http://economizerz.com/index.php)
this is the code for the .co.uk suffix i am using


$this->serverList[9]['top'] =...
Forum: PHP 10 Days Ago
Replies: 11
Views: 329
Posted By MaxMumford
Re: whois script not working in IE

(if the script is meant to be:


foreach($_POST as $key=>$value)
{
$_POST[str_replace("_", ".", $key)] = $value;
}
print_r($_POST);
echo "<br />" . $_POST['.co.uk'];
Forum: PHP 10 Days Ago
Replies: 11
Views: 329
Posted By MaxMumford
Re: whois script not working in IE

Ahhh okay I see so it finds any array's where co_uk is written and converts it to co.uk

- i got a parse error:




Parse error: syntax error, unexpected T_FOREACH, expecting T_OLD_FUNCTION or...
Forum: PHP 11 Days Ago
Replies: 11
Views: 329
Posted By MaxMumford
Re: whois script not working in IE

Thanks r0bb0b and nav33n however im not quite sure what to do with the code.

presumerably i put it at the beginning of the php script to make sure that it changes all strings with an underscore to...
Forum: PHP 11 Days Ago
Replies: 11
Views: 329
Posted By MaxMumford
Re: whois script not working in IE

Ah thanks for the new script. Im testing it all out but I do have one problem which is that I cant integrate a .co.uk domain suffix into it.

this is an example of the code used to check the .com...
Forum: PHP 12 Days Ago
Replies: 11
Views: 329
Posted By MaxMumford
Re: whois script not working in IE

ah well i took out all of the irelavent information before posting it - for example at the moment if the whois dosnt find anything for a domain it will write a paypal add to basket button so i took...
Forum: PHP 12 Days Ago
Replies: 11
Views: 329
Posted By MaxMumford
whois script not working in IE

hi guys,

I found a simple whois script and intregrated it completely into my site before testing it on IE (oooops!) and it only works on firefox and safari. On IE the result text that should be...
Forum: JavaScript / DHTML / AJAX 13 Days Ago
Replies: 1
Views: 198
Posted By MaxMumford
simple javascript syntax errors

Hey,

Simple javascript problem:

user enters desired domain name into "domain" field and submits, php scripts check if domain is available. If it is, a paypal add to basket button is written onto...
Forum: PHP 25 Days Ago
Replies: 8
Views: 307
Posted By MaxMumford
Forum: PHP 25 Days Ago
Replies: 5
Views: 151
Posted By MaxMumford
Re: delete .jpg from end of variable

kk. Its me who is uploading the pictures anyway so it should be fine. But in future ill probably need to use it again :)

Thanks everybody
Forum: PHP 25 Days Ago
Replies: 5
Views: 151
Posted By MaxMumford
Re: delete .jpg from end of variable

Ah okay that works fine. I actually found this solution just as you sent your reply which is:


$name = substr($_POST['name'], 0, -4); //gets rid of last 4 characters. remove the ", 0" to get rid of...
Forum: PHP 25 Days Ago
Replies: 5
Views: 151
Posted By MaxMumford
delete .jpg from end of variable

Hi all,

I just need to delete .jpg form the end of a variable stored like this:

$name = $_POST["name"];

Thanks :D

Max
Forum: PHP 25 Days Ago
Replies: 8
Views: 307
Posted By MaxMumford
Re: dynamic selection of MySQL database based on user input

Hi,

I just want to say that Iv only been doing php for a few days now but i think i can give you a good answer.

You want a drop down menu which decides which database the next page connects to only...
Forum: PHP 25 Days Ago
Replies: 3
Views: 291
Posted By MaxMumford
Re: get sets of info from db depending on hidden field's value

Hey again,

Iv managed to get used to the CREAT TABLE, INSERT and SELECT functions and so iv decided that when i put up the details for a new picture ill create a table with the file name of the new...
Forum: PHP 25 Days Ago
Replies: 6
Views: 234
Posted By MaxMumford
Re: using a variable to name the table in the CREATE TABLE function

Thanks ;) I thought it wasnt working but that was because i needed to call the table something with .jpg at the end and iv realised i cant do that. No worries iv found a work around.

Max
Forum: PHP 25 Days Ago
Replies: 6
Views: 234
Posted By MaxMumford
Re: using a variable to name the table in the CREATE TABLE function

Thanks for the help :D however I don't see how this is not working :s
$sql = 'CREATE TABLE `web163-gallery-7`.`{$picurl}` (`name` VARCHAR( 200 ) NOT NULL ,`picurl` VARCHAR( 200 ) NOT NULL ,`group`...
Forum: PHP 26 Days Ago
Replies: 6
Views: 234
Posted By MaxMumford
using a variable to name the table in the CREATE TABLE function

Hey,

Im just wondering how i can get something like this to work:


$tablename = $_POST['tablename'];
mysql_query(CREATE TABLE `databasename`.`$tablename` (`name` VARCHAR( 200 ) NOT NULL))


At the...
Forum: PHP 29 Days Ago
Replies: 3
Views: 295
Posted By MaxMumford
Forum: PHP 29 Days Ago
Replies: 3
Views: 295
Posted By MaxMumford
registration form - check if username is taken

Hi guys,

I have a simple registration form and have had trouble getting it to check if the username is already taken in the database. This is what I have at the moment:
(the code i tried to use to...
Forum: PHP 30 Days Ago
Replies: 10
Views: 587
Posted By MaxMumford
Re: very simple login script (checking 2 variables before writing cookie)

ha xD Thanks guys :) i swear i tried that :P

oh wells thanks for the help guys. and ill def. include the protection against mysql injection

now just to find out what it actually is..... :P

Thanks...
Forum: PHP 30 Days Ago
Replies: 10
Views: 587
Posted By MaxMumford
very simple login script (checking 2 variables before writing cookie)

Hi all,

I have just put together a simple log in script from various tutorials on the web and at the moment it is only checking the username entered by the user against what is in my database.
I...
Forum: PHP 30 Days Ago
Replies: 36
Views: 6,797
Posted By MaxMumford
Re: I want to compete with www.myspace.com (Can someone teach me how)

i need a php script to terraform the globe.. help pls

ktnxbai
Forum: PHP 31 Days Ago
Replies: 3
Views: 291
Posted By MaxMumford
Re: get sets of info from db depending on hidden field's value

okay thanks a lot :) Ill let you know how i get on. :)
Forum: PHP 31 Days Ago
Replies: 3
Views: 291
Posted By MaxMumford
get sets of info from db depending on hidden field's value

Hi all =]

I have a php script which gets the file name of every .jpg file in a folder and then writes the <img>, and a form. The script uses a string called "galleryarray" to store the filename,...
Forum: PHP Jun 10th, 2008
Replies: 3
Views: 309
Posted By MaxMumford
Forum: Site Layout and Usability Jun 10th, 2008
Replies: 8
Views: 1,122
Posted By MaxMumford
Re: Registrar transfer problem - who is my registrar?!

Okay thanks for the help everybody =]
Forum: PHP Jun 9th, 2008
Replies: 2
Views: 220
Posted By MaxMumford
Re: detect words in field values submitted by a form

Thanks for the links kvdd.

just incase other people need the script this is what i put together:

<?php
$site = $_REQUEST['site'] ; //gets string value from the field in the form on previous page...
Forum: PHP Jun 9th, 2008
Replies: 2
Views: 220
Posted By MaxMumford
detect words in field values submitted by a form

Hey,

Im designing a website hosting business's website and have a relatively simple whois script which when you enter the website, it checks if it is available then returns some text in a span just...
Forum: PHP Jun 9th, 2008
Replies: 3
Views: 309
Posted By MaxMumford
Re: IF hidden field is NULL then hidden field is "blah"

***quick correction:

IF hidden field value from the previous page is empty then the script should write "blah"
Forum: PHP Jun 8th, 2008
Replies: 3
Views: 309
Posted By MaxMumford
IF hidden field is NULL then hidden field is "blah"

Hey guys,

I have a script calling the value from a hidden field from the previous page and then writing it to the page. What code would I have to use to say:

IF hidden field value from the previous...
Forum: HTML and CSS May 17th, 2008
Replies: 4
Views: 491
Posted By MaxMumford
Re: Open all external links with a frame

yeah i have php but no idea how to use it! I just got a new webhost because my previous one didnt offer php so i was stuck with asp but yeah i have php now... any ideas about what i kind of script i...
Forum: PHP May 15th, 2008
Replies: 8
Views: 290
Posted By MaxMumford
Re: troubleshoot simple mysql php db script

im the network administrator :D

dont worry, ill send an email to my website registrar or something

Thanks for your help

Max
Forum: PHP May 15th, 2008
Replies: 8
Views: 290
Posted By MaxMumford
Re: troubleshoot simple mysql php db script

im not sure what my hostname, user name and passwords are... any ideas? Or any ideas on how to change them?
Forum: PHP May 15th, 2008
Replies: 8
Views: 290
Posted By MaxMumford
Re: troubleshoot simple mysql php db script

ill try changing them around a bit. do you have any suggestions as what to put where?
Forum: PHP May 15th, 2008
Replies: 8
Views: 290
Posted By MaxMumford
Re: troubleshoot simple mysql php db script

Ah okay thanks. Also when i try it now i get the following error:

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'dbOne'@'79.170.40.163' (using password: YES) in...
Forum: PHP May 15th, 2008
Replies: 8
Views: 290
Posted By MaxMumford
troubleshoot simple mysql php db script

Hi guys,

I did a quick tutorial on the internet on using php and mysql. It is my first ever time using it so forgive me if im being a bit of a "NOOB".

anyways ill post the script below and can you...
Forum: HTML and CSS May 12th, 2008
Replies: 4
Views: 491
Posted By MaxMumford
Re: Open all external links with a frame

Okay thanks for that. The only other thing is that I needed the frames to appear after the link has been clicked on. for example you have a regular page, no frames just content, but when you click on...
Forum: HTML and CSS May 12th, 2008
Replies: 4
Views: 491
Posted By MaxMumford
Open all external links with a frame

Hi guys,

Wasn't too sure which forum to put this in as im not sure what kind of script would be used, but this is what I want to be able to do:

Have some kind of script that makes any external link...
Forum: HTML and CSS May 7th, 2008
Replies: 1
Views: 550
Posted By MaxMumford
div box with vertical scrollbar and hoizontal wrap

Hi all,

I need to know how to be able to make a div box with a fixed width and no horizontal scrollbar, and stretchable height with vertical scrollbar.

It should be quite a simple thing to do but i...
Forum: Site Layout and Usability May 4th, 2008
Replies: 8
Views: 1,122
Posted By MaxMumford
Re: Registrar transfer problem - who is my registrar?!

Hey Peter,

Thanks for the reply. Ill send an email to nominet and see if they can find out anything.

The only problem with finding payment information is that the website is just a domain which...
Showing results 1 to 40 of 120

 
All times are GMT -4. The time now is 6:16 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC