i created a downloads module for my jcow social network site which uses the following code:
$fileserver_path = 'your/downloads/folder/'; // change this to the directory your files reside...
Type: Posts; User: liamallan; Keyword(s):
i created a downloads module for my jcow social network site which uses the following code:
$fileserver_path = 'your/downloads/folder/'; // change this to the directory your files reside...
are u using a form where the button is to edit?
if u are, u may want to add a hidden field in ur form, which will hold the id of each event eg.
<input type="hidden" name="id"...
yea, it is different, just one of the many methods i have tried for the variable to echo a result. and u are correct, it is a user defined error message that tells me that the path to the function is...
lol the ass() function displays 'blocks' on users profile like so...
http://shiftysplayground.co.uk/includes/profile.png
as u can see, i get a wrong path error once i press submit
hey, is it possible to use php variables in javascript? i been trying to create an admin notes section on my users profiles that only admin can see, and to make notes on each user.
it works great,...
hi, im trying to get the 'last modified' time of a file on my server, im currently using the filetime() function to try accomplish this. however, when i run the script, i get met with this error:
...
try this, find the css for the ticker
/* CSS for Ajax ticker*/
#ajaxticker1{
width: 900px;
height: 100px;
border: 1px ridge black;
padding: 5px;
background-color: #DAF7D9;
hey guys, i made a map using a table style method. but it is really slow to load! :mad:
here is the code:
<?php
//game map test
//set the grid size
$grid_y = (int)400;
$grid_x = (int)400;
is it possible to add a pan/zoom script to a table? i know it can be done with images, but thats all i could find on google :)
is it possible to stretch a table background image so it is full size of the table, instead of using repeat?
or is there any other way that i could achieve this?
thanx :D
a little more info:
the citys all show on the map, the friendly citys all show the same details in popup even though it is obvious all the citys coordinates are different, and the hostile citys show...
try removing @ in:
while ($row = @mysql_fetch_array($q_str))
hey guys, i am wondering if it is possible to implement the 'DD sticky tooltip' script into a map on my site?
atm, when u hover over the citys on the map, the tooltip appears, but all the citys...
i have managed to get the different citys to show on the map but when the city info box(DD Sticky Tooltip script) pops up, all the citys hold the same information :confused:
this is my code now:
...
anyone? :(
hey guys, i have decided to dump the header imagecreate idea, and opted for a simpler table-type map which works.....to a certain extent.
it only pulls one row from the mysql table and displays on...
it only displays a plain green background. no grid and no colored rectangles
just this:
http://shiftysplayground.co.cc/me.php
its supposed to look like the image in post above
i got the green background to display! the problem was because the php was surrounded with html so that stopped it working properly.
however, the 'imagefillrectangle' doesnt seem to be working.
...
also, i removed the header to see if there were any errors, and it displayed:
�PNG IHDR����*�PLTEC�C�'h'�E���&IDATh���1 �Om O��<�~��:IEND�B`�
what does that mean?
also, does $userarray have...
hey daniel thanx for the reply.
i had a try at adding:
imagepng($im);
to the end of my code, and had a look at some exanples from php.net.
the output is exactly the same as, if u call an...
i have never went as far as to try create something as advanced as a fully functional CMS, as i have only been into php for around a year, but if i could help in any way, i would! i think it is a...
hey guys, im trying to make a game map, which will be like a x,y grid, a query will get the information stored in the 'x' and 'y' columns of the database table and project them onto the map.
im...
thanx mate, worked like a charm!
i have been recently trying to find out why my form wouldnt insert into my mysql table, but i found the problem.
when a user writes in the textarea, they cant use an apostrophie ('), for...
i agree that not everyone will use it, but what i like about it is that there is no need to login or rummage around to get the feature u want, and querys can be run with a matter of 2 clicks. i was...