236 Posted Topics
Re: [PHP] $file = 'yourfilename'; $new_filename = 'usersfilename';[/PHP] | |
Re: PHP and ASP are also server-side options. I have heard of people using javascript to load html files as well. | |
Re: You want to use sessions: [url]http://www.php.net/manual/en/ref.session.php[/url] | |
Re: [PHP]<p> This result of the is : <? echo "$result" ; ?></p>[/PHP] Where did you define $result? And it is also better to use <?php than <? | |
Re: How about a gift card to someplace like Sears, Target, Wal-Mart, etc... But how are you verifying those recommendations? | |
Re: Add this line to the <head> of your index.html: <meta http-equiv="refresh" content="0;URL=forums/index.php"> People visiting your site will be sent directly to your vbulletin index. That is the "easy" way. Maybe someone else will post the hard way :p | |
Re: A tad off topic, but this is a great site about scams etc: [url]http://www.419eater.com/[/url] | |
Re: I suppose the best option would be to add to the standard context menu, is that an option tgreer? | |
Re: $pos = strpos ($HTTP_USER_AGENT, $value); You have not defined this variable and it is not good practice to use a reserved name for a variable name. So use this: $u_agent = getenv('HTTP_USER_AGENT'); $pos = strpos ($u_agent, $value); The issue for the OS is similar, you should see it now ;) | |
Re: You can find a login script here: [url]http://www.evolt.org/PHP-Login-System-with-Admin-Features[/url] I think it is a fairly good solution. Of course integrating it with your website will pose challenges as Troy mentioned. There is alot of discussion after the article so I suggest you read the comments as well as the article to … | |
Re: Hmm. How about taking some of the latest blog posts and including them in an email? Kind of like someone else does that spams me, but I didnt block them because some of the info actually interested me. Might generate some return visits. | |
Re: Nice way to comment on a post that is a year and a half old. | |
Re: How are you getting the values from the database? What server-side language are you using? | |
Re: I recommend you take the high ground. From your description of the problem it sounds as though you can. Be completely open. Make an announcement about the issue and explain the situation to your members. I would unlock the pms ASAP. Otherwise your members will feel as though you are … | |
Re: I think that is an end-user issue and has to be changed in the page setup part of the print dialogue. To my knowledge there is no way to effect those settings using PHP. | |
Re: Record the ip of the spammers and block them. | |
Re: Find someone local to you. Get a non-disclosure agreement written up. Make the local web designer sign it before talking talking to them about your idea. Then at least you have some legal recourse if necessary. | |
Re: You will either have to 1) do another database request when processing the form to get your values or 2) use some javascript to grab the select value then add the hidden value to submit the form. | |
Re: That is a PHP error, but you haven't posted any PHP code for us to look at... | |
Re: The page has no doctype defined. If there is no doctype defined each browser will use its "preferred rendering mode" or "quirks mode". What happens is that pages can look radically different depending on which browser you use to look at it. | |
Re: Wow lol. I'm so used to the way it was. *Goes to get his bearings* | |
Re: Its something in the javascript file you are linking to: ( i don't know what ) <script type="text/javascript" src="chromejs/chrome.js" /> remove that and it displays in IE... | |
Re: Declare a doctype... | |
Re: You can edit your post for a short time after first posting, but once the time period is up you can't edit them anymore. | |
Re: The page the form is submitted to is on the old site correct? At any rate you need to edit the page the form is submitted to and add a header using PHP [PHP]<?php // make sure to verify your data header("Location: http://oldsites_name/oldsite_page"); ?>[/PHP] Make sure when using the header … | |
Re: Sessions expire automatically, I don't think you can force a session to expire. The time limit for a session is set by the [B]session.cache_expire directive[/B]. You should be able to set this directive at the beginning of your script using the [B]ini_set[/B] function. That way you determine how long the … | |
Re: Scrollbar appears for me in firefox 1.5.0.1 | |
Re: You could use curl or file() to get the page and then add your code before sending it to the iframe. Doesn't sound very ethical though if you don't own the page. | |
Re: [QUOTE=conspiringfate]ok dude.. . email me.. .lets fix this... i understand your problem but i really dont wanna type out the code[/QUOTE] Why not help her solve the problem here? If so then everyone else will have the opportunity to see the solution and learn something... | |
Re: -> is used for object oriented PHP. So if you have a class called user and the user class has a function called login and a variable called name. You would create an object from the class called John maybe. So to log John in you would call the login … | |
Re: Errr... Where is the tutorial? ![]() | |
Re: AJAX will do this, but it's probably overkill for most situations. How long is it taking the page to load? | |
Re: If you are talking about where you have [CODE]http://www.BuyPixelScript.com[/CODE] it is because you aren't using anchors. | |
Re: [QUOTE]/Forum2/includes/tiny_mce/langs/.js[/QUOTE] langs/.js ??? that isn't a proper filename | |
Re: If I need info about PHP I always check php.net first. The [URL=http://php.net/manual/en/funcref.php]function reference[/URL] is great. There are usually some code examples and user discussion at the bottom of each page. Other places to find articles, tutorials, and code snippets are: [URL=http://www.daniweb.com/code/php.html]DaniWeb PHP Code Snippets :)[/URL] [URL=http://www.phpbuilder.com/]phpbuilder[/URL] [URL=http://www.spoono.com/php/]PHP section at … | |
Re: It means the webserver doesn't have permission to write to the "Uploads" folder that you created. The webserver runs as a different user, so you will need to change permissions on the folder or chown (change ownership) of the folder to the webserver. Yay me 200 posts :lol: | |
| |
Re: I think what you have looks ok. You could massage the format a bit? Personally I would prefer the time show on the left side of the event: 10:00AM Ceramics Looking at the page I don't "readily" see why it is not acceptable, but then again I am not familiar … | |
Re: If you placed the database backup on the server via ftp, then I suggest you check the permissions, assuming you have a linux based server. If you are trying to upload the file using vbulletin, then you may need to split the file up into smaller chunks as many servers … | |
Re: Just for kicks try it with a \ ... DocumentRoot "Z:\Temp" | |
Re: Are you sure it is returning a result? I don't think an empty result will cause it to die. So what I mean is that for some reason there is no result for either query, therefore they are the same result... Dance | |
Re: I have no experience with Plesk... Have you tried bookmarking the phpMyAdmin page? I can do that in cpanel and then login when it tries to access the page. | |
Re: Option 1: Create a page - index.html. Put it in your main webroot ex: [url]www.todaysfishing.com/index.html[/url]. In that index.html put this in your header: [HTML]<head> <meta http-equiv="refresh" content="0;URL=http://www.todaysfishing.com/forums/" /> </head>[/HTML] If you choose this option you could add some text in <h1> tags for seo purposes. Leave the text black and … | |
Re: You are correct about phpBB. If you mod it then update or change templates then you can have some major headaches. [QUOTE=Libertate]Yes... I am. I have looked and looked and looked. Came to the realization that there is a major management problem with phpBB. All hacks/mods/add-ons (mods hereon) use SubSilver … | |
Re: Have you looked at Mambo? There should be a way to set it up so that the user has an account to add articles, but not have admin priviledges. When I first looked at Mambo it was pretty confusing to me, but after playing with it for a couple of … | |
Re: Is it required that you use access? | |
Re: It was interesting to find out about John Chambers and CISCO. Its admirable that he was willing to sacrifice his pay to help the company, instead of trying to bleed it dry and get out.... |
The End.