389 Posted Topics

Member Avatar for thetechguy

robots.txt usaly is not protected just use [url]www.thesite.com/robots.txt[/url]in your brouwser

Member Avatar for pzuurveen
0
99
Member Avatar for tcollins412
Re: form

The header gets sent before the first output. In your case at line 1 [CODE]<a href='?goto=register'>register</a>[/CODE] you cant do a header call after that as you do at line 28

Member Avatar for pzuurveen
0
122
Member Avatar for pzuurveen

Hi I've writen a server is PHP that i want to run every min. so i can do something like in cron [CODE]*/1 * * * * lynx -dump http://www.somedomain.com/myserver.php[/CODE] But i want to make sure there only 1 running. The web tells met to check for an prosesid but …

Member Avatar for rbross
0
381
Member Avatar for Nahiyan

are your comment text? The u can't store them in a longint. Just use TEXT as ur column type If there are numerical i don't see the problem with new lines

Member Avatar for Nahiyan
0
205
Member Avatar for Siege

Filetype is't what u want. check for gif file [CODE]if (exif_imagetype($dirArray[$index]) == IMAGETYPE_GIF) $NumberOfGif++; [/CODE] to check for other image types see [URL="http://nl.php.net/manual/en/function.exif-imagetype.php"]http://nl.php.net/manual/en/function.exif-imagetype.php[/URL] This look inside the file and is therefor slow but gifs u the true type of the image a .png renamed .gif wil be recognised as png …

Member Avatar for mschroeder
0
481
Member Avatar for attism

you can use something like to find out whats wrong [CODE]$related_query = mysql_query(' your query here' )or die( mysql_error());[/CODE]

Member Avatar for attism
0
249
Member Avatar for gunderjj

You have an error in your select statmend on line 5 [CODE]echo "DB_Backup <select name='DB_Backup'>";[/CODE]

Member Avatar for gunderjj
0
172
Member Avatar for Kniggles

The width is part of the image tag [CODE]echo "<td><img width = '75' src='http://". $row['url'] . "' /></td>"; [/CODE]

Member Avatar for Kniggles
0
223
Member Avatar for Craig2231

You didn't seleclect your db [CODE]mysql_select_db('yourDB', $plod) or die('db not found: ' . mysql_error());[/CODE]

Member Avatar for hielo
0
120
Member Avatar for stonest123
Member Avatar for wangome

Your reverens to $_POST should be quoted like this [CODE]$_POST['topic_owner'][/CODE]

Member Avatar for pritaeas
0
231
Member Avatar for dannynez

[CODE]virtual('/Connections/conexion.php');[/CODE] alsso sent the headers can't you use include or require ?

Member Avatar for pzuurveen
0
130
Member Avatar for mayursharma

all i can think of is to set the dafault to NULL what's not the same as zero (=numerical value where NULL means doesn't exist)

Member Avatar for mayursharma
0
114
Member Avatar for dandixon

Are you sure your $_SESSION get gast to the next page and is not recreated by your loginscript? to test change [CODE]# /* Quick self-redirect to avoid resending data on refresh */ # echo "<meta http-equiv=\"Refresh\" content=\"0;url=".$HTTP_SERVER_VARS[PHP_SELF]."?".htmlspecialchars(SID).">"; # return;[/CODE]

Member Avatar for pzuurveen
0
166
Member Avatar for sam023

goto [URL="http://php.opensourcecms.com/"]http://php.opensourcecms.com/[/URL] and trie wath the best is for what you want

Member Avatar for anupam.3985
0
137
Member Avatar for keyroche

this might shed some light [CODE]/** * Define MyClass */ class MyClass { public $public = 'Public'; protected $protected = 'Protected'; private $private = 'Private'; function printHello() { echo $this->public; echo $this->protected; echo $this->private; } } $obj = new MyClass(); echo $obj->public; // Works echo $obj->protected; // Fatal Error echo …

Member Avatar for keyroche
0
215
Member Avatar for twelvetwelve

someting like this: [CODE] $query = sprintf("SELECT Personal_tutor FROM Student WHERE student_ref='%s' ", mysql_real_escape_string( $username)); $tutorname = @mysql_query($query); if (!$tutorname) { exit ('<p> Error performaing query: ' . mysql_error() . '</p>'); }[/CODE]

Member Avatar for Ankit_Parmar
0
282
Member Avatar for whiteyoh

You missed the closing ' on your $_POST [CODE]<?php if (isset($_POST['submit'])){echo "clicked";}[/CODE]

Member Avatar for rajarajan2017
0
112
Member Avatar for sastudent

to prevent uploading to big a file you can also limit it in your form [CODE] <INPUT TYPE='hidden' NAME='MAX_FILE_SIZE' VALUE='51200' /> Upload this file: <INPUT NAME='userfile' TYPE='file' ID='file'/> [/CODE] recoment after this still use vaultdwellers script

Member Avatar for pzuurveen
0
129
Member Avatar for starlight22

