708 Posted Topics

Member Avatar for Cosmocrazy

can you use php at all? i can make a script for this in a few hours in php but i am still trying to think of a way to do this in javascript.

Member Avatar for somedude3488
0
85
Member Avatar for somedude3488

Within the last 2 months or so I started to use the Opera Browser, but sometime last week I wasn't able to post a reply anymore. I click the button to submit my relpy to a thread and nothing would happen. Also at school we use a restricted version of …

Member Avatar for MidiMagic
0
177
Member Avatar for Dabdob
Member Avatar for Dabdob
0
135
Member Avatar for ploppy

this might help, i never could test it. [code] <?php function ShowMyFiles() { // vars global configuration global $dbConn, $theme_path; // vars messages global $msg; // vars template global $error_msg, $status, $files, $owner, $test, $paginated; if ($err) { $error_msg = 'Custom error message'; } if(!isset($_GET['page'])){ $page = 1; } else …

Member Avatar for ploppy
0
162
Member Avatar for Cente

i guess i didn't read well enough but what exactly are you doing with this newsletter. are you emailing this to people, is it going on the website somewhere to be viewed.

Member Avatar for Cente
0
108
Member Avatar for tomjohnson

put the results from a query from table A into an array and get the total number of results using to count() function. take that number and subtract 1 from it. put that number here: ex. $array = $array[$number]; then use that variable in table B's query

Member Avatar for tomjohnson
0
108
Member Avatar for ryy705

what i like to do is put some ajax on the main page of my website so that the php code will execute every time someone accesses your page and do the garbage collection you need. i don't know if this would work for you but i works quite well …

Member Avatar for somedude3488
0
56
Member Avatar for tanha

you have your php code set up wrong. i tried putting to problem into words but couldn't. you have use the while statement incorrectly. i will provide the code to display the images right in alittle while. i can't right now because of my location. someone else might have a …

Member Avatar for tanha
0
551
Member Avatar for somedude3488

Hello everyone, I got really bored yesterday and made a php chat program during 2nd and 6th hour at school. Its very basic and I wanted to know what features should be added. This was made to talk to friends during school so I don't want to make it really …

Member Avatar for fatihpiristine
0
114
Member Avatar for fatihpiristine

what do you mean change codes. do you mean they can customize your scripts and such. can you go into more detail. i can help you, i've done this before but i would like to know more.

Member Avatar for fatihpiristine
0
91
Member Avatar for nickw

the mysql_fetch_row returns data as a numerical array. you don't need to make it into one. if you could explain your problem in more detail, i think i can help you.

Member Avatar for nickw
0
386
Member Avatar for ztwalsh

so where exactly are you trying to connect to the godaddy mysql server from? i have had this problem before and solved it, but i guess i am not following what you said.

Member Avatar for somedude3488
0
135
Member Avatar for fatihpiristine
Member Avatar for tryphy

i have a problem with images on my server where the extension will change to uppercase when uploaded. some servers will not display the image if the extension in the database and the one in the folder are not the same. also did you add the folder to the path. …

Member Avatar for Venom Rush
0
104
Member Avatar for thunderbbolt

you have to use the limit statement in the query example: $sql = 'SELECT * FROM table LIMIT 0, 10'; where 0 is the starting position, which is the beginning and 10 is the user limit you want

Member Avatar for thunderbbolt
0
70
Member Avatar for ajay_tabbu

i will try to configure that on my server to see if i get the same error. then if i am successful i will tell you how i did it.

Member Avatar for ajay_tabbu
0
173
Member Avatar for jglw

i just made a code to break up the words for you. you will need to customize it to work with you setup. i can do this for you but you need to post all of your code so i can see exactly what you are doing.

Member Avatar for somedude3488
0
118
Member Avatar for gil857
Member Avatar for Pro2000

here i got it. i just wrote the code and lightly tested it. to make it fit with your program i need to now where the string thats being colored is coming from (mysql, ect.)

Member Avatar for somedude3488
0
94
Member Avatar for jpl80

what you need is a secure server ([url]https://)[/url]. it encrypts all data with a 128bit encryption key. you can go higher in encryption but it costs more. you will also need a security certificate. this can be made by a company and needs to be signed by a CA (certificate …

Member Avatar for world_weapon
0
79
Member Avatar for world_weapon

try this: [code] $sql = "SELECT * FROM table1 WHERE table1.user_id = '" . $numVar . "'"; $query = mysql_query($sql); if (!$query) { echo 'Query NOT ok'; } else { echo 'Query ok'; } [/code] i think you might of had some syntax errors in your code and thats why …

Member Avatar for world_weapon
0
147
Member Avatar for thunderbbolt

try using the right php opening tag "<?php" not "<?", this makes a big difference. some servers will not read the php code if its not properly enclosed by the right tags. i can make you a login script that will work, i'm bored.

Member Avatar for thunderbbolt
0
130
Member Avatar for ramirez

i think i can help you, but please explain it in more detail. what is a "fitt", maybe fitting i don't know. just please be more clear. what exactly are you trying to do or what are you even saying, "fitt", "full fitt", ????????

Member Avatar for Puckdropper
0
122
Member Avatar for jtmcgee

try this, it might work. [code] if( $rand_num <= $chance ) { $item_id = mysql_query("SELECT `item` FROM `creatures` WHERE id = '$id_creature'"); $foo =& creature_stats( item, $id_creature ); $item_query = mysql_query("SELECT * FROM items WHERE id = '$foo'") or ('$item_query'); $item = mysql_fetch_row($item_query); echo"You got an ".$item[0]."!"; } [/code]

Member Avatar for somedude3488
0
162
Member Avatar for tanha

try this: [code] <?php //**************************************************************************** ////////////////////////Downloaded from www.plus2net.com ////////////////////////////////////////// /////////////////////// Visit www.plus2net.com for more such script and codes. //////// Read the readme file before using ///////////////////// //////////////////////// You can distribute this code with the link to www.plus2net.com /// ///////////////////////// Please don't remove the link to www.plus2net.com /// ////////////////////////// //***************************************************************************** ?> …

Member Avatar for ShawnCplus
0
350
Member Avatar for ajay_tabbu

i am trying to understand exactly what you mean. so you don't want people to go back to welcome.php after logout. is that what you are saying?

Member Avatar for somedude3488
0
282
Member Avatar for xtian170174

so if i am reading correctly you want to show a questionaire, question by question based on user input and them collect these answers and display them to the user and save the information for yourself as well. am i correct?

Member Avatar for somedude3488
0
154
Member Avatar for comask

why don't you use a meta refresh: [code] echo '<meta http-equiv="refresh" content="2;url=relativeurl.html">'; [/code]

Member Avatar for ajay_tabbu
0
395
Member Avatar for rhak

its not very hard at all. what you need to store the data is a database. the email part is easy just post your form code and i can make the proper changes if you need me to.

Member Avatar for somedude3488
0
67
Member Avatar for BNArun
Member Avatar for etlone

why don't you retrieve all the data and input it into table. then edit what you have to and submit it all to the next database. i can write a test script if you want to see what i mean. just let me know

Member Avatar for etlone
0
86
Member Avatar for Pro2000

why don't you set the string to all lower case. [code] <?php $Msg=$_POST['Msg']; $Msglower = strtolower($Msg); $arrA=array(' ' ,'-red' ,'-blue' ,'-green' ); $arrB=array('</font>','<font color=red>','<font color=blue>','<font color=green>'); $Msg_B=str_replace($arrA,$arrB,$Msglower); echo $Msg_B; ?> [/code] or you could try preg_replace

Member Avatar for ryan_vietnow
0
84
Member Avatar for tirivamwe

try this: <?php $open = fopen('counter.txt', 'r'); $read = fread($open, filesize('counter.txt')); fclose($open); $count = $read + 1; $open = fopen('counter.txt', 'w'); $write = fwrite($open, $count); fclose($open); echo"<table cellspacing=0 width =4% cellpadding=0 row=1 column=".strlen($count); echo"<tr>"; for ($i = 0 ;$i < strlen($count) ; $i++) { $imgsrc = substr($read,$i ,1); //display the …

Member Avatar for somedude3488
0
100
Member Avatar for 5teady
Member Avatar for somedude3488
0
56
Member Avatar for ronghel

hey, i got the script to work finally. pm me and i will give it to you.

Member Avatar for somedude3488
0
74
Member Avatar for jmueller0823

thats the time. hence "createdTime". thats what the php time() function looks like.

Member Avatar for jmueller0823
0
154
Member Avatar for fatihpiristine

i have had problems before where if i didn't close the connection it wouldn't work again. maybe adding "fclose($handle);" will help.

Member Avatar for fatihpiristine
0
104
Member Avatar for Tony Barber

i would use a mysql database and php to do it. have mysql store the different lanuages and display them based on the url ex. website.com/index.php?lang=en where en would be english and so on. the php script will do the rest. there are various ways of doing this but i …

Member Avatar for fatihpiristine
0
152
Member Avatar for tanha

javascript and php are completely different. first of all, php is server side and javascript is client side. This means that php and javascript cannot communicate with eachother easily. Its possible but only through varibles passed along by the GET function of php. DELETE.PHP [code] <?php if (isset($_GET['studentCode']) && !isset($_GET['conf'])) …

Member Avatar for tanha
0
289
Member Avatar for becraig

i have a script i just made for you but i have to ask if you need me to add email validation to it. also, does it need to have input fields for the first name column?

Member Avatar for somedude3488
0
110
Member Avatar for trs21219

why do you need the .htaccess file. i don't need one and i have done the samething displaying games with an game id. it here: [url]www.vcgames.net[/url]

Member Avatar for johny_d
0
164
Member Avatar for binoj_daniel

a website should be able to be view in all screen resolutions. not everyone has a big monitor. some people i know still use 14 inch monitors.

Member Avatar for johny_d
0
89
Member Avatar for RGStrat

stuff concerning domains and what folder they are directed to has to deal with server configuration. there is no need to make a script to do this for you.

Member Avatar for RGStrat
0
137
Member Avatar for ryan_vietnow

i guess i am not following what you are saying. what do you mean by tabs? is it like tabs to navigate with or what?

Member Avatar for ryan_vietnow
0
114
Member Avatar for Inny

i am trying to understand exactly what you are trying to do. are you checking the status of other peoples servers for them and redirect to a page to show if their server is down?

Member Avatar for somedude3488
0
352
Member Avatar for mag00

you can use php in html files as long as the server is configured for it. i have my own server and i can make any extension i want. this includes .html files [url]http://68.103.192.2:8080/show.haha[/url]

Member Avatar for mag00
0
165
Member Avatar for jonathan.jbkt
Member Avatar for somedude3488
0
255
Member Avatar for njagi

check out this. [url]http://www.banditssoftball.org/test.php[/url] I'll get you the code later today The problem is in the foreach statement. You cannot use varibles created inside of it on the outside. For this use the while statement. It should work then.

Member Avatar for somedude3488
0
297
Member Avatar for nil_gh_80

look on the other post i did, [url]http://www.daniweb.com/forums/thread90079.html[/url] it has the code you need.

Member Avatar for somedude3488
0
82
Member Avatar for nil_gh_80

I am still trying to figure out exact what you want but i'll try. You could use javascript to insert the tags into the textarea. [code] <input type="button" value="Subscript" onclick="document.getElementById('message').value+='[sub][/sub]'"> [/code] Then use php to find and replace "[sub]" & "[/sub]" with the proper tags and then insert them into …

Member Avatar for somedude3488
0
288

The End.