Search found 1196 matches

Actual Results

Post Posted: April 5th, 2008, 7:42 am

This was under the Microsoft forum, but I decided to move it. I am also going away for about 10 days so if there are any responses, I am not going to be here to test them. Thanks for the help in advance. I have this batch file that I am working on to read a file, search the hard drive the each line ...

Post Posted: April 4th, 2008, 4:55 am

ok, I am going to put this into the programming forum where I think it better fits.

Post Posted: September 3rd, 2006, 8:50 pm

Do you really need to keep .msi files and .msp files. I have over 400 megs of .msi and .msp files on my computer

Post Posted: August 26th, 2006, 8:22 pm

change this [php] RPN Query: <input type="text" size="30" name="term"> <input type="submit" name="action" value="Search"> '; } Search in:<select name="whichsearch"><option value="1">Author</opt...

Post Posted: July 30th, 2006, 4:19 pm

I am using ajax to do an inline edit. I got the script from here and the problem is when i have it linked to the main site, it doesn't work. But when i go to the page by it self it works. Also I am using ajax to update the pages. To show you what i mean http://beta.popelowreeds.x10hosting.com Login ...

Post Posted: April 19th, 2006, 5:42 am

my secondary drive is. the thing is that there is no file system on it. I did a format and never rebuilt the file system. So i believe right now its non-existant.


the thing is that before i formatted on friday it wasn't doing that. What would make it start doing that

Post Posted: April 19th, 2006, 3:59 am

When ever i reboot my computer i get a

disk read error, press Ctrl + Alt + Delete to reboot

so when ever i try that i get that same error. I would like to say that error only happens on reboots and not cold boots.

what can I do to fix that, it's really anoying

Post Posted: March 14th, 2006, 3:51 pm

it outputs data like this
Code: [ Select ]
Word My Definition Book Definition Difference Picture 0 0 0 0 01 01 01 01
and there is stuff in the my def, book def, difference, not just 0 and 01 fixed it. It was where I had the variables located.

Post Posted: March 14th, 2006, 2:59 pm

you could make a database, then have a column called mailed. run a mail script to get like 100 out that haven't been mailed, mark them as mailed, mail them, wait a while run the script again.

Post Posted: March 14th, 2006, 2:56 pm

vocab_words is a number. and then when I do print_r($word) it just prints out 0 01 and then when i get rid of $word = $word. $x; it prints out nothing

Post Posted: March 13th, 2006, 5:09 pm

I would like to make a dynamic table. I am using php. The code I have right now isn't working. It outputs 001 [php] <?php $vocab_words = $_POST['vocab_words']; $word = $_POST['word']; $chapter = $_POST['chapter']; $my_def = $_POST['my_def']; $book_def = $_POST['book_def']; $difference = $_POST['d...

Post Posted: March 12th, 2006, 12:55 pm

