Hi Phil,
Sorted. The issue is about the time o the server and my location which is about a 4h difference. That's why a cookie set for 1h didn't work. So I need to re-set to a longer expiration date...hope it'll solve the problem. Thanks a lot.
Hi Phil,
ok - I get no errors on error_reporting(E_ALL). Secondly, the code works perfectly locally. When uploaded on the server it doesn't set the cookie for some reason. For now I replaced the cookies with setting $_SESSION instead - but that is only for as long as the browser on of course...
Hello to all. Yesterday I came across an issue where I can't execute a cookie for some reason on the server. It works locally though without no problems. The domain's path is "/tmp" for session_path. Here's the code. Thanks for comments:
if (!isset($_COOKIE['TestCookie'])) {
$vote_com2 =...
Hey guys...a bit of feedback of course. Thanks for suggestions but sometimes I get impression whether you're a bit confused as well. First of all - in your 2 posts above - you mention that I placed css / style code without putting it into external folders ( or referring to them ) - can't you see...
This is true actually - I see now...yes, there are 2 html pages included into the main index.php page within the html tags. I need to strip unecessary html tags from them. Still, this is another issue ( that I'm grateful for making me realise that ) than floating the text under the video clips...
Here's html and css from index page. They are all neat:
//HTML
<!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=utf-8"/>
<title>...</title>
<link rel="stylesheet"...
Hey - no - it's the source code that shows the multiple body / html tags. All the page is neat and the extra javascript and php codes are placed in different folders. But the source shows / packs everything into one source code. I'll sort it out for you...
I see, the source as you asked is :
<!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=utf-8"/>
<title>...</title>
<link rel="stylesheet" type="text/css"...
No - there is enough to resolve the issue - sorry..simply, because there is no other HTML code left..I on the other hand managed to workaround it only by using a table position. I cannot understand what else you're asking for..
I have modified the code already - but as far as I remember it was like that:
//PHP
//Video
$video_data = mysqli_query($connect,"SELECT * FROM videos ORDER BY videos_id DESC ");
//Tube loop
while ($tube_row = mysqli_fetch_assoc($video_data)) {
$url[] .= $tube_row['videos_link'];
$tube_txt[]...
Oh I see - no, I haven't put a single div into each link. The links are inserted ino mysql in order by an admin. The PHP code queries the links and renders them into embedded objects in id order. Hence the piece of code: '$tube_display .= (...)'. So that is absolutely fine. The next thing was to...
Thanks guys....what do you mean by saying the same id's ? None of my id's are the same..where do you see the same ids ? One is 'tube_layout' and the other 'tube_table' the other 'titles'. Still the problem was to layout them in a div. You see - tube_display lays out videos in a row and that's...
Hey guys - here's more of what I meant:
//PHP
$tube_display .= '<div id="tube_layout"><object width="232" height="167"><param name="movie" value="http://www.youtube.com/v/{idt}&hl=en_US&fs=1&rel=0&color1=0x000000&color2=0x550000&autohide=1&showinfo=0"></param><param...
Thanks, the option that worked for me was to place the links into a single table row and float them left. Whereas the text is embedded into the object area. All the layout is done in PHP variable ( from queries ) that's why it takes a bit more work.
The working solution seems to be a div in...
Hello guys...Wonder if you could help me with this issue..
So to be concise - I have a 'div' container into which I query a series of video links. The embedded videos are aligned next to each other in the container in rows. There are 3 videos in each row. Now I would like to add text...
Of course I spent few hours I found the solution right after posting a question..typical...Thanks guys anyway.
P.S. the workaround was changing the divs' width from '%' to pixels and set min-width on .swf in the child div. Seems to be working..
Hello guys...wonder if you could help me with this:
I have 2 divs ( both parent and child allow overflow ) - inside of the child div I have a .swf file centered. The divs resize with browser and when they do they overlap the flash file but the scrollbars don't show. I've been trying various...
Vragabond, I think I found the problem - it was a 'white-space:nowrap' declaration in css. Looks it's working fine now when removing it. It used to be ( another div ):
#sliderContent {
margin: 50px 0 0 50px;
/*position:absolute;*/
/*text-align:center;*/
color:#777777;
font-weight:normal...
Hey - true the text input is embedded in another div which is below:
#slider {
width: 100%;
height: 100px;
margin-top: -141px;
margin-left:-8px;
margin-right:-8px;
position:absolute;
background-image:url(images/slider.png);
}
The issue is the text input floats right when browser resizes but...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.