Does anyone know where I can obtain free, non-copyrighted web photos for my landing pages?
I want to put up some free stock photos on my landing pages without the danger of copyright infringement.Thanks,
Jay
Does anyone know where I can obtain free, non-copyrighted web photos for my landing pages?
I want to put up some free stock photos on my landing pages without the danger of copyright infringement.Thanks,
Jay
Open the file in vim.
press :
and type
%s/\n/ReportGenerated,\0\1\2/g
Then hit return and voila.
Surely it comes down to who 'owns' the domain (ie the name it was registered under) and the payer of the hosting bills. If it was a professional venture and it was set up under a company's name (that you both founded) then it would be a different situation, but as its just some forum and a domain it comes down to who's name is on the bill.
If Davey wanted a new car and I suggested he get a pink VW beetle with tiger-skin patterned seat covers; its still his car even though I had some input.
Arguably no better way to learn than to throw yourself in at the deep end.
Shes running 32 bit Vista Hoe Premium...
Don't let her know that you're saying such things on the internet!
/i am immature.
thanx pty for quick reply,
but if i have suppose 7 parameters in query string and i want to access the value for all 7 parameters in one go, how can i do that..
The params are in a hash (eg {"action"=>"list", "filter"=>"closed", "controller"=>"issue"}
. If you want to iterate through them for example use:
params.each do |key, value|
#do something fancy!
end
can anybody tell me how to get the values from querystring.
thanx in advance to all..
params[:param_name]
So say for example you're using pagination and you want the page_number param list?page_number=1
:
params[:page_number]
Matt is right; try to get used to closing a tag right after you open it then typing between them (this way you won't leave any tags unclosed). Some html editors do this for you (bluefish, quanta, notepad++).
If PHP is ran through the Apache server the files must be in the what folder?
Look in httpd.conf (possibly called apache.conf) for the webroot.
On a linux system its probably in /var/www
Are you going to plug daniweb on it?
/has noticed the screenies in your PC Pro column
What is your favorite/most interesting highlight in U.S. History?
Mine is WW2.
You (the US) joined a bit late though; you missed the early fun.
Is it possible to create dynamic menu items for a web application. While clicking on one menu item, it should expand and show the child menu items. While clicking again it should collapse the menu and hide the children. While clicking on child menu item, it should show the corresponding page on right side
Yeah; you would need to use AJAX to make the form dynamic.
Here is a tutorial to get you started
'Costs more money' does not automatically mean better.
Personally it doesn't bother me; I think that moderators should warn people (and edit their posts accordingly) if they use poor contrast or a bad combination of colours excessively.
As for the highlight bbcode tag I didn't know it existed! I may use it more often from now on
All right, I'll admit it - I'm ancient enough to be from the "old" school. In my case, this means I am a textual learner - I don't relate well to visuals.
Searching though the FAQs, I was delighted (and very appreciative) to find the list of Smilies - what they look like and - most importantly - what most of them actually mean! The one English acronym that puzzles me still is LOL - does this mean "lots of love" or "lots of laughs" or "lots of luck" or none of the above?
However, there are a number of different icons that show up to the left of the Threads in each forum. To me, these icons are meaningless - and they don't seem to relate to the optional icons that can be chosen when posting an entry.
For example, I posted a new thread in the Delphi/Pascal forum, and it shows up with something that looks (to me) like a pencil. What does that icon mean?
Question: is there a list of all of these icons and their meanings?
briskal
LOL stands for 'Laugh Out Loud'
I think the pencil icon means that you are subscribed (or have contributed to) that particular thread.
well..i have given Joomla to my more than 150 clients and they are using it...:P mambo is not that secured ..my 3 clients site was hacked by SQL Injection vulnerability...after that i have upgraded most of the sites to Joomla....
Ok; so as you are obviously the resident CMS expert please tell me how the security of Joomla compares to that of Plone, OpenCMS, Alfresco, Drupal or SilverStripe.
Just because your Mambo sites got hacked and your Joomla ones didn't does not mean that it is the most secure thing ever.
I'm no PHP expert but do you have to have a complete comparison for each item in the expression?
eg
if ( ($variable == "GBP") || ($variable == "EUR") ){
$display = "my text here";
}
Looks like a good start. No better way of learning than diving in and trying to actually build something useful!
May I take this opportunity to point out a few other treats from "over the pond" to our American members? OK, great....
1. Phoenix Nights: It's difficult to make Oldham famous, but Peter Kay managed it.
2. Peep Show: It's like a first person shooter, but with no guns and those guys who are in the Apple adverts (Mapin and Webb).
3. The Mighty Boosh: bit hard to explain really....
Steven.
All excellent programs; two more that I would add
4. Brass Eye. Satirical panorama-like documentary program
5. Monkey Dust; an animated series about human despair. Here's a clip on youtube - so so funny http://www.youtube.com/watch?v=AgqEIp2YmtE
edit--
And Phoenix nights is set in Bolton, not Oldham :D Oldham is already famous... erm.. we had the first test tube baby (not me!!), race riots (not me either!!) and invented teh tubular bandage and Oldham was the only town to have both an England football and cricket captain during the 90s
Joomla is best and more Secured than any other Opensource CMS.
Do you have ANY evidence at all behind this statement? Have you evaluated them all? I doubt it.
My Xbox 360 got 3 red lights so I phoned MS and they say its out of warrenty so they want to charge me £80 for repairs. It broke on its own; it gets used 3-4 hours a week (Xbox live Pro Evo sessions!) and is only 18 months old, never been moved, dropped, coffeed or anything.
Anyway I just bought a new core system (as I have a HDD and wireless pad anyway) on ebay which will tide me over; I wouldn't replace it but I have games and stuff that I want to finish (I'm half way through Oblivion too)
No, ruby is mainly use for web applications.
I'm sorry but I disagree, Ruby is very versatile and used an awful lot in non-web applications.
It is Rails that has made Ruby popular as a Web development language
As for moving the Ruby forum, it would make sense to (or at least renaming it to 'Ruby on Rails').
Also (and I've mentioned this in the past) the Database forums shouldn't really be in Web Dev; they would be equally at home in Software Development (or under their own heading but that'd mess up the layout)
If you like the Office I suggest you seek out the original BBC ones, the american one is pretty good but the original will make you cringe so much you hurt.
hi all
is there is any streaming method for video conferencing..
Yes. Yes there are. I hope this has helped.
Pot. Kettle. Black
i find it funny how the usa is like WMDs are bad whereas they have huge stockpiles of them.
Yes but the people in charge aren't over-religious fundies.
Wait a minute...
Don't store images in your database; you're best storing them on your file system and storing their location/filename in the database
name | age | image
-------+-----+--------------------------
Leroy | 19 | images/people/leroy.jpeg
(1 row)
And you don't want to be storing whole HTML files in the database; just the bits that change. You'll find that the header, footer, menus etc on your page will stay the same but your content will differ.
Teens statistically are more likely to have an accident due to inexperience on the road but its wrong to say all teens are bad drivers.
I'm 24 now, I have 6 years no claims and my insurance is still over a grand!
Is there a similar such thing in linux. I.e a batch file?
Of couse there is :) And its massively more powerful than batch scripting.
I think this link/tutorial should be of use to get you started.
A script is running on the page which stops me from scrolling. I think it is with the Global Spec ad, since it does it only when that ad is present.
I've tested this on a few pages and on my browser it seems to always be displaying 'Transferring data from 'www.google-analytics.com'" on the status bar.
This may be the problem area.
Great tutorial Joe
I'll just add that on Debian (based) systems you may want to use 'checkinstall' (available via apt) rather than 'make install'; it will create a .deb and allow you to remove/upgrade/distribute the package using debian's standard package management tools.
Guys which is good CMS (content management system) Joomla or Mambo? why is it so? What you like of it?:?:
Personally, although both similar Joomla seems to have more active development (probably due to the old Mambo devs working on it). For that reason along I'd go for Joomla
Ok I'm getting there.
I have managed to get my printer to work, and I have got g++ and gcc working! Yay.
Before I try and get my graphics card working,how do I burn cds?:'(
Thanx
As jbennet says nautilus is fine for burning files. For burning ISOs and other stuff:
sudo apt-get install gnomebaker
You should already have Serpentine installed (for burning audio cds)
If gnomebaker doesn't float your boat you may wanna try K3B (Its KDE so apt will have to install quite a few other libraries on your machine to use it, but its a bit fancier than gnomebaker).
If you're on Feisty and have an nVidia or ATi card there's a utility to install the restricted drivers automagically. If you're on something older than Feisty I'd recommend you upgrade/reinstall - its worth it!
Thanks, these sites really helped a lot and answered my questions, but the last one also brought up one little one: in the second example the programmer used
File.open('game', 'w+') do |f|
What does the string
'w+'
do and
|f|
do please? Thanks once again for any help.
"w+" is a mode string; it truncates the file (or creates a new one if it doesn't exist)
|f| is a block. Basically it means that in the following code f refers to the file.
A quick example of a simple block:
>> 5.times do |i|
?> puts i.to_s
>> end
0
1
2
3
4
=> 5
Hey, I'm learning Ruby and I've just about got it sorted. I have just one (or maybe more) question(s): What is marshal.dump and does it allow you to save data to a file outside of the Ruby program? If not, how do I create saved data (ie. character attributes inside a text-based game)? Thanks for answers!
For some reason the rubycentral site seems to be down so the original article I'd link to isn't available, however it's in the google cache.
Hi all,
I am writing a web interface which uses a MSSQL Server 2000 database. I have checked and double checked all permissions and can't find any problems but when I run a
select * from sales
I get the 'Permission denied for `sales` database `dbasename` database owner `sqluser`
I connect with the string
mssql_connect("server","sqluser","passwd");
and this connects fine, so I am attempting to select all the components from a table that the user I connect with owns. As a sideline, I can create tables, but cannot read them in any way.
Any advice would be appreciated.
Thanks
try
grant select on sales to sqluser
If you look up the grant function on msdn you can finely tune the privileges for each table/database/user/whatever.
Actually it doesn't look like it; it seems to be rather entrenched in Windows.
I'm downloading this podcast (god i hate that word) - apparently it gives an insight into DRM decisions.
Linkage : http://backstage.bbc.co.uk/news/archives/2007/02/bbc_backstage_p_1.html
BBC to release their software for the Mac as reported by ars technica:
Hi everyone,
What is the difference between UNIQUE and DISTINCT? It seems that they do the same thing.
Thanks,
Nick
UNIQUE is a constraint applied to tables that ensures that all values in the given columns are unique. If you try to insert a existing value the you will get an error (along the lines of 'insert violates unique constraint').
The DISTINCT command is used to return one instance of each value, for example if you have a table of names
select * from names;
forename
--------
Joe
Rory
David
Lee
Joe
Andrew
Andrew
David
select distinct forename from names;
forename
--------
Joe
Rory
David
Lee
Andrew
Hello!
What is the greatest website you have ever seen, which shows using of Web 2.0 features?
Can you give me your tips?
Thanks!
Wojtek
Yahoo pipes takes some beating.
Uh, oh it would appear there is already a good ruby on rails PMS here: http://www.basecamphq.com/
The rails framework is based on Basecamp
Is there anyway I can type wget command into a php and that will download file directly from another server to my own server?
<?php
$foo = system('wget http://www.myserver.com/file.txt ~',$output);
?>
thanx buddy for quick reply,
now i am explaning you the whole scenario.what i have done is ,i have a sample form with collection_select on it with multiple true(suppose five values).on submit selected values goes into database(suppose two) coreesponding to particular id.now when i again open the page i want the values from database comes as selected(two values that are coming from database as highlighted or selected).and thanx for all your help till now and in future.
Ah - I see what you mean now.
Try something like this (for this i'm assuming a person has many jobs):
<%= collection_select
:person,
:job_ids,
Job.find(:all),
:id,
:description,
{},
:multiple => true,
:name => 'person[job_ids][]'
%>
nice. i cant stand the suse "slab" menu though
I've been using gimmie the last few days and it seems pretty decent
Can you run WMP with DRM under Cedega?
Actually it doesn't look like it; it seems to be rather entrenched in Windows.
I'm downloading this podcast (god i hate that word) - apparently it gives an insight into DRM decisions.
Linkage : http://backstage.bbc.co.uk/news/archives/2007/02/bbc_backstage_p_1.html
can we use collection_select with :selected option if yes ,plz let me know.if not than plz tell me how to use select instead of collection_select and where to write query in select if i dont want to find all records.
thnx in advance.
You need to give more information. What do you want to be selected and when?
If you want a default value put
t.column :favourite_colour_id, :integer, :default => 1
in your migration.
If you are loading an existing record (for editing) the correct value should already be selected in the select box.
If you are still stuck please paste your controller and view code.
hi
how can count a text , image , button etc on a paticular page with watir.
plzzz help methanks & regards
atul
ie.form(:index, 1).images.count
Can't test it don't have a Windows machine handy
its no change anyway as it was all in realmedia before which is a pain for linux
As far as I know the news reports and stuff on the websites are still in both real media or wmp formats.
I signed up as a beta tester for BBC's iMP to be told no linux or mac support as of yet due do DRM. Channel 4's 4oD service just says my system is not suitable as per the screengrab.
I know I could install IE using Wine, or VMWare or whatever but to be honest I can't be arsed. I pay my licence fee and I'm not jumping through hoops to get my match of the day (which I miss every week cos they televise it at 11pm on a Saturday night when I'm usually at the pub and at 8:30am Sunday morning when I'm sleeping off last night's antics).