here is a function I got off of php.net but did a little bit of editing to [php] function getFileSelect($dir){ $path = $dir; $path = str_replace("%20", " ", $path); $dh = @opendir($path); while (false !== ($file=@readdir($dh))) { if (substr($file,0,1)!=".") { if (is_dir...

Post Posted: February 28th, 2006, 4:08 pm

could you try <?php echo $refurl; ?> instead?

Post Posted: February 27th, 2006, 6:49 pm

you can also run ob_start(); at the start of your code (well after the session_start();) and then at the end of your code ob_end_flush();

Post Posted: February 20th, 2006, 6:57 pm

I have the following code to go throught my music folder and tell me what I have
PHP Code: [ Select ]
 <?php function GetInput($url) { $handle=@fopen($url, 'r'); $contents = ''; while (!feof($handle)) { $contents .= @fread($handle, 8192); } fclose($handle); return $contents; } ?>
Ok here is the problem...

Post Posted: February 19th, 2006, 10:57 am

you could try
PHP Code: [ Select ]
 $countryname = $row["countryname"]; $currency = $row["currency"]; $imgpath = $row["imgpath"]; then $imgpath = "<img src=\"images/$imgpath\">";
then [php] print"<td width=48 bgcolor=#EEEEEE height=22 align=left...

Post Posted: February 18th, 2006, 6:17 pm

I have the following code to look through my iTunes Library and compile some data for me. [php] <?php $function = $_GET['function']; $dbhost = 'localhost'; $dbusername = 'sterling'; $dbpasswd = '******; $database_name = 'music'; $connection = mysql_pconnect("$dbhost","$dbusername&q...

Post Posted: February 4th, 2006, 6:39 pm

ok so it may not but the concept is that they have no idea what happened. they just believe that he was working 2 full time jobs and was getting payed for both. like he clocked in at the same time for both. and it really wasn't peaceful. people where chucking stuff at people. thats not peaceful then...

Post Posted: February 4th, 2006, 3:36 pm

Ok so on the 2nd of this month the school made our head custodian leave the school. Well, thanks to a ton of people our school now looks like a ton of brats. Also, the best part of the story NO ONE EXCEPT HIM knows what happened. well and the principle. Also we were on the 12 o'clock and 6 o'clock n...

Post Posted: February 3rd, 2006, 4:54 am

this is old. I don't need it anymore incase anyone was wondering

Post Posted: February 1st, 2006, 5:22 pm

Sorry to tell you, but that has actually been there.

But, I do agree with the thing being tracked back to the host not a 3rd party search engine.

Post Posted: January 30th, 2006, 7:27 am

Ok, I am using the following code to make my file editor. [php] function getFileSelect($dir){ $path = $dir; $dh = @opendir($path); while (false !== ($file=@readdir($dh))) { if (substr($file,0,1)!=".") { if (is_dir($path.$file)) $dirs[]=$file.'/'; else $files[]=$file; } } @closedir($dh); if...

Post Posted: January 29th, 2006, 3:11 pm

Ok, we have 2 old hard drives from our windows 98 computer. Well yesterday I took them out as I was moving the old computer to a place not reachable. Well today I stuk the frist hard drive in the computer, the computer read it, I coped the files to the hard drive we are currently using. Well, I pop ...

Post Posted: January 29th, 2006, 7:04 am

lionking wrote:
Of course this is a product already :)

http://www.flipfold.com


ya i heard about that

but spend money on something that takes 4 peices of cardboard and 6 peices of tape?

Post Posted: January 28th, 2006, 9:02 pm

haha

<--* runs off to get the idea patented

*<-- relates to me

Post Posted: January 28th, 2006, 8:49 pm

Gah i hate long titles but i couldn't figure out how to shorten it and still get the point across

http://www.all-tribes.info/AT3.WMV

theres no vocal but theres music

Post Posted: January 27th, 2006, 9:02 pm

oh i see what you mean. If you have problems updating turbo tax turn off your firewall

Post Posted: January 23rd, 2006, 4:21 pm

what you should of done was make it not show results until the day of superbowl sunday. just to keep people in suspense

Post Posted: January 19th, 2006, 7:53 pm

meman yes i did look up word wrap(thanks for the sugestion) and that is where i got that function. The problem i need words and not characaters

but i guess i wasn't paying attention when i read what it did. and it works

Post Posted: January 19th, 2006, 2:48 pm

I have this function [php] function new_sentence_line( $txt , $limit, $html_nl = 0 ) { $str_nl = $html_nl == 1 ? "<br>" : ( $html_nl == 2 ? "<br />" : "\n" ); $pseudo_words = explode( ' ',$txt ); $txt = ''; foreach( $pseudo_words as $v ) { if( ( $tmp_len = s...

Post Posted: January 19th, 2006, 2:46 pm

<div overflow="scroll" style="height: 100%">

you can tru that?

Post Posted: January 15th, 2006, 4:15 pm

have you tried setting port forwarding to the computer with the server?

Post Posted: January 15th, 2006, 4:13 pm

here is a good link

Behind the Secens with Apache's .htaccess

Post Posted: January 14th, 2006, 5:26 pm

http://www.teleflip.com

you could try that

Post Posted: January 14th, 2006, 3:44 pm

ya

Example folder is /songs and the databse file is in the main folder

you would do

PHP Code: [ Select ]
 
include("../dbconnect.php");
 
 
  1.  
  2. include("../dbconnect.php");
  3.  
  4.  


Example folder is temp/songs and the databse file is in the main folder

you would do

PHP Code: [ Select ]
 
include("../../dbconnect.php");
 
 
  1.  
  2. include("../../dbconnect.php");
  3.  
  4.  

Post Posted: January 11th, 2006, 6:35 pm

besides you cannot totally delete Internet Explorer. its built INTO windows.

Post Posted: January 9th, 2006, 3:30 pm

96. We had to make a stop in Mexico City cos our plane couldn’t go to Atlanta because the airport was snowed in.

When was this. I don't remember it snowing in Janurary last year.

Post Posted: January 8th, 2006, 5:38 pm

73. Ever lock yourself out of your car?
74. How did you get back in

Post Posted: January 7th, 2006, 9:44 pm

Ok here is my image http://www.nedren.elementfx.com/chris/img-.php?type=.png As you can see the POP3 image is black. Here is the script [php] <?php ob_clean(); function servicecheck($port, $returnType=false) { $handle = @fsockopen("70.86.136.178", $port, $errno, ...

Post Posted: January 4th, 2006, 9:45 pm

now() is a mysql term edit: let me actually read the question try this. its pritty much the same with a few corrections [php] <?php if (isset ($_POST['submit'])) { $fileName = $_FILES['file']['url']; $fileTitle = $_FILES['title']['title']; $fileDescription = $_FILES['description']['description'];...

Post Posted: January 4th, 2006, 9:43 pm

its just number and its for a lottery script

and after i find the random number i will empty both tables so no one gets a second chance of winning with out paying

Post Posted: January 4th, 2006, 9:20 pm

Ok let me try to explain this. I have a table for a lottery and if a user buys a ticket i want to record their name and what ticket number they recived. What i am looking to do is run a script. generate a random number between 1 and how many tickets were bought. (i have that idea) but what I need to...

Post Posted: January 4th, 2006, 9:16 pm

well if you were to code a forum. I mean pages for the site im coding right now (really small) will get errors in the 200's and its simple stuff like drawing from a database and then echoing it out to the user

Post Posted: January 4th, 2006, 8:32 pm

well i also want a way to view error logs with out having to download or rename them. I can view then as output using my editor.

Post Posted: January 4th, 2006, 6:41 pm

i am using string replace

Post Posted: January 4th, 2006, 2:50 pm

I have this function [php] function getFileSelect($dir){ $path = $dir; $dh = @opendir($path); while (false !== ($file=@readdir($dh))) { if (substr($file,0,1)!=".") { if (is_dir($path.$file)) $dirs[]=$file.'/'; else $files[]=$file; } } @closedir($dh); if ($files) natcasesort($files); if ($d...

Post Posted: January 4th, 2006, 8:01 am

ok im having a small problem. phpinfo doesn't display installed apache modules. so its not working right now. my best thing to say now is try anyways.

Post Posted: January 3rd, 2006, 12:51 pm

this is what i did on my site for a file editor [code] $query = mysql_query("SELECT `columnname` FROM `tablename`") or die(mysql_error()); echo "<select>"; while ($row = mysql_fetch_assoc($result)) { $name=$row["rownmae&...

Post Posted: January 3rd, 2006, 9:22 am

no problem. I noticed a that there were a lot so i tried to help

Post Posted: January 2nd, 2006, 5:38 pm

congrats and hope u have a fun time getting it or attempting to get it anto/tw

Post Posted: January 2nd, 2006, 9:41 am

Over the 2 years I've been here I've noticed a lot of mod_rewrite topics. Well I figured if I made a tutorial it would help. Q. What is mod_rewrite ? A. Mod_Rewite is an apache module for URL manipulation. It can be used to change the appearance of a path to which a file exists. This module uses a r...

Post Posted: January 2nd, 2006, 9:23 am

so I see you got it becaause if you didn't you can try this link. I've used it before

http://www.webmaster-toolkit.com/mod_re ... ator.shtml

Post Posted: January 1st, 2006, 4:29 pm

well hes just about done

i beleve last i checked he about 1000 left to sell

Post Posted: January 1st, 2006, 2:20 pm

i just installed foxserv

the tmp directory needs to be

C:\tmp even if the php.ini says like C:\FoxServ\php\tmp you still need to put it in C:\tmp

Post Posted: January 1st, 2006, 2:17 pm

what he wants to know is how can he learn how to build a RPG mod for phpbb.

what I would suggest is looking at other phpbb rpg mods and then building to suite your needs.

Post Posted: January 1st, 2006, 1:28 pm

Ok, I am working on adding AJAX to my register form. I kinda got it working to the point where when you clicked on the field and entered something it would check to see if it was in the database. If it was, it was come back saying that the username was already taken. The problem is that I got this c...

Post Posted: December 30th, 2005, 5:59 pm

all it does is take them to the register page. where they have the variables already filled in. Its a temp solution to the point that their username was already taken (your example). Then if they frogot something they already have what they submitted. though i could do a session. edit: I added AJAX ...

Post Posted: December 30th, 2005, 3:33 pm

I have the following code [php] <?php session_start(); include ('db.php'); ob_start(); $username = $_POST['username']; $password = $_POST['password']; $email = $_POST['email']; $aim = $_POST['aim']; $msn = $_POST['msn']; $yahoo = $_POST['yahoo']; $description = $_POST['description']; $ip = $_SERV...

Post Posted: December 30th, 2005, 1:38 pm

umm a good old glass of chocolate milk durning a clan match

http://video.google.com/videoplay?docid ... olate+milk

9 year old argues with his mother on a Xbox Live Clan Match over Chocolate Milk.

not cs but still a video game

Post Posted: December 25th, 2005, 6:13 pm

you could try a php encryption function to encrypt stuff. like making a tough password encryptor or something along those lines

Post Posted: December 25th, 2005, 10:49 am

i mainly got wireless headphones. Ok got my own images. Images in order 1. My ghetto rigged headphone jack (notice its on the outside of the computer case and screwed on to the case itself. http://fbla-atlanta.x10hosting.com/images/christmas/1.JPG 2. The transmitter http://fbla-a...

Post Posted: December 24th, 2005, 5:53 pm

and most froget about our jewish friends

hanukkah starts tomorrow at sundown so

Happy Hanukkah

Post Posted: December 18th, 2005, 3:49 pm

What I really want to know is what I need on the mother board

Serial ATA/EIDE (which one)

brand of motherboard

Chip Set type

Post Posted: December 18th, 2005, 12:09 pm

I am building a computer. Well planning on building a computer and I need some input. The input i want is for the motherboard. What exactly do I want from a motherboard. I am planning on using Northbridge NVIDIA chip. I really don't plan on doing much but playing games and using the internet. I woul...

Post Posted: December 12th, 2005, 5:22 pm

o thats sweet so for like the you must make at least 3 good reviews in the website review forum

Post Posted: December 12th, 2005, 2:54 pm

I am wondering what the choose canned message is.

incase you don't know

http://www.fbla-atlanta.x10hosting.com/ ... dimage.png (41.82KB)

Post Posted: November 30th, 2005, 7:37 pm

76. Are you going to wire your house for a network?

Post Posted: November 21st, 2005, 7:03 am

its the way your printer is set up.

in your browser go to


Firefox:
File | Page Setup | Then click on Margins and Header/Footer

IE:
File | Page Setup

Post Posted: November 11th, 2005, 9:47 pm

opps i made a mistake

its because you have to do

Code: [ Select ]
<?php

$bgcolor = $_POST['bgcolor'];
?>
<body bgcolor="<?php echo $bgcolor; ?>">
  1. <?php
  2. $bgcolor = $_POST['bgcolor'];
  3. ?>
  4. <body bgcolor="<?php echo $bgcolor; ?>">


that php was messing up

Post Posted: November 11th, 2005, 8:23 pm

PHP Code: [ Select ]
<?php
 
 
 
$bgcolor = $_POST['bgcolor'];
 
?>
 
<body bgcolor="<?php echo $bgcolor; ?>">
 
 
  1. <?php
  2.  
  3.  
  4.  
  5. $bgcolor = $_POST['bgcolor'];
  6.  
  7. ?>
  8.  
  9. <body bgcolor="<?php echo $bgcolor; ?>">
  10.  
  11.  


i believe that will work

Post Posted: November 10th, 2005, 4:19 pm

oooo try this

PHP Code: [ Select ]
 
<?php
 
$news = "<?php
 
echo \"This is insane\";
 
?>";
 
 
 
highlight_string($news);
 
?>
 
 
  1.  
  2. <?php
  3.  
  4. $news = "<?php
  5.  
  6. echo \"This is insane\";
  7.  
  8. ?>";
  9.  
  10.  
  11.  
  12. highlight_string($news);
  13.  
  14. ?>
  15.  
  16.  

Post Posted: November 2nd, 2005, 9:38 am

try this

http://www.php.net/date

Post Posted: October 30th, 2005, 1:54 pm

thanks that works perfectly

Post Posted: October 29th, 2005, 9:01 pm

heres a link to "Hacking your sleep" it tells you all the bad things about doing it. like gaining weight.

http://www.tech-recipes.com/blog202.php

Post Posted: October 29th, 2005, 6:46 pm

humm i should try that thanks.

didn't work. it redirected the entire page

Post Posted: October 29th, 2005, 7:42 am

Is there a way you can change this to happen so on the onchange it goes to the iframe. [code] <FORM> <SELECT ONCHANGE="location = this.options[this.selectedIndex].value;"> <OPTION VALUE="font.php?font=10">10 <OPTION VALUE="font...

Post Posted: October 27th, 2005, 1:12 pm

didn't work.

here is my database structure
Code: [ Select ]
username  | time
var char(45)  var char(10)
  1. username  | time
  2. var char(45)  var char(10)

Post Posted: October 26th, 2005, 6:48 pm

the update part works. just the insert doesn't. can you tell me what is wrong? [php] <?php include ('db.php'); $song = $_GET['song']; $name = $_GET['name']; $time = date('G:i:s'); $song = addslashes($song); $query1 = mysql_query("INSERT INTO `song` (`song`, `name`, `time`) VALUES ('$song'...

Post Posted: October 23rd, 2005, 12:30 pm

opps

i had a long day.

also fixed my error

Post Posted: October 22nd, 2005, 9:09 pm

try this

PHP Code: [ Select ]
 
if ($_SESSION['x']){
 
header ('somepage.php');
 
}elseif ($_SESSION['y']{
 
header ('somepage2.php');
 
}else ($_SESSION['z']{
 
header ('somepage3.php');
 
}
 
?>
 
 
  1.  
  2. if ($_SESSION['x']){
  3.  
  4. header ('somepage.php');
  5.  
  6. }elseif ($_SESSION['y']{
  7.  
  8. header ('somepage2.php');
  9.  
  10. }else ($_SESSION['z']{
  11.  
  12. header ('somepage3.php');
  13.  
  14. }
  15.  
  16. ?>
  17.  
  18.  

Post Posted: October 2nd, 2005, 3:05 pm

just do
PHP Code: [ Select ]
$_SESSION['blah'] = "I am really bored";
 
echo $_SESSION['blah'];
 
  1. $_SESSION['blah'] = "I am really bored";
  2.  
  3. echo $_SESSION['blah'];
  4.  

Post Posted: October 2nd, 2005, 11:21 am

well what i did to fix it was this

PHP Code: [ Select ]
 
$image = $_FILES['imagefile']['name'];
 
 
 
$query = mysql_query("UPDATE .... 'image/$image'...")
 
 
  1.  
  2. $image = $_FILES['imagefile']['name'];
  3.  
  4.  
  5.  
  6. $query = mysql_query("UPDATE .... 'image/$image'...")
  7.  
  8.  


and it works

Post Posted: October 1st, 2005, 7:59 pm

I am having a problem with the following code. The error I am getting is Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/demosthe/public_html/includes/pages/imgupload.php on line 16 [php] <?php session_start(); $username = ...

Post Posted: September 17th, 2005, 6:42 am

I wanna say he means something like [php] $to = $_POST['email']; $subject = "The Portable Group"; $name = $_POST['name']; $total_questions = $_POST['Acc_section8questions']; $total_marks = $_POST['Acc_section8complete']; $header = "From: support@portablechunks.com"; $message = "Hello $name, thank yo...

Post Posted: September 5th, 2005, 12:36 pm

I have the following code [php] <?php session_start(); include ('db.php'); $error = $_GET['error']; if (isset($_POST['submit'])) { $username = $_POST['username']; $password = $_POST['password']; $sql = mysql_query("SELECT * FROM sig WHERE name='$username' AND password='$password'") or die(mysql_e...

Post Posted: September 4th, 2005, 8:01 pm

thanks i am running into a small problem since i don't know how to use this query i tried my best but it isn't working. I am getting a resource id #11 when running it in contex with the following code [php] $totalviews = mysql_query("SELECT SUM(`hits`) AS `total_hits` FROM `sig`") or die(mysql_error...

Post Posted: September 4th, 2005, 6:49 pm

I know it simple but I don't know what to do. How would I go about counting a column in mysql.

Post Posted: August 23rd, 2005, 7:02 pm

well right now there are 2 e-mails in the database and what it is doing is sending 2 emails to each email address. and i believe that if there were 3 e-mails it would send 3 to each address and I want to know why it is doing that

Post Posted: August 23rd, 2005, 2:27 pm

As of right now this script is sending 2 emails. I think the reason it is sending 2 is because there are 2 people in the database. but can someone tell me why it isn't working? [php] <html> <body> <?php $subject = $_POST['subject']; $body = $_POST['body']; include 'db.php'; $query = m...

Post Posted: August 21st, 2005, 12:24 pm

ah. Although "need" isn't very specific. Heh, you should have said so in the first place :D. Buying one isn't always the best way to go. Have you tried making one yourself with PHP? I'm not planning to buy one, just searching for a nulliefied/nulled one. :oops: and this topic gets locked because he...

Post Posted: August 18th, 2005, 4:07 am

o i thought it was the name

my bad

Post Posted: August 17th, 2005, 6:15 pm

just change the name.

Apple Pods and then there they go. microsoft won't have a paitent on apple pods and apple just goes and regesters apple pods and bam its done

Post Posted: August 13th, 2005, 6:43 pm

on the link you gave us do this
Code: [ Select ]
<iframe name="calendar" align="top" scrolling="no" frameborder="0" src="calendar/index.php" style="width:750px" height="600px"></iframe>
insted of [code] <ifram...

Post Posted: August 5th, 2005, 9:17 am

have you tried adding a title tag?

<title>The following title</title>

Post Posted: August 3rd, 2005, 1:22 pm

ooo hehe thanks

edit i asked a friend so now its resolved.

I frogot the SET

Post Posted: August 3rd, 2005, 12:24 pm

I am creating an e-mail script for my section. well the thing is it is supposed to mark it emailed after it has e-mailed. but it does not. [php] <html> <body> <?php $subject = $_POST['subject']; $message = $_POST['body']; include 'db.php'; $query = mysql_query ("SELECT * FROM `section...

Post Posted: July 31st, 2005, 2:05 pm

here you go

http://demosthe.hostingposts.com/images/dreamweaver.png

that is the image

edit:

its 200 and some kb

Post Posted: July 30th, 2005, 12:53 pm

try this
Code: [ Select ]
<script> var thumbnail; function thumbnail(url) { newwindow=window.open(url,'name','height=400,width=400'); if (window.focus) {newwindow.focus()} } </script>
then the url would be [code] <a href=&qu...

Post Posted: July 29th, 2005, 9:25 pm

do they make plugs to convert the mini-jack to the thingy u need?

Post Posted: July 27th, 2005, 6:38 pm

heres my theory.

1 shot in the belly button area. then if he continues to run chase and put out an APB (all points bulliten) to all the hospitals and hospics around. then while he is there in the hospic getting bandged ask him. but not shoot him in the head 5 friken times. and thats my theory.

Post Posted: July 25th, 2005, 6:56 pm

just incase people... i know you probably know this but the american dollars are the exact same size. the $20 is the same size as a $1

Post Posted: July 9th, 2005, 3:52 pm

well what i did was i moved the stats and the menu up to the top by the other includes the funny thing is i couldn't do anything with the footer as no matter where i put it, it showed up before the content. so i just got rid of it

Post Posted: July 9th, 2005, 11:44 am

well i kinda fixed it. i don't like how i did but its ok i mean its just the admin center lol

Post Posted: July 7th, 2005, 8:18 pm

why does this show it all in one div layer. I will post a screen shot at the end. well a link to the screen shot [php] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <?php include ('includes/db.php'); include ('includes/head.php'); in...

Post Posted: July 5th, 2005, 1:02 pm

thats pritty sweet.

just as i was reading this topic i noticed the new button. i guess this forum may of needed it but who knows.

Post Posted: July 4th, 2005, 10:35 am

$results = mysql_query($frost_news)
or die (mysql_error());

just try to see if anything changes if u make it this

$results = mysql_query($frost_news) or die (mysql_error());

Post Posted: July 3rd, 2005, 3:27 pm

well as i was thinking after i went to bed and for the 5 minutes before i feel asleep i was going to say have fun if you and i know you will enjoy it.

Post Posted: July 2nd, 2005, 8:20 pm

hahaha wow

i just got back from a trip like that. through ef tours. it was basically that exact tour except we had an optional excersion to florance and then were did greece and turkey added on. make sure you see the vadican city. i did and loved it

Post Posted: June 24th, 2005, 8:12 pm

you could try

PHP Code: [ Select ]
 
<?php
 
include ('includes/headerlnks.htm');?>
 
 
  1.  
  2. <?php
  3.  
  4. include ('includes/headerlnks.htm');?>
  5.  
  6.  


also is it supposed to be lnks or is it supposed to be links

Post Posted: June 23rd, 2005, 6:25 am

Linky

theres a direct link the the information about it

Post Posted: June 21st, 2005, 5:53 pm

hehe that was the problem. lol i thought i looked and never saw one

Post Posted: June 21st, 2005, 4:48 pm

Ok I am going to try to describe this the best I can. Using the following code [php] $result2 = mysql_query("SELECT * FROM `news` ORDER BY `id` DESC LIMIT 0, 5") or die ("MySQL error: " . mysql_error()); while ($row=mysql_fetch_array($result2)) { $id=$row['id']; $result3 = mysql_query("SELECT * FROM...

Post Posted: June 21st, 2005, 10:43 am

thanks that doesn't work. i get this error Warning: move_uploaded_file(): Unable to move '/tmp/phpa0uMzB' to '' in /home/demosthe/public_html/upload.php on line 67 Possible file upload attack! The File Name is: test.zip Your IP is: ********** The date is: June 21, 2005, 1:52 pm Your download link is...

Post Posted: June 21st, 2005, 10:12 am

I need to know how to edit this script to only allow .zip and .b files [php] <?php $file = 'uploads/'; //Get the needed info $filename = $_FILES['userfile']['name']; $uname = $_POST['username']; $des = $_POST['description']; $sdate = date("F j, Y, g:i a"); $ip = getip(); //Run some small file che...

Post Posted: June 20th, 2005, 2:18 pm

nvm it was my firewall.

Post Posted: June 20th, 2005, 1:02 pm

ok here is what I see so far. I like the layout. not confusing. good for beginners. now the one problem I have is when I click create banner banner.php is a blank page. So i would suggest looking over your code. (btw I am using firefox version 1.0.4)

Post Posted: June 20th, 2005, 12:56 pm

what you could do is have that rule page there. but also make it so a mod as to accept the post. that way less posts will be made that will be locked. in turn that the mod will look for the 3 posts that the user has made and if they deem the qualifying they accept the topic and it gets posted. Now h...

Post Posted: June 19th, 2005, 3:57 pm

Ok what I mean is i have a section of my site called stats. well today i went and made each and every page on my site valid html. well when i added the w3school html code to my site to show that it is valid. i tried to make it so that each refering url was different. so i got this tid bit of code up...

Post Posted: June 19th, 2005, 3:46 pm

well i used the w3schools and now it is valid. thanks for pointing that out.

Post Posted: June 18th, 2005, 6:24 pm

well i got it to work. i think what i had wrong was a few closing tags in the wrong place. i know for one it was the </table>

Post Posted: June 18th, 2005, 3:09 pm

cookie probably?? but its google so who knows

Post Posted: June 18th, 2005, 1:11 pm

see my last post. i edited it

Post Posted: June 18th, 2005, 12:54 pm

[code] <table border="0"> <tr> <th><img src="blah.jpg"></th> <th><img src="blah.jpg"></th> <th><img src="blah.jpg"></th> <th><img src="blah.jpg"></th>...

Post Posted: June 18th, 2005, 11:56 am

I tried with the title. anyways back to my problem. I have the following code [php] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> &l...

Post Posted: June 17th, 2005, 3:20 pm

I have it and use it. i just don't want to login in to it everytime i want to optimize a table. but i do love it and use it when i need to use it

well your edit made me edit mine

thanks for that. see i learn my someone showing me. well at least php.

Post Posted: June 17th, 2005, 3:07 pm

ok thank you for that. now is there a way i can turn that table name into a link. I tried stuff but I am haveing a hard time figuring it out. I mean all I am trying to do is make a little manager for the tables. like a manager to reset the auto increment number for when i delete a fair amount of ite...

Post Posted: June 17th, 2005, 10:36 am

ok lets see. i tried. i got stuck. i came here to ask for some help. also Ishii how about you fix you sig so its with in the rules of the sig. Signatures 1. Signatures may contain up to three lines (one line being that displayed on a browser opened to 800px width) of text (of small or normal size) a...

Post Posted: June 17th, 2005, 8:04 am

could you orrect what i have

PHP Code: [ Select ]
 
$database=("mysqlshow demosthe_snpvc");
 
mysql_query("$database") or die (mysql_error());
 
 
  1.  
  2. $database=("mysqlshow demosthe_snpvc");
  3.  
  4. mysql_query("$database") or die (mysql_error());
  5.  
  6.  

Post Posted: June 17th, 2005, 6:46 am

How would I go about displaying the different tables i have in my database using php? I have 5 tables and how do i go about showing the names of the table.

Post Posted: June 17th, 2005, 6:27 am

ok try this [php] <?php $Title = $_POST['Title']; $Date = $_POST['Date']; $Article = $_POST['Article']; $old_title = $_POST['oldtitle']; addslashes($Article); //you know that just incase right now edited out //ok now lets connect to the database $dbh=mysql_connect ("localhost", "nothings_kifa134"...

Post Posted: June 16th, 2005, 7:32 pm

you know you could always try this [php] <?php $Title = $_POST['Title']; $Date = $_POST['Date']; $Article = $_POST['Article']; $old_title = $_POST['oldtitle']; //addslashes($news); //you know that just incase right now edited out //ok now lets connect to the database $dbh=mysql_connect ("localhos...

Post Posted: June 15th, 2005, 3:17 pm

http://www.phpfreaks.com/tutorials/73/0.php

just make the max limit 5. just added it on my site. i found it really easy to install

Post Posted: May 31st, 2005, 7:19 pm

or maybe its an internal db error thats not getting reported by change so try this [php] $query=("UPDATE advertisement SET date='$date', p='$p', premiseadd1='$premiseadd1', premiseadd2='$premiseadd2', pzip='$pzip', ptown='$ptown', pstate='$pstate', pdesc='$pdesc', directory='$x' WHERE id = '$id' ") ...

Post Posted: May 31st, 2005, 2:47 pm

no idea.

Post Posted: May 31st, 2005, 6:31 am

mysqldump --add-drop-table -u javascriptman221 -(databasetablename) (tablename) > (databasename.DATE.TIME.sql

then create another cron with this


mysqldump --add-drop-table -u javascriptman221 -(databasetablename) (tablename) > (databasename.DATE.TIME.sql.zip

Post Posted: May 29th, 2005, 3:35 pm

I have the following script [php] <html> <body> <?php //Include the pages needed for this to work and upload place include ('db.php'); include ('functions.php'); include ('fileupload-class.php'); $path = 'uploads/'; //Get the needed info $filename = $_FILES['name']; $des = $_POST['des...

Post Posted: May 23rd, 2005, 8:40 am

ok. so i am comming along. Now i have this version of the script. and the problem is that it isn't telling me the file name [php]<html> <body> <?php //Include the pages needed for this to work and upload place include ('db.php'); include ('functions.php'); include ('fileupload-class.p...

Post Posted: May 23rd, 2005, 4:53 am

thanks for the help

Post Posted: May 22nd, 2005, 6:51 pm

Ok. I am getting the following problems with the following script. Problems: Warning: move_uploaded_file(uploads): failed to open stream: Is a directory in /home/www/demosthe.allhyper.com/upload.php on line 26 Warning: move_uploaded_file(): Unable to move '/tmp/phpEWSUV9' to 'uploads' in /home/www/d...

Post Posted: May 10th, 2005, 12:54 pm

ok i know that much

the second code that rockmanTV posted is something like i wanted. but I know there is a <script type=text/vbscript>

so i was just wondering if there was something like that for php

Post Posted: May 10th, 2005, 9:51 am

how do i display php in a web page. i know its something like <script type=??? but what goes there

Post Posted: May 5th, 2005, 5:55 pm

Where can i find a free one. Also i need to choose what wall papers it will rotate.

Post Posted: May 5th, 2005, 3:22 pm

hehe here are some more facts about 05/05/05

Our senior skip day (they are the class of 2005)
today is disneys 50th aniversey(sp)

Post Posted: April 28th, 2005, 4:36 pm

I am having a problem with the .htaccess file not checking the htpasswd file.

here is my .htaccess file

Code: [ Select ]
AuthUserFile /web/cgi/htpasswd

AuthName "Password Protected Area"
AuthType Basic

<limit GET POST>
require valid-user
</limit>
  1. AuthUserFile /web/cgi/htpasswd
  2. AuthName "Password Protected Area"
  3. AuthType Basic
  4. <limit GET POST>
  5. require valid-user
  6. </limit>

Post Posted: April 22nd, 2005, 1:11 pm

do you mean
PHP Code: [ Select ]
 
$_SERVER['REQUEST_URL']
  1.  
  2. $_SERVER['REQUEST_URL']

not URl

Post Posted: April 17th, 2005, 4:38 pm

ya there is a google way

let me search i know someones going to beat me though

Post Posted: April 17th, 2005, 11:47 am

only problem i see

Image

Post Posted: April 12th, 2005, 12:57 pm

ya u frogot the </textarea> do this [code] <form action="commentadd.php" method=post> <input type="text" name="poster" size="23" value="name"><br /> <input type="text" name="posttitle" size="23&...

Post Posted: April 11th, 2005, 6:04 pm

[php]<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center"> <tr> <td> <table cellpadding="0" cellspacing="0" border="1" bordercolor="#000000" style="border-collapse: collapse;" height="100%" width="100%" align="center"> <tr> <td height="16" bg...

Post Posted: April 11th, 2005, 6:02 pm

gah that is what i was missing that entire time lol

Post Posted: April 11th, 2005, 9:42 am

ok so now when i run that code it comes back as error dipuclate key

so how can i change that.

right now i am thining of just deleting that id slot but is there a better way

Post Posted: April 9th, 2005, 8:30 pm

no the error wasn't related to that. and the error was because of the host

Post Posted: April 9th, 2005, 8:18 pm

what does that mean i get it when i am running my script heres my 1st table order Full Texts id UserID AccountName TotalKeyCount TotalMouseClicks TeamName Rank TeamRank ip heres the script order [code]mysql_query("INSERT INTO `images` (`UserID`, `AccountName`, `TotalKeyCount`, `TotalMou...

Post Posted: April 9th, 2005, 7:51 pm

ahh i see becuase i typed that up by hand. and it was my first time doing it by hand

Post Posted: April 9th, 2005, 7:23 pm

can someone tell me why? [php] <pre> <? include ('db.php'); function UserStats($userid) { $WhatPulseStats = array(); $stat_types = array("UserID", "AccountName", "Country", "DateJoined", "Homepage", "LastPulse", "Pulses", "TotalKeyCount", "TotalMouseClicks", "AvKeysPerPulse", "AvClicksPerPu...

Post Posted: April 9th, 2005, 11:31 am

what is yahoo360 first off. im just wondering

Post Posted: April 9th, 2005, 11:20 am

just make sure its not near any power supply. like be careful and take it out and use it. there is a way

Post Posted: April 9th, 2005, 8:03 am

ya that was the problem

so i found a new host

Post Posted: April 9th, 2005, 6:56 am

yes i am. and that could be a reason. im going to change to get. but im still pritty sure its my host so im searching for a new host

Post Posted: April 8th, 2005, 6:27 pm

and if it does happen to fail before you get all the data there is still a couple chances to get it 1. Take out the old hd 2. put in a freezer safe bag 3. stick in freezer over night 4. HURRY AND BACK UP its going to die soon. the disks won't rub against each other making that noise so there will st...

Post Posted: April 8th, 2005, 11:49 am

its in the topic its about the sig though. not with the .htaccess file

Image Cannot be Displayed because it has errors

Post Posted: April 8th, 2005, 11:48 am

here sorry i thought since i pinned pointed it to there i just would show that code [php]<?php ################### ##GET USERNAME## ################### $AccountName = $_POST['username']; ################## ##CREATE IMAGE## ################## header("Content-type: image/png"); $im = imagecreate(50...

Post Posted: April 7th, 2005, 4:38 pm

ya i did but now im getting this error so i posted the entire code for someone to look at. because i don't know what i did

Post Posted: April 7th, 2005, 2:35 pm

here is the script and that is the error i get [php]################################################## ## Start Placeing User's Information Onto Image 84, 123, 84 ## ################################################## ################## ## Col 1, Row 1 ## ################## imagettftext($im, 15, 0, 7...

Post Posted: April 7th, 2005, 2:09 pm

how does that get the variable. because i need to get the variable for it to work

Post Posted: April 7th, 2005, 6:06 am

ok that is cool

thanks now i know what to do

Post Posted: April 6th, 2005, 8:30 pm

you know that is a good idea. hehe thanks

Post Posted: April 6th, 2005, 8:22 pm

ya i figured that out. and is this correct becauase im not too sure

Code: [ Select ]
RewriteEngine on
Options +FollowSymLinks
RewriteRule ^sig.php([A-Za-z]+).gif$ sig.php?username=$ [L]
  1. RewriteEngine on
  2. Options +FollowSymLinks
  3. RewriteRule ^sig.php([A-Za-z]+).gif$ sig.php?username=$ [L]


i know theres something wrong

Post Posted: April 6th, 2005, 8:10 pm

2 things

got my comp fixed :-D

second is it supposed to stay or does it get removed

Post Posted: April 6th, 2005, 7:37 pm

how could i do that

say i have this

http://webskool.afraid.org/stats/sig.ph ... sthenes705

how would i make it this

http://webskool.afraid.org/stats/demosthenes705.gif

Post Posted: April 6th, 2005, 1:02 pm

i need some information on how to update a database only if the information is new.

Post Posted: April 6th, 2005, 8:54 am

thanks. now the only problem is that it isn't taking the data from the mysql table this is how its setup AccountName TotalKeyCount TotalMouseClicks TeamName and the table name is silent_aggressions (yes i am aware that the table name is wrong up in that code but i fixed it in my code) and i have db ...

Post Posted: April 6th, 2005, 8:32 am

I have this code [php]<?php header("Content-type: image/jpeg"); $user = $_GET["user"]; $err = "INVALID USER!"; include "db.php"; $AccountName = $user; $query = mysql_fetch_array(mysql_query("SELECT * FROM silent_aggression WHERE AccountName='$AccountName'")); $TotalKeyCount = $query["TotalKeyCoun...

Post Posted: April 6th, 2005, 7:35 am

well 2050 is about 2 gigs if i remember correctly

Post Posted: April 6th, 2005, 7:33 am

see i didn't make that sql statement phpmyadmin did so thanks

Post Posted: April 5th, 2005, 8:40 pm

well i was thinking of an image. but first i need to get the info (already did someone wrote the script) then add it to a db because the site updates once every 6 hours. then query the db info into an image. I have that script. all i need now is for the other information in my other post to be answe...

Post Posted: April 5th, 2005, 8:27 pm

yes there is a seprate file for each team.

i have no idea wats w/ the 3

Post Posted: April 5th, 2005, 7:40 pm

I have the following code
PHP Code: [ Select ]
print_r($stats); $sql = 'INSERT INTO `Silent_Aggressions` (`AccountName`, `TotalKeyCount`, `TotalMouseClicks`, `TeamName`) VALUES (''$AccountName', '$TotalKeyCount', '$TotalMouseClicks', '$TeamName'')';
and there is something wrong with the $sql line because thi...

Post Posted: April 5th, 2005, 6:42 pm

i had a friend write the code. thanks anyways

Post Posted: April 5th, 2005, 10:47 am

I have the following script [php] <pre> <? $teamid = $_GET['id']; function readTeamStats($teamid, $team_stats, $members) { // $statistics_tags = array("TeamName", "TeamDescription", "TeamMembers", "TeamClicks", "TeamKeys", "TeamRank", "TeamDateFormed", "TeamFounder"); $member_tags = array("...

Post Posted: April 4th, 2005, 2:47 pm

lol thanks for the help. that answered my question

Post Posted: April 4th, 2005, 11:46 am

well i figured that. but i was wondering is there a way to check or something

Post Posted: April 4th, 2005, 10:39 am

well what do you need to do to become a public entity

Post Posted: April 3rd, 2005, 12:25 pm

what type of encoding is it?

I have this in my file

guest:4Eb2fJ3OuIGBo

i no the information. but i want to make it so i can add people with out having to login to my cpanel

I know what it is guest and guest but i need a place telling me how it does encode it. or any hint?

Post Posted: April 2nd, 2005, 3:07 pm

well i think im going to hijack wordpress's script

im joking. but i am going to look into it

Post Posted: April 1st, 2005, 8:11 pm

hehe i was on 1745 or something this is nice. then again it is going to lead to illegal downloads off the gmail account

Post Posted: April 1st, 2005, 7:56 pm

is there a way i can find a php script to check an e-mail address. open it up. read the body of the e-mail address then add what is in the body to a text file. i mean blogger somehow does it so there has to be a way then again blogger is owned by google. and what can't google do. so can someone poin...

Post Posted: March 30th, 2005, 2:28 pm

hehe thanks

hopefully im going to get my computer fixed soon

Post Posted: March 30th, 2005, 2:07 pm

what do i need to fix for this menu to show what needs to be showen to logged in people. then different to logged out people [php]<?php include ('db.php'); ?> <td width="201"><BR> <?php if (!$_SESSION['logged_in']) { echo "<!----- menu, insert links below --------------------...

Post Posted: March 30th, 2005, 1:53 pm

screen shot??

my comps going to be screw up for a while. and i would like to see it

Post Posted: March 29th, 2005, 4:23 pm

o cool. now i understand. thanks

Post Posted: March 29th, 2005, 3:39 pm

sorry i should of made it more clearer.

the inc folder is in the Main folder.
Code: [ Select ]
Main --> Members --> Forums
(inc)  Random   Looking for inc folder
  1. Main --> Members --> Forums
  2. (inc)  Random   Looking for inc folder

Post Posted: March 29th, 2005, 2:11 pm

i have this setup on my site Main --> Member --> Forums well i try this
PHP Code: [ Select ]
 <?php include ('../inc/db.php'); ?>
and that gives these errors Warning: main(../inc/db.php): failed to open stream: No such file or directory in /home/webskool/public_html/member/forums/index.php on lin...

Post Posted: March 29th, 2005, 2:02 pm

im working on it. i now have more time.

Post Posted: March 28th, 2005, 1:57 pm

gmail is free so i don't think you need to worry

Post Posted: March 24th, 2005, 7:37 pm

is there something i could to in a .htaccess file that would include a few lines on every page.

i don't want to add

this site is hosted by ... on everypage espically since i have about 100 or so.

so is there something easy i could do?

Post Posted: March 17th, 2005, 10:40 am

actaully i should of posted the entire thing


Code: [ Select ]
  $sql  = mysql_query("INSERT INTO contact (f_name, l_name, date, text, option) VALUES ('$f_name', '$l_name', '$date', '$text2', '$option')") or die (mysql_error());

Post Posted: March 17th, 2005, 9:59 am

well i had to edit what u gave me. it never caught the first name. but now it errors here
Code: [ Select ]
$sql = mysql_query("INSERT INTO contact (f_name, l_name, date, text, option) VALUES ('$f_name', '$l_name', '$date', '$text2', '$option')")
i get the error You hav...

Post Posted: March 17th, 2005, 5:30 am

using this code. its a combo of what u made me fix. the {} at the end are needed or it errors i still get a blank page [php]<?php include ('../inc/db.php'); $f_name=$_POST['f_name']; $l_name=$_POST['l_name']; $date=$_POST['date']; $text = $_POST['text']; $option = $_POST['option']; /* Lets add so...

Post Posted: March 16th, 2005, 7:33 pm

I have this code. It is supposed to send me a mail and place it into the sql database. and i don't think it is doing eather. can you check to see what is wrong [php]<?php include ('../inc/db.php'); $f_name=$_POST['f_name']; $l_name=$_POST['l_name']; $date=$_POST['date']; $text = $_POST['text']; $...

Post Posted: March 15th, 2005, 4:40 pm

suggestion may work. probably won't well check to see if ur mother board has a reset jumper. that way you turn it on. reset the bios. turn it off. then move the jumper back to where it was to start off. then enter the bios settings. move the cd to the top. and then try to boot from cd. it could work...

Post Posted: March 14th, 2005, 4:34 pm

I have the following code And when i run it i get this error. Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/vhosts/scn.xoopiter.com/member/bb2html.php on line 2 Parse error: parse error, unexpected T_STRING in /home/vhosts/scn.xoopiter.com/member/bb2html.php on line 2 why a...

Post Posted: March 13th, 2005, 7:07 am

thanks. i don't really have to do anything unique with it.

Post Posted: March 12th, 2005, 8:47 pm

i was looking at Murdz's topic about including bbcodes. is there a way i can add them to a page with out having to edit the phpbb page. what i am really trying to say is, is there a way i can just add bbcodes to my pages. so when a user enters this [ b ] into a text box it gets entered into the data...

Post Posted: March 12th, 2005, 10:01 am

they just got him. im from atl and its all over the news

Post Posted: March 11th, 2005, 10:19 am

well if it can use mysql i would suggest this one
http://www.phpfreaks.com/tutorials/40/0.php

Post Posted: March 10th, 2005, 5:12 pm

how would i go about deleting that file. because i get the internet to work in IE but it still crashes.

Post Posted: March 9th, 2005, 5:59 am

right click on My Contacts and hit add contact

Post Posted: March 7th, 2005, 5:58 pm

try trillian my aim stopped working, so i got trillian and it works

and it works with aim/yim/icq/msn

Post Posted: March 7th, 2005, 4:30 pm

that didn't work and it still crashes. here is the dump file IE made. if you can make anything out of it please tell me. or send me somewhere where i could get help <?xml version="1.0" encoding="UTF-16"?> <DATABASE> <EXE NAME="iexplore.exe" FILTER="GRABMI_FILTER_PRIVACY"> <MATCH...

Post Posted: March 6th, 2005, 2:39 pm

well i'm further. I got XP SP2 installed and that stopped the IE error problem. So now when I double click IE or Firefox it loads a blank page(firefox) or gives the DNS error(ie). My network card is working so what should I do

Post Posted: March 4th, 2005, 5:45 am

well i tried the network card again. i didn't think about the other computer till it was 2 late. there is a cd for the graphic card frogot about that thanks. and yes you are understanding correctly i am using my computer to connect to the internet. when i open up IE using the icon it crashes.

Post Posted: March 3rd, 2005, 7:20 pm

I reinstalled windows xp pro today because i thought that would reinstall the fonts i accentally deleted. well it didn't. so now i am having a hard time getting on the internet. I have to open my computer and type the address in there. cannot get firefox to connect. cannot get the graphic card reins...

Post Posted: March 2nd, 2005, 5:34 am

yes.

the almost working example is here

http://scn.xoopiter.com

Post Posted: March 1st, 2005, 10:03 am

hehe my bad. thanks

Post Posted: March 1st, 2005, 10:02 am

they don't have to regester. they just go. and I will be looking for students that post answers for stuff so i think its going to be safe

Post Posted: February 28th, 2005, 7:24 pm

wow thats long anyways i changed it around a tad. i frogot that i didn't check to see if they told the truth <?php session_start(); $sessionname = $_SESSION['username']; include('db.php'); echo "Welcome, ". $_SESSION['username'] ." you can change your password here."; if ($_POST['cmd'] == "change...

Post Posted: February 28th, 2005, 6:56 pm

nope still not working.

and i saved it so humm

Post Posted: February 28th, 2005, 6:24 pm

I have to following code [php]<?php session_start(); $sessionname = $_SESSION['username']; include('db.php'); echo "Welcome, ". $_SESSION['username'] ." you can change your password here."; if ($_POST['cmd'] == "changepass") { $old = $_POST["old"]; $new = $_POST["new"]; $new2 = $_POST["c_new"]; i...

Post Posted: February 27th, 2005, 3:41 pm

im not sure but when you did

Code: [ Select ]
if (!sset($_SESSION['active'])){
$_SESSION['active'] = 0;
  1. if (!sset($_SESSION['active'])){
  2. $_SESSION['active'] = 0;


i don't think that it starts the session right there. well it does then i think it stops it but i don't no

Post Posted: February 27th, 2005, 11:50 am

i proablly did but i think im taking a different approach

im an idoit

its username not teacher

Post Posted: February 26th, 2005, 8:45 pm

[php]<?php include ('db.php'); $result = mysql_query ("SELECT * FROM `users` WHERE `grade` = '9'") or die(mysql_error()); while ($row = mysql_fetch_array($result)) { $teacher = $row['teacher']; $grade = $row['grade']; $link = "<br><a href=\"notes.php?teacher=$teacher\">"; echo "$teach...

Post Posted: February 25th, 2005, 8:26 pm

meh it didn't work.

and i think its supposed to be

PHP Code: [ Select ]
 
echo"$teacher = <a href=\"notes.php?teacher=$teacher\">\";
  1.  
  2. echo"$teacher = <a href=\"notes.php?teacher=$teacher\">\";

but i may be wrong

Post Posted: February 25th, 2005, 7:43 pm

[php]<?php include ('./member/db.php'); $result = mysql_query("SELECT * FROM `users` WHERE `grade` = '9'") or die(mysql_error()); while ($row = mysql_fetch_array($result)) { $grade = $row['grade']; $teacher = $row['teacher']; echo "$teacher - <a href=\"notes.php?teacher=$teacher\">\"; } ?&g...

Post Posted: February 23rd, 2005, 11:45 am

well what it does is regester the user. that is just a check for the script. so at the end of the script it should say 'Your membership information has been mailed to your email address! Please check it and follow the directions!,<br> FOR RIGHT NOW DO NOT CLICK THE AVTIVATE LINK UNTIL I GET IT...

Post Posted: February 23rd, 2005, 9:56 am

I have the following code. when i run it it returns a blank page [php]<? include 'db.php'; // Define post fields into simple variables $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $kids_name = $_POST['kids_name']; $email_address = $_POST['email_address']; $username = $_PO...

Post Posted: February 23rd, 2005, 9:53 am

this is better under the programing(i can't spell) section.

Post Posted: February 21st, 2005, 3:47 pm

I saw directions some where but i frogot what they were. if anyone can help i think it was like this enter bios hit caps,num,scroll then hit (alt e)? thats the part im confused about hehe here it is Dimension 8200, 8100, 4500S, 4300, and 2200 Systems To clear the NVRAM, perform the following steps: ...

Post Posted: February 20th, 2005, 8:13 pm

no xampp doesn't sux. it would never load mysql. it worked but it never loaded mysql. php worked and apache worked. but mysql never loaded

Post Posted: February 20th, 2005, 4:25 pm

o, well it was inside a echo so i just thought i could. ok now i know

Post Posted: February 20th, 2005, 12:27 pm

In my topic here I have php included in my post. Well in the first post it added an ?> at the end thats not there so its throwing off people. Next in my latest post in that topic it didn't include 1 \ even though it is there. So is there something that can be done about it. because its leaving ou...

Post Posted: February 20th, 2005, 11:58 am

what i think i did is see the closing ?> that is a mistake. so that could be wrong. and it is in a echo so.. edit here is my entire code. its still there. [php]<?php session_start(); if ($_SESSION['email_address'] != "" ) { echo "<b>You do not have the appropriate permissions to enter ne...

Post Posted: February 18th, 2005, 9:58 pm

Is there a way i could specify the file using this code. the problem is that it needs to by dynamic so i cannot use just any text file. [php]<?php $filename = 'test.txt'; $somecontent = "Add this to the file\n"; // Let's make sure the file exists and is writable first. if (is_writable($filename))...

Post Posted: February 18th, 2005, 9:49 pm

What are T_Strings and what is wrong with this code
PHP Code: [ Select ]
<INPUT TYPE="radio" NAME="grade" VALUE="9" CHECKED>9th <INPUT TYPE="radio" NAME="grade" VALUE="10">10th <INPUT TYPE="radio" NAME="grade" VALUE="11">11th <INPUT TYPE="radio" NAME="grade" VALUE="12">12th
//humm wher...

Post Posted: February 18th, 2005, 7:40 pm

well i've tried the a2t and the xampp before. but i could never get the mysql up and running. so i am going to try the fox serv.

thanks

Post Posted: February 17th, 2005, 2:01 pm

did you try this site

http://hotscripts.com/PHP/Scripts_and_P ... index.html

i think thats kinda what you want, i really never looked at the site

Post Posted: February 15th, 2005, 11:19 am

well what he wants is for the post to be included in the e-mail

Post Posted: February 14th, 2005, 5:17 pm

so final code like [php] <?php session_start(); $sessionname = $_SESSION['username']; include('db.php'); echo "Welcome, ". $_SESSION['username'] ." you can change your password here."; if ($_POST['cmd'] == "changepass") { $old = $_POST["old"]; $new = $_POST["new"]; $new2 = $_POST["c_new"]; if ((!...

Post Posted: February 14th, 2005, 10:47 am

I have the following code [php]<?php session_start(); $sessionname = $_SESSION['username']; include('db.php'); echo "Welcome, ". $_SESSION['username'] ." you can change your password here."; if ($_POST['cmd'] == "changepass") { $old = $_POST["old"]; $new = $_POST["new"]; $new2 = $_POST["c_new"]; ...

Post Posted: February 14th, 2005, 9:48 am

ok, thanks for the help

Post Posted: February 13th, 2005, 7:19 pm

ok i have the following code [php]/* Everything has passed both error checks that we have done. It's time to create the account! */ //lets say where the files are going and the directory name $newDir = ($kids_name); $path = (public_html/scn/9); //Lets encrypt the password $db_password = md5($passwor...

Post Posted: February 13th, 2005, 7:04 pm

well here i will post the entire message bc its fake. it probally looked through the headers Warning: This message may not be from whom it claims to be. Beware of following any links in it or of providing the sender with any personal information. Learn more External images are not displayed. Display...

Post Posted: February 13th, 2005, 4:20 pm

here is what gmail gave me for my flagged paypal account i don't have.

Warning: This message may not be from whom it claims to be. Beware of following any links in it or of providing the sender with any personal information. Learn more

T

Post Posted: February 10th, 2005, 5:42 pm

the sebflipper one just makes new tables so then when the forum is called upon by the url it goes and uses the get command and displays everything

Post Posted: February 9th, 2005, 2:30 pm

and would i do something like this

stripslashes($notes) before it
  • Sort by
 
 

© 1998-2016. Ozzu® is a registered trademark of Unmelted, LLC.