haeders are send when ou output something. so put the sesion stuf before anything else. also make sure that there are no empty lines before your [code] no empty line here <?php no echo here sesion_stuff() ?> [/code]

Member Avatar for rajarajan2017
0
122
Member Avatar for sastudent

You can mak this->title an array [CODE] class Entry { private $title = array(); [/CODE] change the constuctor: [CODE] $result=mysql_query($query); while($row=mysql_fetch_array($result)) { $this->title[]=$row['TITLE']; } [/CODE]

Member Avatar for sastudent
0
123
Member Avatar for dipak83

The first time yo see the form you $_POST doesn't exist so [CODE] <form name="frmSearch" id="frmSearch" method="POST" action="http://localhost/CSV/<?php echo $_POST['keyword']; ?>">[/CODE] becomes [CODE] <form name="frmSearch" id="frmSearch" method="POST" action="http://localhost/CSV/">[/CODE] not using you url rewrite but just going to index.php the second time $_POST exits and [CODE] <form name="frmSearch" id="frmSearch" method="POST" action="http://localhost/CSV/<?php …

Member Avatar for pzuurveen
0
231
Member Avatar for bigjoke

i would use the the primery-key as reverns sometin like: tabel user: user_id (primery key) name ... table contact contact-id (primeyy key) user_id (foren- key form tabel user) tel mobile email ...

Member Avatar for pzuurveen
0
68
Member Avatar for red_ruewei

you have to pass along the session id for it to work see: [URL="http://nl.php.net/manual/en/session.idpassing.php"]http://nl.php.net/manual/en/session.idpassing.php[/URL]

Member Avatar for Manuz
0
131
Member Avatar for chr.s

On this websit you can playaround with most cms, blogs etc to find the one you like [URL="http://php.opensourcecms.com/"]http://php.opensourcecms.com/[/URL]

Member Avatar for F-3000
0
145
Member Avatar for ayesha789

What do you have as your form action? if you call the same scrip the form rest it self. The seleced value is in your $_POST do [CODE] <? var_dump($_POST); ?> [/CODE]

Member Avatar for rajarajan2017
0
135
Member Avatar for teddy99

You google funtion is in javascript that runs in the brouwser, all php is done and over (serverside) by that time. so you have to call an external scipt or do a refrech with the the latlng as a hidden form element

Member Avatar for pzuurveen
0
106
Member Avatar for jatpatel1

I would use a xml file see : [URL="http://nl2.php.net/manual/en/simplexml.examples-basic.php"]http://nl2.php.net/manual/en/simplexml.examples-basic.php[/URL]

Member Avatar for pzuurveen
0
119
Member Avatar for cacoyle

you can refrece your page after 5 sec [CODE]<META HTTP-EQUIV="refresh" CONTENT="5;URL=homegage.html[/CODE]"> display the gif as any picture, you can't resize it because gif is een bitmap

Member Avatar for Nahiyan
0
131
Member Avatar for gunnarflax

$fileName_database will not be an array if mysql_fetch_array has no result ==> it returns FALSE

Member Avatar for gunnarflax
0
149
Member Avatar for dwdata

you said that you used Implode("/r", The Field) to create the Db you should have used Implode("\r", The Field)

Member Avatar for Rkeast
0
74
Member Avatar for maloken

i googled this: [URL="http://unk1911.blogspot.com/2005/10/php-normal-cumulative-distribution.html"]http://unk1911.blogspot.com/2005/10/php-normal-cumulative-distribution.html[/URL]

Member Avatar for pzuurveen
0
63
Member Avatar for ajie6673

Just add [CODE]$find=$_POST['find'];[/CODE] at the start of search-exec.php

Member Avatar for Will Gresham
0
100
Member Avatar for rommels
Member Avatar for james595832

you have a typ at the start [CODE] function confirm_query($result_set) { if (!Sresult_set) { [/CODE] must be [CODE] function confirm_query($result_set) { if (!$result_set) { [/CODE] not sure that will anser your queston

Member Avatar for pzuurveen
0
306
Member Avatar for mrsspambo

Your switch problem is fixed. You just have a bug online 29 trie [code]if(strpos('*image/gif image/jpg', $Files[' file1']['type'])) {[/code]

Member Avatar for kaykays
0
713
Member Avatar for EnderX

By copying the directory you might have chanched the owner or the permisions ?

Member Avatar for pzuurveen
0
119
Member Avatar for Barefootsanders

You used " in a string . This is't nessarray. Just remove them [php]echo "<center><br><br><a href=http://novatrader.net/index.php?option=com_puarcade&Itemid=51>&lt;&lt;&nbsp;Choose Another Game</a></center>";[/php]

Member Avatar for php_daemon
0
107
Member Avatar for pzuurveen

Hi all I'm writing a code to search image on google and parse the urls to a flash aplication. More and more I don't get the image but a picture that tells me not to hotlink. I want to detect this so I can look for another image. I've written …

Member Avatar for pzuurveen
0
164

The End.